Compiling GLIBC version 2.3.5-r2 runs for a while then fails with the following error: loadmsgcat.c: In function `_nl_init_domain_conv': ../sysdeps/i386/bits/string.h:655: error: can't find a register in class `GENERAL_REGS' while reloading `asm' This is on an i586 machine running 2005.1 profile. Reproducible: Always Steps to Reproduce: 1. Type "emerge -uDN system" and press enter, with the configuration listed above. Actual Results: Compile failed with the error message listed above. Expected Results: Compile completed and new glibc installed. Output of emerge info: Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12-gentoo-r10 i586) ================================================================= System uname: 2.6.12-gentoo-r10 i586 Pentium MMX Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O2 -march=i586 -fomit-frame-pointer" CHOST="i386-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="-O2 -march=i586 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo ftp://gentoo.risq.qc.ca/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/ http://gentoo.mirrored.ca/ ftp://gentoo.mirrored.ca/" LANG="en_CA.utf8" LC_ALL="en_CA.utf8" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="x86 X apm avi bitmap-fonts bzip2 eds emboss gif glibc-omitfp gstreamer gtk2 hpn imlib javascript jpeg libg++ libwww md5sum mmap mmx mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis pam pdflib pic png readline samba ssl symlink sysvipc tiff truetype truetype-fonts type1-fonts udev unicode userlocales vorbis zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
your CHOST/CFLAGS are mismatched