From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 29811 invoked from network); 3 Mar 1998 04:28:49 -0000 Received: from gemini.smart.net (206.27.242.109) by mail2.redhat.com with SMTP; 3 Mar 1998 04:28:49 -0000 Received: from sanctuary.smart.net (sanctuary.smart.net [206.153.50.246]) by gemini.smart.net (8.7.6/8.7.3) with ESMTP id XAA16835 for ; Mon, 2 Mar 1998 23:28:47 -0500 Received: (from rmcilhar@localhost) by sanctuary.smart.net (8.8.5/8.8.5) id XAA01368; Mon, 2 Mar 1998 23:25:20 -0500 Message-Id: <199803030425.XAA01368@sanctuary.smart.net> Subject: Re: Kernel compilation woes: gcc sig 6'ing To: axp-list@redhat.com Date: Mon, 2 Mar 1998 23:25:18 -0500 (EST) Cc: rmcilhar@sanctuary.smart.net (Rob McIlhargie) In-Reply-To: <199803030157.MAA02990@fermi.adelaide.maptek.com.au> from "Chris Saunderson" at Mar 3, 98 12:27:04 pm From: rmcilhar@smart.net Content-Type: text >From the keyboard of Chris Saunderson > > Hi, > > After installing 5.0, I need to recompile my kernel to enable loop-back > device support and generic SCSI device support. However, I'm running > into a continual problem with gcc generating a sig 6 here: > > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -g -O2 -pipe -mno-fp-regs -c FlashPoint.c -o FlashPoint.O > cpp: output pipe has been closed > gcc: Internal compiler error: program cc1 got fatal signal 6 > make[3]: *** [BusLogic.o] Error 1 > make[3]: Leaving directory `/usr/src/linux-2.0.30/drivers/scsi' > > Can someone shed some light on this? > > Thanks > I got this same error when compiling MESA an 3D OpenGL implimentation. I got around it by removing "-O2" from the argument list. I tried it with just "-O" and that didn't work either. It seems to be an optimization related bug. Try building FlashPoint.c by hand and then just continue with the rest of the build with make. Or you could remove "-O2" from the CFLAGS but then the rest of your kernel wouldn't be optimized. -- ------------------------------------------------------------------------------ Rob. | http://www.loyola.edu/~rmcilhar/ rmcilhar@smart.net | rmcilhar@khserver.loyola.edu | -------------------------------