Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102595 - build failure for gcc-4.1.0_beta20050813 on x86
Summary: build failure for gcc-4.1.0_beta20050813 on x86
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-15 04:56 UTC by Peter Doerfler
Modified: 2005-08-16 00:37 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 Peter Doerfler 2005-08-15 04:56:00 UTC
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.
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2005-08-15 08:42:08 UTC
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.
Comment 2 Peter Doerfler 2005-08-16 00:37:49 UTC
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