Softfloat in glibc is broken. For me, this directly applies to PPC but other arches without fpu seem also affected. This is described in bug http://sourceware.org/bugzilla/show_bug.cgi?id=2749 Patches are already available. Perhaps thinking about adding this to the gcc ebuild.
glibc-2.3.6 should work ... lemme know when upstream gets this fixed in 2.4 so i can revisit cutting patches
Created attachment 98207 [details] glibc.log.gz
Created attachment 98208 [details] info.log.gz
I gave it a try with glibc-2.3.6-r4, but I'm getting an error that some symbols are already defined. Here are the last lines from src-compile: powerpc-softfloat-linux-gnu-gcc ../sysdeps/unix/sysv/linux/getpeername.S -c -I../include -I. -I/var/tmp/cross/powerpc-softfl oat-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-powerpc-softfloat-linux-gnu-nptl/socket -I.. -I../libio -I../nptl -I/ var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-powerpc-softfloat-linux-gnu-nptl -I../sys deps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf -I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../nptl/sysdeps/uni x/sysv/linux/powerpc -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/ sysv -I../nptl/sysdeps/unix -I../nptl/sysdeps/powerpc -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/uni x/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I../sysdeps/unix -I../sysdeps/posix -I../sysd eps/powerpc/powerpc32 -I../sysdeps/wordsize-32 -I../sysdeps/powerpc/soft-fp -I../sysdeps/powerpc/nofpu -I../sysdeps/powerpc - I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -no stdinc -isystem /usr/lib/gcc/powerpc-softfloat-linux-gnu/3.4.6/include -isystem /usr/powerpc-softfloat-linux-gnu/usr/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DASSEMBLER -Wa,--noexecstack -Wa,--noexecstac k -o /var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-powerpc-softfloat-linux-gnu-nptl/s ocket/getpeername.o -MD -MP -MF /var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-powerpc- softfloat-linux-gnu-nptl/socket/getpeername.o.dt -MT /var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/b uild-default-powerpc-softfloat-linux-gnu-nptl/socket/getpeername.o ../sysdeps/unix/sysv/linux/bind.S: Assembler messages: ../sysdeps/unix/sysv/linux/bind.S:5: Error: symbol `__bind' is already defined make[2]: *** [/var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-powerpc-softfloat-linux-gn u-nptl/socket/bind.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/glibc-2.3.6/socket' make[1]: *** [socket/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/cross/powerpc-softfloat-linux-gnu/portage/glibc-2.3.6-r4/work/glibc-2.3.6' make: *** [all] Error 2 !!! ERROR: cross-powerpc-softfloat-linux-gnu/glibc-2.3.6-r4 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile glibc-2.3.6-r4.ebuild, line 1126: Called src_compile glibc-2.3.6-r4.ebuild, line 1137: Called toolchain-glibc_src_compile glibc-2.3.6-r4.ebuild, line 224: Called die For further Information, see attachments...
that is a different issue and it occurs when using binutils-2.17 ive fixed in cvs and it'll be in glibc-2.3.6-r5