From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199802280917.TAA04219@schroedinger.adelaide.maptek.com.au> Date: Sat, 28 Feb 1998 13:23:53 +0100 (MET) From: Andreas Johansson Subject: Re: newbie: problems building kernel In-Reply-To: On Sat, 28 Feb 1998, Hugo van der Kooij wrote: > On Fri, 27 Feb 1998, Jonathan L Dubois wrote: > > > gcc -D__KERNEL__ -I/usr/src/linux-2.0.33/include -Wall -Wstrict-prototypes > > -g -O2 -pipe -mno-fp-regs -c -o 8390.o 8390.c > > cpp: output pipe has been closed > > gcc: Internal compiler error: program cc1 got fatal signal 11 > > make[3]: *** [8390.o] Error 1 > > make[3]: Leaving directory `/usr/src/linux-2.0.33/drivers/net' > > make[2]: *** [first_rule] Error 2 > > make[2]: Leaving directory `/usr/src/linux-2.0.33/drivers/net' > > make[1]: *** [sub_dirs] Error 2 > > make[1]: Leaving directory `/usr/src/linux-2.0.33/drivers' > > make: *** [linuxsubdirs] Error 2 > > Well, > > signal 11 is almost due to hardware problems. On the intel I know it is a > sign that the cooling fan is not working properly on the CPU in about 80% > of the cases. ... and on the alpha this almost always is due to bugs in gcc, and particulary in the optimizer. I had the same problem with egcs, and (as usual) lowering the optimization (changing -O2 to -O or removing it altogether) was enough to make the file compile. With gcc 2.7 I have also received this if -funroll-loops or -funroll-all-loops are activated when compiling some particular c-files. /Andreas -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com