This problem seems to have appeared 2008-10-19. Before that date the gcc version being emerged at the end of the 1st "emerge -e system" pass was gcc-4.2.4; since 2008-10-19 the version is gcc-4.3.2. Here are some lines from the console output: if [ x"-fpic" != x ]; then \ /local/scratch/portage/sys-devel/gcc-4.3.2/work/build/./prev-gcc/xgcc -B/local/scratch/portage/sys-devel/gcc-4.3.2/work/build/./prev-gcc/ -B/local/scratch/nightly/2008-10-26/usr/i686-pc-linux-gnu/bin/ -c -DHAVE_CONFIG_H -fprofile-use -I. -I/local/scratch/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -fpic /local/scratch/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libiberty/hashtab.c -o pic/hashtab.o; \ else true; fi /local/scratch/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libiberty/hashtab.c: In function 'htab_expand': /local/scratch/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libiberty/hashtab.c:554: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.gentoo.org/> for instructions. make[3]: *** [hashtab.o] Error 1 make[3]: Leaving directory `/local/scratch/portage/sys-devel/gcc-4.3.2/work/build/libiberty' make[2]: *** [all-stagefeedback-libiberty] Error 2 make[2]: Leaving directory `/local/scratch/portage/sys-devel/gcc-4.3.2/work/build' make[1]: *** [stagefeedback-bubble] Error 2 make[1]: Leaving directory `/local/scratch/portage/sys-devel/gcc-4.3.2/work/build' make: *** [profiledbootstrap] Error 2 * ERROR: sys-devel/gcc-4.3.2 failed: * emake failed with profiledbootstrap * * Call stack: * ebuild.sh: 49: <call src_compile> * environment:4738: <call gcc_src_compile> * environment:3006: <call gcc_do_make> * environment:2829: emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}"; * * If you need support, post the topmost build error, and the call stack if relevant. * build log: '/local/scratch/portage/sys-devel/gcc-4.3.2/temp/build.log' * ebuild environment: '/local/scratch/portage/sys-devel/gcc-4.3.2/temp/environment' * S: '/local/scratch/portage/sys-devel/gcc-4.3.2/work/build' >>> Failed to emerge sys-devel/gcc-4.3.2, Log file: >>> '/local/scratch/portage/sys-devel/gcc-4.3.2/temp/build.log'
*** This bug has been marked as a duplicate of bug 228949 ***
I tried masking out all gcc-4.3 versions in etc/portage/package.mask. Bootstrapping then completes successfully so this can be used as a workaround.
new bootstrap snapshot has this mask