First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 34183
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 25299
Assigned To: GCC Porting Team <gcc-porting@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tom Martin (RETIRED) <slarti@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 34183 depends on: Show dependency tree
Bug 34183 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-11-23 06:39 0000
!!! ERROR: media-libs/libvorbis-1.0.1 failed.
!!! Function src_compile, Line 56, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.emerge media-libs/libvorbis-1.0.1
2.
3.

Actual Results:  
!!! ERROR: media-libs/libvorbis-1.0.1 failed.
!!! Function src_compile, Line 56, Exitcode 2
!!! (no error message)

Expected Results:  
Compile :P

GCC output:

/usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.2/../../../../i486-pc-linux-gnu/bin/ld:
Warning: size of symbol `__stack_smash_handler' changed from 611 in
/usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS) to 571 in
collect2: ld returned 1 exit status
make[1]: *** [decoder_example] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/lib/libc.a(ssp.o)(.bss+0x0): multiple definition of `__guard'
/usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.bss+0x0):/var/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2021:
first defined here
/usr/lib/libc.a(ssp.o)(.text+0x80): In function `__stack_smash_handler':
: multiple definition of `__stack_smash_handler'
/usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x80):/var/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2036:
first defined here
/usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.2/../../../../i486-pc-linux-gnu/bin/ld:
Warning: size of symbol `__stack_smash_handler' changed from 611 in
/usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS) to 571 in
collect2: ld returned 1 exit status
make[1]: *** [encoder_example] Error 1
make[1]: Leaving directory
`/var/tmp/portage/libvorbis-1.0.1/work/libvorbis-1.0.1/examples'
make: *** [all-recursive] Error 1
 
!!! ERROR: media-libs/libvorbis-1.0.1 failed.
!!! Function src_compile, Line 56, Exitcode 2
!!! (no error message)

----------------------------------

emerge info:

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9,
2.6.0-test9-mm2)=================================================================
System uname: 2.6.0-test9-mm2 i686 AMD Athlon(TM) XP 2400+
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -Os -msse -pipe -fomit-frame-pointer -fforce-addr
-falign-functions -falign-labels -falign-loops -falign-jumps -fstack-protector
-mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -msse -pipe -fomit-frame-pointer -fforce-addr
-falign-functions -falign-labels -falign-loops -falign-jumps -fstack-protector
-mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm crypt encode foomaticdb gif libg++ mad mikmod nls pdflib xmms
xv zlib gdbm berkdb slang readline aalib ggi tcltk gpm tcpd pam perl gtk X gtk2
gnome alsa mmx 3dnow sse -motif -arts avi bonobo cdr cups dvd esd evo fbcon gb
imlib joystick jpeg -kde -qt libwww mozilla mpeg ncurses png opengl oggvorbis
python quicktime samba sdl truetype svga ssl spell usb xml2"

------------------------------

I hope this isn't a dupe, the search function in the New Bug wizard didn't seem
to be working (it wouldn't accept my keyboard input)

------- Comment #1 From Martin Holzer (RETIRED) 2003-11-23 06:44:41 0000 -------
why does it use i486 ?

------- Comment #2 From Tom Martin (RETIRED) 2003-11-23 10:04:30 0000 -------
When I was setting up my make.conf before bootstrap the last time I installed,
I accidentally missed the CHOST variable, but I only realized after emerge
system. I've been using the same GCC from then with no trouble at all, and
everything has compiled fine (even older versions of libvorbis). I'm reemerging
GCC now and hopefully it will get CHOST ok. Then I will try libvorbis and see
if it will compile this time around.

------- Comment #3 From Howard B. Golden 2003-11-23 11:42:21 0000 -------
I get the same error (except for i686 instead of i486):

gcc -O20 -ffast-math -D_REENTRANT -fsigned-char -mcpu=athlon-xp -O2 -pipe -fstack-protector -DUSE_MEMORY_H -static -o decoder_example decoder_example.o  ../lib/.libs/libvorbis.a -L/usr/lib -lm /usr/lib/libogg.a
/usr/lib/libc.a(ssp.o)(.bss+0x0): multiple definition of `__guard'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.bss+0x0):/var/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2021: first defined here
/usr/lib/libc.a(ssp.o)(.text+0x80): In function `__stack_smash_handler':
: multiple definition of `__stack_smash_handler'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x90):/var/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2036: first defined here
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `__stack_smash_handler' changed from 728 in /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS) to 559 in
collect2: ld returned 1 exit status
make[1]: *** [decoder_example] Error 1
make[1]: Leaving directory `/var/tmp/portage/libvorbis-1.0.1/work/libvorbis-1.0.1/examples'
make: *** [all-recursive] Error 1

-------------------------------------------------------

NOTE: I recompiled successfully WITHOUT -fstack-protector in CFLAGS.

------- Comment #4 From Martin Holzer (RETIRED) 2003-11-23 12:22:16 0000 -------
seems to be a gcc bug, i don't have to problem with gcc 2.95

------- Comment #5 From Nick Fish 2003-11-23 16:38:48 0000 -------
I am using hardened-gcc.  This bug only occurs for me when I have propolice
enabled.  Disabling propolice allows the build to complete successfully.

------- Comment #6 From Martin Holzer (RETIRED) 2003-11-23 23:51:21 0000 -------
guys drop down your CFLAGS and try again

something like "i686 -O3"

------- Comment #7 From solar 2003-11-24 06:34:36 0000 -------

*** This bug has been marked as a duplicate of 25299 ***

First Last Prev Next    No search results available      Search page      Enter new bug