public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/41025]  New: v4.3.3, 4.4.1, etc -ftracer sometimes fails by "is already defined"
@ 2009-08-10 12:35 mahatma at eu dot by
  2009-09-20 22:10 ` [Bug target/41025] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: mahatma at eu dot by @ 2009-08-10 12:35 UTC (permalink / raw)
  To: gcc-bugs

-ftracer on various gcc versions sometimes gives "is already defined" error on
build. Was on glibc (x86_*) & linux kernel (x86_64), but now git-kernel build
good and I not going deep. Only glibc 2.10.1 log tail:
===
[...]
i686-pc-linux-gnu-gcc ../sysdeps/unix/sysv/linux/dl-execstack.c -c -std=gnu99
-fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants
-fno-strict-aliasing -pipe -Wstrict-prototypes -mpreferred-stack-boundary=2 
-fPIC -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES    -I../include
-I/var/tmp/portage/sys-libs/glibc-2.10.1/work/build-default-i686-pc-linux-gnu-nptl/elf
-I/var/tmp/portage/sys-libs/glibc-2.10.1/work/build-default-i686-pc-linux-gnu-nptl
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
-I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv
-I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686
-I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486
-I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl  -I.. -I../libio -I.
-nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include -isystem
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include-fixed -isystem /usr/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED
-DNOT_IN_libc=1 -DIS_IN_rtld=1     -pipe -fomit-frame-pointer -ftracer
-U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -o
/var/tmp/portage/sys-libs/glibc-2.10.1/work/build-default-i686-pc-linux-gnu-nptl/elf/dl-execstack.os
-MD -MP -MF
/var/tmp/portage/sys-libs/glibc-2.10.1/work/build-default-i686-pc-linux-gnu-nptl/elf/dl-execstack.os.dt
-MT
/var/tmp/portage/sys-libs/glibc-2.10.1/work/build-default-i686-pc-linux-gnu-nptl/elf/dl-execstack.os 
../sysdeps/unix/sysv/linux/dl-execstack.c: Assembler messages:
../sysdeps/unix/sysv/linux/dl-execstack.c:163: Error: symbol
`__i686.get_pc_thunk.cx' is already defined
make[2]: ***
[/var/tmp/portage/sys-libs/glibc-2.10.1/work/build-default-i686-pc-linux-gnu-nptl/elf/dl-execstack.os]
Error 1
make[2]: Leaving directory
`/var/tmp/portage/sys-libs/glibc-2.10.1/work/glibc-2.10.1/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory
`/var/tmp/portage/sys-libs/glibc-2.10.1/work/glibc-2.10.1'
make: *** [all] Error 2
===


-- 
           Summary: v4.3.3, 4.4.1, etc -ftracer sometimes fails by "is
                    already defined"
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mahatma at eu dot by
  GCC host triplet: i686-pc-linux-gnu-gcc, x86_64-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/41025] v4.3.3, 4.4.1, etc -ftracer sometimes fails by "is already defined"
  2009-08-10 12:35 [Bug c/41025] New: v4.3.3, 4.4.1, etc -ftracer sometimes fails by "is already defined" mahatma at eu dot by
@ 2009-09-20 22:10 ` pinskia at gcc dot gnu dot org
  2009-09-21 13:08 ` mahatma at eu dot by
  2009-09-21 13:12 ` mahatma at eu dot by
  2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-09-20 22:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-09-20 22:10 -------
Can you provide the preprocessed source?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
          Component|c                           |target


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/41025] v4.3.3, 4.4.1, etc -ftracer sometimes fails by "is already defined"
  2009-08-10 12:35 [Bug c/41025] New: v4.3.3, 4.4.1, etc -ftracer sometimes fails by "is already defined" mahatma at eu dot by
  2009-09-20 22:10 ` [Bug target/41025] " pinskia at gcc dot gnu dot org
@ 2009-09-21 13:08 ` mahatma at eu dot by
  2009-09-21 13:12 ` mahatma at eu dot by
  2 siblings, 0 replies; 5+ messages in thread
From: mahatma at eu dot by @ 2009-09-21 13:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mahatma at eu dot by  2009-09-21 13:08 -------
(In reply to comment #1)
> Can you provide the preprocessed source?
> 

Yes. After make/error:
http://mahatma.bspu.unibel.by/download/transit/glibc-2.10.1-error.tar.bz2
(gentoo flavored, sorry)

New info: it happened on -O2 or -O3, and never on -Os".

Also I found how to get same on linux kernel x86_64: "make defconfig", but
remove "optimize for size" (CONFIG_CC_OPTIMIZE_FOR_SIZE) and add -ftracer. My
working config do not produce this. Next I attaching Makefile. You will need
only "make defconfig && make all" on x86_64 for vanilla 2.6.31 kernel (IMHO
simpler then glibc).


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/41025] v4.3.3, 4.4.1, etc -ftracer sometimes fails by "is already defined"
  2009-08-10 12:35 [Bug c/41025] New: v4.3.3, 4.4.1, etc -ftracer sometimes fails by "is already defined" mahatma at eu dot by
  2009-09-20 22:10 ` [Bug target/41025] " pinskia at gcc dot gnu dot org
  2009-09-21 13:08 ` mahatma at eu dot by
@ 2009-09-21 13:12 ` mahatma at eu dot by
  2 siblings, 0 replies; 5+ messages in thread
From: mahatma at eu dot by @ 2009-09-21 13:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mahatma at eu dot by  2009-09-21 13:12 -------
Created an attachment (id=18623)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18623&action=view)
linux-2.6.31 deconfig x86_64 error


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/41025] v4.3.3, 4.4.1, etc -ftracer sometimes fails by "is already defined"
       [not found] <bug-41025-4@http.gcc.gnu.org/bugzilla/>
@ 2013-11-10  8:15 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-11-10  8:15 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
No preprocessed source in 4 years so closing.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-10  8:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-10 12:35 [Bug c/41025] New: v4.3.3, 4.4.1, etc -ftracer sometimes fails by "is already defined" mahatma at eu dot by
2009-09-20 22:10 ` [Bug target/41025] " pinskia at gcc dot gnu dot org
2009-09-21 13:08 ` mahatma at eu dot by
2009-09-21 13:12 ` mahatma at eu dot by
     [not found] <bug-41025-4@http.gcc.gnu.org/bugzilla/>
2013-11-10  8:15 ` pinskia at gcc dot gnu.org

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).