gcc-3.3.5-r1 fails on compile with this output: stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -march=pentium3 -mcpu=pentium4 -pipe -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc -I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/. -I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/config -I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/../include /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/protector.c -o protector.o /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/protector.c:40:23: insn-attr.h: No such file or directory /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/protector.c: In function `rtl_epilogue': /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/protector.c:884: warning: implicit declaration of function `ix86_can_use_return_insn_p' make[2]: *** [protector.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.5-r1/work/build/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.5-r1/work/build/gcc' make: *** [bootstrap-lean] Error 2 !!! ERROR: sys-devel/gcc-3.3.5-r1 failed. !!! Function gcc_do_make, Line 1113, Exitcode 2 !!! emake failed with bootstrap-lean !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Didn't try Steps to Reproduce: Gentoo Base System version 1.4.16 Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r10 i686) ================================================================= System uname: 2.4.26-gentoo-r10 i686 Intel(R) Xeon(TM) CPU 3.06GHz Python: dev-lang/python-2.3.4-r1,dev-lang/python-2.2.3-r5 [2.3.4 (#1, Feb 27 2005, 14:56:05)] dev-lang/python: 2.3.4-r1, 2.2.3-r5 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r5 virtual/os-headers: 2.4.19-r1, 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -mcpu=pentium4 -pipe" CHOST="i686-pc-linux-gnu" 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="-O3 -march=pentium3 -mcpu=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.1.245/gentoo-portage" USE="x86 apache2 apm berkdb bitmap-fonts crypt curl emacs emboss expat f77 font-server fortran gdbm gif gtk2 ipv6 jpeg libg++ libwww maildir mpeg mysql ncurses nls pam pdflib perl png postgres python qt quicktime readline slang snmp spell sse ssl svga tcpd truetype truetype-fonts type1-fonts xml2 zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
This was caused by my having a deprecated profile, it seems, because when I upgraded the profile I could build it properly.