I can't compile XOrg, tried several different combinations of USE flags, results in the same failure point. This might help: [ebuild U ] x11-base/xorg-x11-6.8.2-r8 [6.8.2-r7] USE="3dfx* 3dnow bitmap-fonts dlloader font-server mmx opengl pam sdk sse truetype-fonts type1-fonts xv -cjk -debug -dmx -doc -insecure-drivers -ipv6 -minimal -nls -nocxx -static -xprint" 0 kB ... [ snip ] ... make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r8/work/xc/doc/man' make[4]: Entering directory `/var/tmp/portage/xorg-x11-6.8.2-r8/work/xc/doc/man/misc' make[4]: Nothing to be done for `Makefiles'. make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r8/work/xc/doc/man/misc' make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r8/work/xc/doc/man' make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r8/work/xc/doc' make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r8/work/xc' if [ -z "1" ]; then make -f xmakefile BOOTSTRAPSUBDIRS= clean; fi make -f xmakefile includes make[1]: Entering directory `/var/tmp/portage/xorg-x11-6.8.2-r8/work/xc' + mkdir -p ./exports/include /bin/sh: SHELLOPTS: readonly variable make[1]: *** [includes] Error 1 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r8/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xorg-x11-6.8.2-r8 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile xorg-x11-6.8.2-r8.ebuild, line 158: Called build xorg-x11-6.8.2-r8.ebuild, line 974: Called die !!! make World failed !!! If you need support, post the topmost build error, and the call stack if relevant. ... [ end snip ] ... # emerge --info Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r7-znx i686) ================================================================= System uname: 2.6.16-gentoo-r7-znx i686 AMD Athlon(tm) XP 2700+ Gentoo Base System version 1.6.15 dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 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-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.blueyonder.co.uk" LINGUAS="-* en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dfx 3dnow X aac acl alsa bash-completion berkdb bzip2 cdparanoia crypt curl dts dvd dvdread encode fam flac gif gnutls gtk hardened idn imap jpeg mad mbox mmx mng mp3 mpeg msn mysql ncurses nptl offensive oscar pam perl png python quicktime readline sasl sdl sse sse2 ssl symlink tcpd tiff truetype unicode vorbis win32codecs xine xml xv zlib elibc_glibc kernel_linux linguas_-* linguas_en_GB userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
Took a emerge --info to remind me, I did test this without my nasty CFLAGS, commented it out, still fails at the same point. It hasn't actually got to using gcc by this point as far as I know, its still working through building the IMake stuff.
well, seems your *build system* was screw up your rice CFLAGS, IMHO. All I can say is sanitizing it and rebuild like "emerge -e system && emerge -e world", or reinstall gentoo makes sence than to wast the time for distinction this bug's casus...
Your box must be glowin'!