egcs sig 11 error
Jeffrey A Law
law@cygnus.com
Tue Sep 8 02:22:00 GMT 1998
In message < 3.0.5.32.19980905175916.00795210@daedalus.hsys.com.au >you write:
> I am currently running Linux 2.0.33 on a pentium 120MHz system. To date I
> have had no problems with it. I have successfully built and installed
> previous versions of egcs on the system (egcs-1.0.2 and egcs-1.0.3a). All
> software (including operating system and utilities) running on the system
> has been compiled with egcs-1.0.2 or 1.0.3a.
>
> When building egcs-1.1a, I receive a sig 11. I am using the "make
> bootstrap" option. The sig 11 always occurs during the crtbegin.o compile,
> even after following the test instructions in the "SIG 11 FAQ" (so I am
> assuming that it isn't a hardware problem). I used "../configure
> --prefix=/usr" in objdir to create the Makefile for the build and the
> target was correctly identified as linux i586 libc1.
Well, myself (and others) have successfully built on i586 gnulibc1.
So I'm not sure what your problem is.
> /home/users/jbarnett/egcs-1.1a/objdir/gcc/xgcc
> -B/home/users/jbarnett/egcs-1.1a/objdir/gcc/ -DIN_GCC -DUSE_GNULIBC_1 -g
> -O2 -I./include -I. -I../../gcc -I../../gcc/config -g0 \
> -finhibit-size-directive -fno-inline-functions -fno-exceptions
> -fno-omit-frame-pointer \
> -c ../../gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o
> xgcc: Internal compiler error: program cc1 got fatal signal 11
Try running this command by hand, but add "-save-temps" to the command
line. That will create crtstuff.i
Then
gdb cc1
r -O2 -finhibit-size-directive -fno-inline-funtions -fno-exceptions -fno-omit-frame-pointer crtstuff.i
And see what's happening.
It's not clear if this is happening in stage1 or in a later stage of
compilation. If it is happening in stage1, it is possible that whatever
compiler you're using to build egcs-1.1 has mis-compiled egcs-1.1.
jeff
More information about the Gcc-bugs
mailing list