Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 34125
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 25299
Assigned To: Alexander Gabert (RETIRED) <pappy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stephane Loeuillet <leroutier@gmail.com>
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 34125 depends on: Show dependency tree
Bug 34125 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-22 11:26 0000
additionaly to the compilation problem, it seems it uses an old/deprecated
syntax for the 'head' tool as seen in warnings :

head: option 

------- Comment #1 From Stephane Loeuillet 2003-11-22 11:26:25 0000 -------
additionaly to the compilation problem, it seems it uses an old/deprecated
syntax for the 'head' tool as seen in warnings :

head: option « -1 » est obsolète; utiliser « -n 1 »
Pour en savoir davantage, faites: « head --help ».

Reproducible: Always
Steps to Reproduce:
1. emerge dietlibc
2.
3.

Actual Results:  
ar cru bin-i386/libpthread.a bin-i386/pthread_atfork.o
bin-i386/pthread_attr_getdetachstate.o bin-i386/pthread_attr_getinheritsched.o
bin-i386/pthread_attr_getschedparam.o bin-i386/pthread_attr_getschedpolicy.o
bin-i386/pthread_attr_getscope.o bin-i386/pthread_attr_getstackaddr.o
bin-i386/pthread_attr_getstacksize.o bin-i386/pthread_attr_setdetachstate.o
bin-i386/pthread_attr_setinheritsched.o bin-i386/pthread_attr_setschedparam.o
bin-i386/pthread_attr_setschedpolicy.o bin-i386/pthread_attr_setscope.o
bin-i386/pthread_attr_setstackaddr.o bin-i386/pthread_attr_setstacksize.o
bin-i386/pthread_cleanup.o bin-i386/pthread_condattr_getshared.o
bin-i386/pthread_condattr_setshared.o bin-i386/pthread_cond_broadcast.o
bin-i386/pthread_cond_destroy.o bin-i386/pthread_cond_init.o
bin-i386/pthread_cond_signal.o bin-i386/pthread_cond_timedwait.o
bin-i386/pthread_cond_wait.o bin-i386/pthread_create.o bin-i386/pthread_detach.o
bin-i386/pthread_dns_cruft.o bin-i386/pthread_equal.o bin-i386/pthread_errno.o
bin-i386/pthread_fdglue2.o bin-i386/pthread_fflush.o bin-i386/pthread_fgetc.o
bin-i386/pthread_flockfile.o bin-i386/pthread_fputc.o
bin-i386/pthread_funlockfile.o bin-i386/pthread_internal.o
bin-i386/pthread_join.o bin-i386/pthread_key.o bin-i386/pthread_kill.o
bin-i386/pthread_mutexattr_getkind_np.o bin-i386/pthread_mutexattr_init.o
bin-i386/pthread_mutexattr_setkind_np.o bin-i386/pthread_mutex_destroy.o
bin-i386/pthread_mutex_init.o bin-i386/pthread_mutex_lock.o
bin-i386/pthread_mutex_trylock.o bin-i386/pthread_mutex_unlock.o
bin-i386/pthread_self.o bin-i386/pthread_semaphore_destroy.o
bin-i386/pthread_semaphore_getvalue.o bin-i386/pthread_semaphore_init.o
bin-i386/pthread_semaphore_misc.o bin-i386/pthread_semaphore_post.o
bin-i386/pthread_semaphore_trywait.o bin-i386/pthread_semaphore_wait.o
bin-i386/pthread_setcancelstate.o bin-i386/pthread_setschedparam.o
bin-i386/pthread_sigaction.o bin-i386/pthread_sigmask.o
bin-i386/pthread_spinlock.o bin-i386/pthread_sys_alloc.o
bin-i386/pthread_sys_close.o bin-i386/pthread_sys_create.o
bin-i386/pthread_sys_fcntl.o bin-i386/pthread_sys_fdatasync.o
bin-i386/pthread_sys_fsync.o bin-i386/pthread_sys_logging.o
bin-i386/pthread_sys_msync.o bin-i386/pthread_sys_nanosleep.o
bin-i386/pthread_sys_open.o bin-i386/pthread_sys_pause.o
bin-i386/pthread_sys_read.o bin-i386/pthread_sys_sigsuspend.o
bin-i386/pthread_sys_sleep.o bin-i386/pthread_sys_tcdrain.o
bin-i386/pthread_sys_waitpid.o bin-i386/pthread_sys_write.o bin-i386/__testandset.o
head: option « -1 » est obsolète; utiliser « -n 1 »
Pour en savoir davantage, faites: « head --help ».
gcc -Iinclude -march=athlon-xp -O3 -pipe -fomit-frame-pointer -nostdlib -o
bin-i386/diet bin-i386/start.o bin-i386/dyn_start.o diet.c bin-i386/dietlibc.a
bin-i386/dyn_stop.o
-DDIETHOME=\"/usr/portage/tmp/portage/dietlibc-0.24/work/dietlibc-0.24\"
-DVERSION=\"dietlibc-\" -lgcc
head: option « -1 » est obsolète; utiliser « -n 1 »
Pour en savoir davantage, faites: « head --help ».
gcc -Iinclude -march=athlon-xp -O3 -pipe -fomit-frame-pointer -nostdlib -o
bin-i386/diet-i bin-i386/start.o bin-i386/dyn_start.o diet.c bin-i386/dietlibc.a
bin-i386/dyn_stop.o -DDIETHOME=\"/usr/diet\" -DVERSION=\"dietlibc-\"
-DINSTALLVERSION -lgcc
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x6f):
dans la fonction « __guard_setup »:
/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2027:
undefined reference to `close'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0xd9):
dans la fonction « __stack_smash_handler »:
/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2050:
undefined reference to `sigfillset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0xea):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2051:
undefined reference to `sigdelset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x100):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2052:
undefined reference to `sigprocmask'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x118):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2058:
undefined reference to `__progname'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x12c):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2058:
undefined reference to `strncat'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x1b6):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2066:
undefined reference to `socket'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x1f2):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2072:
undefined reference to `strncpy'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x225):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2075:
undefined reference to `sendto'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x244):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2084:
undefined reference to `memset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x252):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2085:
undefined reference to `sigfillset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x27b):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2088:
undefined reference to `sigaction'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x280):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2089:
undefined reference to `getpid'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x28c):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2089:
undefined reference to `kill'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x2b7):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2092:
undefined reference to `strncat'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x327):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2061:
undefined reference to `strncat'
collect2:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x6f):
dans la fonction « __guard_setup »:
/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2027:
undefined reference to `close'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0xd9):
dans la fonction « __stack_smash_handler »:
/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2050:
undefined reference to `sigfillset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0xea):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2051:
undefined reference to `sigdelset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x100):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2052:
undefined reference to `sigprocmask'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x118):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2058:
undefined reference to `__progname'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x12c):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2058:
undefined reference to `strncat'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x1b6):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2066:
undefined reference to `socket'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x1f2):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2072:
undefined reference to `strncpy'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x225):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2075:
undefined reference to `sendto'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x244):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2084:
undefined reference to `memset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x252):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2085:
undefined reference to `sigfillset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x27b):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2088:
undefined reference to `sigaction'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x280):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2089:
undefined reference to `getpid'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x28c):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2089:
undefined reference to `kill'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x2b7):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2092:
undefined reference to `strncat'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x327):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2061:
undefined reference to `strncat'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [bin-i386/diet-i] Erreur 1
make: *** Attente des tâches non terminées....
ld a retourné 1 code d'état d'exécution
make: *** [bin-i386/diet] Erreur 1
 
!!! ERROR: dev-libs/dietlibc-0.24 failed.
!!! Function src_compile, Line 40, Exitcode 2
!!! emake failed


Expected Results:  
compiled flawlessly

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
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 /var/bind /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox buildpkg userpriv strict digest"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="-ppc nls gtk -wavelan -freewnn tcpd -sparc -selinux oss -zeo jpeg -3dfx
opengl -xosd -matrox -informix -gb ethereal apm -bindist -nocd gdbm cups xv
oggvorbis -scanner ncurses -gpm -arts samba java usb -qt -nas pdflib -fbcon
flash -snmp mikmod apache2 gif -emacs -afs spell ldap -lirc -junit -fastcgi -gps
-pcmcia -maildir -wxwindows -xinerama gtkhtml -pnp ipv6 libwww gtk2 -mcal
-memlimit encode libgda gnomedb -oci8 -jack foomaticdb -atlas sdl X berkdb svga
-ruby -imap png -firebird ppds -Xaw3d -guile evo truetype gstreamer -odbc xml2
pam gd innodb -ev6 gphoto2 doc -debug python -kerberos -jikes -mbox -lcms -krb4
-dedicated zlib -motif cdr videos slang -kde mysql -voodoo3 -imlib -directfb
-static avi -curl -acl -hppa -trusted postgres plotutils -cjk -prelude mpeg
-alpha -icc crypt -wmf -arm dvdr esd libg++ -build -leim sse -freetds -tcltk
-xface acpi -alsa -canna xml -dga mmx -tetex -ladcca x86 tiff -aalib -mule perl
quicktime mad -nocardbus -slp readline -mpi -ggi 3dnow -nhc98 mozilla -cscope
gnome ssl -mips dvd -bootstrap -socks5 -dvb -xmms sasl joystick bonobo pda
threads snmp tetex"

------- Comment #2 From Mr. Bones. 2003-11-22 13:13:49 0000 -------
Give it 30 minutes, then resync and try it again.

------- Comment #3 From Stephane Loeuillet 2003-11-22 17:43:18 0000 -------
waited several hours, did a emerge sync then i retried to emerge dietlibc,
still  breaks but now on gcc, not ar :

gcc -Iinclude -march=athlon-xp -O3 -pipe -fomit-frame-pointer -nostdlib -o
bin-i386/diet-i bin-i386/start.o bin-i386/dyn_start.o diet.c
bin-i386/dietlibc.a bin-i386/dyn_stop.o -DDIETHOME=\"/usr/diet\"
-DVERSION=\"dietlibc-0.24\" -DINSTALLVERSION -lgcc
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x6f):
dans la fonction 

------- Comment #4 From Stephane Loeuillet 2003-11-22 17:43:18 0000 -------
waited several hours, did a emerge sync then i retried to emerge dietlibc,
still  breaks but now on gcc, not ar :

gcc -Iinclude -march=athlon-xp -O3 -pipe -fomit-frame-pointer -nostdlib -o
bin-i386/diet-i bin-i386/start.o bin-i386/dyn_start.o diet.c
bin-i386/dietlibc.a bin-i386/dyn_stop.o -DDIETHOME=\"/usr/diet\"
-DVERSION=\"dietlibc-0.24\" -DINSTALLVERSION -lgcc
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x6f):
dans la fonction « __guard_setup »:
/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2027:
undefined reference to `close'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0xd9):
dans la fonction « __stack_smash_handler »:
/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2050:
undefined reference to `sigfillset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0xea):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2051:
undefined reference to `sigdelset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x100):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2052:
undefined reference to `sigprocmask'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x118):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2058:
undefined reference to `__progname'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x12c):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2058:
undefined reference to `strncat'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x1b6):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2066:
undefined reference to `socket'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x1f2):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2072:
undefined reference to `strncpy'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x225):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2075:
undefined reference to `sendto'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x244):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2084:
undefined reference to `memset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x252):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2085:
undefined reference to `sigfillset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x27b):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2088:
undefined reference to `sigaction'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x280):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2089:
undefined reference to `getpid'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x28c):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2089:
undefined reference to `kill'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x2b7):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2092:
undefined reference to `strncat'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x327):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2061:
undefined reference to `strncat'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [bin-i386/diet-i] Erreur 1
make: *** Attente des tâches non terminées....
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x6f):
dans la fonction « __guard_setup »:
/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2027:
undefined reference to `close'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0xd9):
dans la fonction « __stack_smash_handler »:
/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2050:
undefined reference to `sigfillset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0xea):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2051:
undefined reference to `sigdelset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x100):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2052:
undefined reference to `sigprocmask'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x118):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2058:
undefined reference to `__progname'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x12c):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2058:
undefined reference to `strncat'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x1b6):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2066:
undefined reference to `socket'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x1f2):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2072:
undefined reference to `strncpy'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x225):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2075:
undefined reference to `sendto'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x244):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2084:
undefined reference to `memset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x252):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2085:
undefined reference to `sigfillset'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x27b):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2088:
undefined reference to `sigaction'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x280):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2089:
undefined reference to `getpid'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x28c):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2089:
undefined reference to `kill'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x2b7):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2092:
undefined reference to `strncat'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc.a(_stack_smash_handler.oS)(.text+0x327):/usr/portage/tmp/portage/gcc-3.3.2-r2/work/gcc-3.3.2/gcc/libgcc2.c:2061:
undefined reference to `strncat'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [bin-i386/diet] Erreur 1

!!! ERROR: dev-libs/dietlibc-0.24 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! emake failed

i also had the same kind of problem compiling libvorbis :


gcc -O20 -ffast-math -D_REENTRANT -fsigned-char -march=athlon-xp -O3 -pipe
-fomit-frame-pointer -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):/usr/portage/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):/usr/portage/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
562 in
collect2: ld returned 1 exit status
make[1]: *** [decoder_example] Erreur 1
make[1]: *** Attente des tâches non terminées....
gcc -O20 -ffast-math -D_REENTRANT -fsigned-char -march=athlon-xp -O3 -pipe
-fomit-frame-pointer -DUSE_MEMORY_H -static -o encoder_example
encoder_example.o  ../lib/.libs/libvorbisenc.a
/usr/portage/tmp/portage/libvorbis-1.0.1/work/libvorbis-1.0.1/lib/.libs/libvorbis.a
-L/usr/lib ../lib/.libs/libvorbis.a -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):/usr/portage/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):/usr/portage/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
562 in
collect2: ld returned 1 exit status
make[1]: *** [encoder_example] Erreur 1
make[1]: Leaving directory
`/usr/portage/tmp/portage/libvorbis-1.0.1/work/libvorbis-1.0.1/examples'
make: *** [all-recursive] Erreur 1

!!! ERROR: media-libs/libvorbis-1.0.1 failed.
!!! Function src_compile, Line 56, Exitcode 2
!!! (no error message)
so, is it a gcc problem, a problem with my CFLAGS ? my glibc ?

------- Comment #5 From Mr. Bones. 2003-11-22 17:53:55 0000 -------
It's very difficult for me to help you with your error messages in french.
Can you try it with LANG=C please?

------- Comment #6 From Stephane Loeuillet 2003-11-22 19:07:43 0000 -------
the only things i see in french in this bug report are :

LANG="C" head -1
head: `-1' option is obsolete; use `-n 1'
Try `head --help' for more information.

dans la fonction 

------- Comment #7 From Stephane Loeuillet 2003-11-22 19:07:43 0000 -------
the only things i see in french in this bug report are :

LANG="C" head -1
head: `-1' option is obsolete; use `-n 1'
Try `head --help' for more information.

dans la fonction « __guard_setup »: => in function << ... >>:

any clue about the source of those problems ?

------- Comment #8 From Mr. Bones. 2003-11-22 19:21:36 0000 -------
The head -1 issue is fixed in CVS.  That's not the problem.  I can't
tell what the issue is with the rest of the build.  It works fine for me.
I'm guessing that it's a gcc 3.3 issue, but I'm not sure.  Are you
able to try it with a different version of gcc?

------- Comment #9 From Stephane Loeuillet 2003-11-24 02:51:35 0000 -------
found a related bug :
http://bugs.gentoo.org/show_bug.cgi?id=34183

seems related to propolice/hardened-gcc

bug list containing "stack_smash_handler.oS" in comments :
http://bugs.gentoo.org/buglist.cgi?query_format=&short_desc_type=allwordssubstr&short_desc=&long_desc_type=allwordssubstr&long_desc=stack_smash_handler.oS&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=

------- Comment #10 From Alexander Gabert (RETIRED) 2003-11-24 13:18:29 0000 -------
i take this bug

pappy

------- Comment #11 From Alexander Gabert (RETIRED) 2003-12-13 02:48:05 0000 -------
can you emerge to the latest glibc/gcc and try to reinstall dietlibc again?

TIA,

Alex

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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug