[Bug bootstrap/41500] [4.4 Regression] ARM: 4.4 compiler segfault when compiling gcc

ramana at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 30 07:39:00 GMT 2009



------- Comment #3 from ramana at gcc dot gnu dot org  2009-09-30 07:38 -------
Can you see what a backtrace gives you in a gdb session ? It sounds like you
are out of memory. I'll second what Mikael said in Comment #2 with respect to
being able to bootstrap .

The other question which I have to ask is what was your configure line to
configure the compiler. I've not been able to find that in your bug report here
and taking a cursory look at the strace output - it appears as though it might
be something to do with your environment. 


wait4(17376, In file included from /usr/include/stdio.h:903,
                 from test.c:1:
/usr/include/bits/stdio.h: In function 'getchar':
/usr/include/bits/stdio.h:47: internal compiler error: Segmentation fault
Please submit a full bug report,

I've got access to a Marvell board so if you give your configure line , I can
try bootstrapping gcc to confirm what you are saying as well as take a look at
it.

I usually bootstrap with --enable-languages=c,c++,fortran and disabling stage1
checking because on some distros , the versions of binutils aren't upto scratch
with creating huge ARM binaries.


cheers
Ramana



Ramana


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41500



More information about the Gcc-bugs mailing list