additionaly to the compilation problem, it seems it uses an old/deprecated syntax for the 'head' tool as seen in warnings : head: option
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"
Give it 30 minutes, then resync and try it again.
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
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 ?
It's very difficult for me to help you with your error messages in french. Can you try it with LANG=C please?
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
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 ?
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?
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=
i take this bug pappy
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 ***