I am doing a fresh install of 2004.2, everything installed and works fine, until I try to do the emerge -u world, I get the following error on gcc-3.3.4-r1. This is on a Dell Inspiron 5000 Celeron laptop (500 MHz), 192MB RAM, had Gentoo on it before, just reinstalling. SHLIB_EXT='.so' \ SHLIB_MULTILIB='' \ SHLIB_MKMAP='/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/mkmap-symver.awk' \ SHLIB_MKMAP_OPTS='' \ SHLIB_MAPFILES='/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/libgcc-std.ver /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/config/libgcc-glibc.ver' \ SHLIB_NM_FLAGS='-pg' \ MULTILIB_OSDIRNAMES='' \ mkinstalldirs='/bin/sh /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/mkinstalldirs' \ /bin/sh mklibgcc > tmp-libgcc.mk mv tmp-libgcc.mk libgcc.mk TM_DEFINES="" \ HEADERS="ansidecl.h i386/i386.h i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h defaults.h" XM_DEFINES="POSIX" \ TARGET_CPU_DEFAULT="" \ /bin/sh /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/mkconfig.sh tconfig.h ./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -fno-stack-protector-all -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I. -I. -I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc -I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/. -I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/config -I/var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer \ -c /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.o cc1: internal compiler error: Illegal instruction Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. make[2]: *** [crtbegin.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.4-r1/work/build/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.4-r1/work/build/gcc' make: *** [bootstrap-lean] Error 2 !!! ERROR: sys-devel/gcc-3.3.4-r1 failed. !!! Function src_compile, Line 551, Exitcode 2 !!! (no error message)
Please post the output of 'emerge info'
I have been having a similar problem. I have tryed to emerge gcc-3.3.4-r1 four or five times now. Each time it dies in a different place but always with the same error message: !!! ERROR: sys-devel/gcc-3.3.4-r1 failed. !!! Function src_compile, Line 551, Exitcode 2 !!! (no error message) I think that bug 62097 (http://bugs.gentoo.org/show_bug.cgi?id=62097) may also be related. My emerge info: Portage 2.0.50-r10 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.4.25_pre7-gss-r9) ================================================================= System uname: 2.4.25_pre7-gss-r9 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://chod.cwru.edu/gentoo http://mirrors.tds.net/gentoo http://chod.cwru.edu/gentoo http://gentoo.mirrors.pair.com/ http://gentoo.seren.com/gentoo" MAKEOPTS="-j7" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/root/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="apache2 apm berkdb crypt foomaticdb gdbm gif gpm imlib jpeg libg++ libwww maildir mbox mmx motif mysql ncurses nls pam pdflib perl png python readline samba sasl sdl slang spell sse ssl svga tcpd wmf x86 xml2 zlib"
As I looked into things, this isn't a bug after all. PEBKAC. I copied my make.conf from another computer so that I would have all of my use flags and mirrors set, I forgot that the box I was copying from is a Pentium 4, and my laptop is a Celeron. It was a problem with my CFLAGS. I ended up starting over, used the right CFLAGS and it worked like a champ.