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]  New: assembler errors when building gcc/unwind-*.c
Date: Wed, 30 Jan 2008 22:19:00 -0000	[thread overview]
Message-ID: <bug-35034-11811@http.gcc.gnu.org/bugzilla/> (raw)

There seem to be different, conflicting implementations of
size_of_encoded_value():

dwarf2asm.c-int
dwarf2asm.c:size_of_encoded_value (int encoding)

unwind-pe.h-static unsigned int
unwind-pe.h:size_of_encoded_value (unsigned char encoding)


/scratch/obj.i686/gcc-4.3/./gcc/xgcc -B/scratch/obj.i686/gcc-4.3/./gcc/
-B/opt/i
686/gcc-4.3//i686-linux-gnu/bin/ -B/opt/i686/gcc-4.3//i686-linux-gnu/lib/
-isyst
em /opt/i686/gcc-4.3//i686-linux-gnu/include -isystem
/opt/i686/gcc-4.3//i686-li
nux-gnu/sys-include -march=pentium4 -mtune=pentium4 -Os -fno-tree-loop-optimize 
-fno-tree-dominator-opts -fno-strength-reduce -fno-branch-count-reg
-falign-func
tions=1 -falign-jumps=1 -falign-loops=1 -mpreferred-stack-boundary=2 -pipe -g3
-
ggdb3 -O2  -O2 -g -O0 -g3 -ggdb3   -DIN_GCC    -W -Wall -Wwrite-strings
-Wstrict
-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include 
-fP
IC -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
-DHAV
E_CC_TLS -DUSE_TLS -o lib2addeh_static_onestep.o -MT lib2addeh_static_onestep.o 
-MD -MP -MF lib2addeh_static_onestep.dep -fexceptions -c -combine
../../../../sr
c/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/libg
cc/../gcc/unwind-dw2-fde-glibc.c
../../../../src/gcc-4.3/libgcc/../gcc/unwind-dw
2.c ../../../../src/gcc-4.3/libgcc/../gcc/unwind-sjlj.c -fvisibility=hidden
-DHI
DE_EXPORTS
{standard input}: Assembler messages:
{standard input}:49634: Error: symbol `size_of_encoded_value' is already
defined
{standard input}:49785: Error: symbol `read_uleb128' is already defined
{standard input}:49828: Error: symbol `read_sleb128' is already defined
{standard input}:49885: Error: symbol `read_encoded_value_with_base' is already 
defined
{standard input}:50121: Error: symbol `get_cie' is already defined
{standard input}:50145: Error: symbol `next_fde' is already defined
make[3]: *** [lib2addeh_static_onestep.o] Error 1


-- 
           Summary: assembler errors when building gcc/unwind-*.c
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: assemble-failure
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aldot at gcc dot gnu dot org


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


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

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-30 22:19 aldot at gcc dot gnu dot org [this message]
2008-01-30 23:16 ` [Bug c/35034] assembler errors when building gcc/unwind-*.c at -O0 or -O1 aldot at gcc dot gnu dot org
2008-01-31 10:40 ` 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=bug-35034-11811@http.gcc.gnu.org/bugzilla/ \
    --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).