../nptl/sysdeps/unix/sysv/linux/i386/../fork.c: In function `__libc_fork': ../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:203: error: can't find a register in class `BREG' while reloading `asm' make[2]: *** [/var/tmp/portage/glibc-2.3.5-r1/work/build-default-i686-pc-linux-gnu-nptl/posix/fork.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r1/work/glibc-2.3.5/posix' make[1]: *** [posix/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r1/work/glibc-2.3.5' make: *** [all] Error 2 Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.13-rc4-mm1 i686) ================================================================= System uname: 2.6.13-rc4-mm1 i686 AMD Athlon(tm) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -fPIC -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -fPIC -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/Linux/distributions/gentoo/ http://distro.ibiblio.org/pub/Linux/distributions/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 3dnow 3dnowex X aac acpi alsa apache2 apm avi berkdb bitmap-fonts cdr crypt cups curl dba devmap divx4linux eds emboss encode fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif gnome gstreamer gtk gtk2 gtkhtml guile hal howl imlib java jpeg kqemu libg++ libwww mad mikmod mmx mono moznoxft mp3 mpeg mysql ncurses noinfo nptl ogg oggvorbis opengl pdflib perl pic png python quicktime readline samba sdl softmmu spell sse ssl svg svga tcpd theora tiff truetype truetype-fonts type1-fonts userlocales vhosts vorbis win32codecs xine xml2 xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS Reproducible: Always Steps to Reproduce: 1.emerge glibc 2. 3. Actual Results: emerge fails
take -fPIC out of your CFLAGS
Looks like a duplicate of bug 99407.
Taking -fPIC out of my CFLAGS allowed the emerge to finish.
thanks ph, i knew there was another bug, just couldnt seem to find it *** This bug has been marked as a duplicate of 99407 ***