public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "aldot at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/35034] assembler errors when building gcc/unwind-*.c at -O0 or -O1
Date: Wed, 30 Jan 2008 23:16:00 -0000	[thread overview]
Message-ID: <20080130225653.8154.qmail@sourceware.org> (raw)
In-Reply-To: <bug-35034-11811@http.gcc.gnu.org/bugzilla/>



------- Comment #1 from aldot at gcc dot gnu dot org  2008-01-30 22:56 -------
Works with -O2, fails with -O0, -O1, -O2 -fno-inline

-O0:
$ /scratch/obj.i686/gcc-4.3/./gcc/xgcc -B/scratch/obj.i686/gcc-4.3/./gcc/
-B/opt/i686/gcc-4.3//i686-linux-gnu/bin/
-B/opt/i686/gcc-4.3//i686-linux-gnu/lib/ -isystem
/opt/i686/gcc-4.3//i686-linux-gnu/include -isystem
/opt/i686/gcc-4.3//i686-linux-gnu/sys-include   -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../.././gcc
-I../../../../src/gcc-4.3/libgcc -I../../../../src/gcc-4.3/libgcc/.
-I../../../../src/gcc-4.3/libgcc/../gcc
-I../../../../src/gcc-4.3/libgcc/../include
-I../../../../src/gcc-4.3/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS -DUSE_TLS -o lib2addeh_static_onestep.o -MT
lib2addeh_static_onestep.o -MD -MP -MF lib2addeh_static_onestep.dep
-fexceptions -combine ../../../../src/gcc-4.3/libgcc/../gcc/emutls.c
../../../../src/gcc-4.3/libgcc/../gcc/gthr-gnat.c
../../../../src/gcc-4.3/libgcc/../gcc/unwind-c.c
../../../../src/gcc-4.3/libgcc/../gcc/unwind-dw2-fde-glibc.c
../../../../src/gcc-4.3/libgcc/../gcc/unwind-dw2.c
../../../../src/gcc-4.3/libgcc/../gcc/unwind-sjlj.c -fvisibility=hidden
-DHIDE_EXPORTS -c -O0
/tmp/ccidDTzT.s: Assembler messages:
/tmp/ccidDTzT.s:5738: Error: symbol `size_of_encoded_value' is already defined
/tmp/ccidDTzT.s:5889: Error: symbol `read_uleb128' is already defined
/tmp/ccidDTzT.s:5932: Error: symbol `read_sleb128' is already defined
/tmp/ccidDTzT.s:5989: Error: symbol `read_encoded_value_with_base' is already
defined
/tmp/ccidDTzT.s:6224: Error: symbol `get_cie' is already defined
/tmp/ccidDTzT.s:6248: Error: symbol `next_fde' is already defined


-O1:
$ /scratch/obj.i686/gcc-4.3/./gcc/xgcc -B/scratch/obj.i686/gcc-4.3/./gcc/
-B/opt/i686/gcc-4.3//i686-linux-gnu/bin/
-B/opt/i686/gcc-4.3//i686-linux-gnu/lib/ -isystem
/opt/i686/gcc-4.3//i686-linux-gnu/include -isystem
/opt/i686/gcc-4.3//i686-linux-gnu/sys-include   -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../.././gcc
-I../../../../src/gcc-4.3/libgcc -I../../../../src/gcc-4.3/libgcc/.
-I../../../../src/gcc-4.3/libgcc/../gcc
-I../../../../src/gcc-4.3/libgcc/../include
-I../../../../src/gcc-4.3/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS -DUSE_TLS -o lib2addeh_static_onestep.o -MT
lib2addeh_static_onestep.o -MD -MP -MF lib2addeh_static_onestep.dep
-fexceptions -combine ../../../../src/gcc-4.3/libgcc/../gcc/emutls.c
../../../../src/gcc-4.3/libgcc/../gcc/gthr-gnat.c
../../../../src/gcc-4.3/libgcc/../gcc/unwind-c.c
../../../../src/gcc-4.3/libgcc/../gcc/unwind-dw2-fde-glibc.c
../../../../src/gcc-4.3/libgcc/../gcc/unwind-dw2.c
../../../../src/gcc-4.3/libgcc/../gcc/unwind-sjlj.c -fvisibility=hidden
-DHIDE_EXPORTS -c -O1
/tmp/ccNNdoTR.s: Assembler messages:
/tmp/ccNNdoTR.s:5207: Error: symbol `read_uleb128' is already defined
/tmp/ccNNdoTR.s:5260: Error: symbol `read_sleb128' is already defined
/tmp/ccNNdoTR.s:5329: Error: symbol `read_encoded_value_with_base' is already
defined


-- 

aldot at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|assembler errors when       |assembler errors when
                   |building gcc/unwind-*.c     |building gcc/unwind-*.c at -
                   |                            |O0 or -O1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35034


  reply	other threads:[~2008-01-30 22:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-30 22:19 [Bug c/35034] New: assembler errors when building gcc/unwind-*.c aldot at gcc dot gnu dot org
2008-01-30 23:16 ` aldot at gcc dot gnu dot org [this message]
2008-01-31 10:40 ` [Bug c/35034] assembler errors when building gcc/unwind-*.c at -O0 or -O1 rguenth at gcc dot gnu dot org
2008-01-31 12:22 ` jakub at gcc dot gnu dot org
2008-01-31 15:10 ` aldot at gcc dot gnu dot org
2008-01-31 15:12 ` [Bug c/35034] [4.3 Regression] " aldot at gcc dot gnu dot org
2008-01-31 15:19 ` [Bug c/35034] assembler errors when building gcc/unwind-*.c at -O0 or -O1 with IMA rguenth at gcc dot gnu dot org
2008-01-31 15:19 ` rguenth at gcc dot gnu dot org
2008-01-31 15:20 ` aldot at gcc dot gnu dot org
2008-01-31 15:55 ` aldot at gcc dot gnu dot org
2008-01-31 15:59 ` rguenth at gcc dot gnu dot org
2008-12-29 14:28 ` [Bug c/35034] weakref vs. -combine pinskia at gcc dot gnu dot org
2010-09-17  9:08 ` rguenth at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080130225653.8154.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).