: /var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/libc_nonshared.a gcc -nostdlib -nostartfiles -r -o /var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/libc_pic.os \ -Wl,-d -Wl,--whole-archive /var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/libc_pic.a /var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/libc_pic.a: member /var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/libc_pic.a(cfmakeraw.os) in archive is not an object collect2: ld returned 1 exit status make[1]: *** [/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/libc_pic.os] Error 1 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.3.1-r4 failed. !!! Function src_compile, Line 222, Exitcode 2 !!! (no error message) this is my emerge info rosanegra root # emerge info Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-ck6 i686 AMD Athlon(tm) processor GENTOO_MIRRORS="http://gentoo.linux.no/ http://ftp.gentoo.or.kr/ http://gentoo.gnukorea.org/ http://distro.ibiblio.org/gentoo " CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts bonobo svga java guile X sdl gpm tcpd pam ssl python esd imlib oggvorbis gnome gtk qt kde motif opengl aalib acl cdr directfb dvd fbcon gd gtkhtml mozilla moznoirc mozsvg nptl -oss perl pic samba tcltk xml" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-tbird -O3 -pipe -fomit-frame-pointer -fPIC -funroll-loops -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow" CXXFLAGS="-mcpu=athlon-tbird -O3 -pipe -fomit-frame-pointer -fPIC -funroll-loops -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -mmmx -m3dnow" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
pic in use flag is ok ! But Remove It From CFLAGS !
Without -fPIC en cflags, the same error.
try again with mcpu=athlon-tbird -O2 -pipe
Check that you have enouth disk space. Errors like these are usually due to a corrupted object, which could be caused by the object being created when disk space free is zero (or not enouth), or faulty hardware. (No, I do not say it could not be a problem with gcc/binutils/glibc, but in my experience it is usually disk/memory that runs out, or faulty memory/cpu).
I have space in my hd. With that flags, I fails compiling too
Binutils bug that should be fixed in latest stable.