Thread on the forum: http://forums.gentoo.org/viewtopic-p-3220357.html#3220357 I did my usual sync and then a emerge -uv world and it failed on gcc. I checked a few things and ran revdep-rebuild which said all was fine. I posted the thread on the forums then later did a emerge -ev system with it failing on gcc again in the same place. Here is the error and a bit before it as well: /bin/sh mklibgcc > tmp-libgcc.mk mv tmp-libgcc.mk libgcc.mk ./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -L/var/tmp/portage/gcc-3.4.5-r1/work/build/gcc/../ld -fno-stack-protector -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I/var/tmp/portage/gcc-3.4.5-r1/work/gcc-3.4.5/gcc -I/var/tmp/portage/gcc-3.4.5-r1/work/gcc-3.4.5/gcc/. -I/var/tmp/portage/gcc-3.4.5-r1/work/gcc-3.4.5/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \ -c /var/tmp/portage/gcc-3.4.5-r1/work/gcc-3.4.5/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.o In file included from /var/tmp/portage/gcc-3.4.5-r1/work/gcc-3.4.5/gcc/tsystem.h:44, from /var/tmp/portage/gcc-3.4.5-r1/work/gcc-3.4.5/gcc/crtstuff.c:62: ./include/stddef.h:213: internal compiler error: Illegal instruction Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/gcc-3.4.5-r1/temp/cc3GxBfR.out file, please attach this to your bugreport. make[2]: *** [crtbegin.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.5-r1/work/build/gcc' make[1]: *** [stageprofile_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.5-r1/work/build/gcc' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-3.4.5-r1 failed. !!! Function gcc_do_make, Line 1361, Exitcode 2 !!! emake failed with profiledbootstrap !!! If you need support, post the topmost build error, NOT this status message. swifty / # Here is the emerge info: swifty / # emerge --info Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.13-gentoo-r5 i686) ================================================================= System uname: 2.6.13-gentoo-r5 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.14 dev-lang/python: 2.3.4-r1, 2.4.2 sys-apps/sandbox: 1.2.12 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 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp" 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="-O2 -march=athlon-xp" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 acl apm arts avi berkdb bitmap-fonts bzip2 crypt cups dri eds emboss encode expat foomaticdb fortran gdbm gif gnome gpm gstreamer gtk2 hal imlib ipv6 isdnlog jpeg kde lcms libg++ libwww mad mikmod mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY swifty / # This is on a server system that has no monitor or keyboard. It runs folding 24/7 and there is no errors in my logs, except for hald and ivman anyway. Any ideas or is it just me. :/ Dale :-) Oh, I hope I filed this thing right. I'm not sure about the component part though.
-march=athlon-xp is NOT correct for Athlon (non-xp) CPUs. Kindly consult your gcc manual.
http://gentoo-wiki.com/Safe_Cflags
Sorry. I know what happened. I use Konqueror and fish to access the config files on my servers and I likely thought I was on my main rig, which has a Athlon XP in it, but was actually editing the server instead. It works now. Thanks for showing me the light. < claps hands and jumps up and down in chair > Dale :-)