Can't build gcc-4.1.0 snapshot 20050813, while 20050730 worked well. I was about to report upstream where nothing can be found, but then I'm a gentoo user (*g*) and wanted to double-check. Has anybody tried building that snapshot on a different i686-pc-linux-gnu system? Thanks -- Peter ./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-4.1.0_beta20050813/work/build/gcc/../ld -O2 -O2 -march=pentium4 -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I/var/tmp/portage/gcc-4.1.0_beta20050813/work/gcc-4.1-20050813/gcc -I/var/tmp/portage/gcc-4.1.0_beta20050813/work/gcc-4.1-20050813/gcc/. -I/var/tmp/portage/gcc-4.1.0_beta20050813/work/gcc-4.1-20050813/gcc/../include -I/var/tmp/portage/gcc-4.1.0_beta20050813/work/gcc-4.1-20050813/gcc/../libcpp/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-4.1.0_beta20050813/work/gcc-4.1-20050813/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.o xgcc: Internal error: Segmentation fault (program cc1) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make[2]: *** [crtbegin.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.0_beta20050813/work/build/gcc' make[1]: *** [stageprofile_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.0_beta20050813/work/build/gcc' make: *** [profiledbootstrap] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge gcc with keywords etc set so that the experimental 4.1.0 ebuild emerges 2. 3.
This is not a supported compiler yet, like the postinst info says. It is still an experimental compiler, so try reducing your CFLAGS to basically nothing to see if that helps. Report bugs upstream.
Thank you for your reply. I know it's not supported and wanted to use this bug report for discussion and as a reference for others. This has been done before for gcc4.1 when 'profiledbootstrap' failed for some snapshots until 20050730. I think this is useful as gcc bugzilla is not easy to search. FYI: The problem has turned up on gcc@gnu.org in the meantime. Search for "GCC build goes into endless loop". It seems to be fixed on CVS at least for x86. Thanks -- Peter