Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244479 - gcc-4.3.2 fails to emerge during 1st "emerge -e system" pass
Summary: gcc-4.3.2 fails to emerge during 1st "emerge -e system" pass
Status: RESOLVED DUPLICATE of bug 228949
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-26 15:18 UTC by Rabbe Fogelholm
Modified: 2008-11-11 18:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rabbe Fogelholm 2008-10-26 15:18:32 UTC
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'
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-10-26 15:45:53 UTC

*** This bug has been marked as a duplicate of bug 228949 ***
Comment 2 Rabbe Fogelholm 2008-10-27 07:51:24 UTC
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.
Comment 3 Fabian Groffen gentoo-dev 2008-11-11 18:34:26 UTC
new bootstrap snapshot has this mask