* Kernel compilation woes: gcc sig 6'ing
@ 1998-03-03 0:57 Chris Saunderson
1998-03-03 2:20 ` Michal Jaegermann
1998-03-03 4:25 ` rmcilhar
0 siblings, 2 replies; 3+ messages in thread
From: Chris Saunderson @ 1998-03-03 0:57 UTC (permalink / raw)
To: axp-list
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
--
Chris "Saundo" Saunderson Chris.Saunderson@adelaide.maptek.com.au
Technical Support Engineer Telephone: (08) 8379 7333
Maptek Pty Ltd Fax: (08) 8379 7377
Powered by Linux, Jolt and the Orb.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Kernel compilation woes: gcc sig 6'ing
1998-03-03 0:57 Kernel compilation woes: gcc sig 6'ing Chris Saunderson
@ 1998-03-03 2:20 ` Michal Jaegermann
1998-03-03 4:25 ` rmcilhar
1 sibling, 0 replies; 3+ messages in thread
From: Michal Jaegermann @ 1998-03-03 2:20 UTC (permalink / raw)
To: axp-list
>
> 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
Not taking anything from your compiler :-) - do you really need this
Flashpoint stuff? This hack with linking with an extra binary
files is a known "trip point" for gcc. Switching it off likely
will allow you to compile.
Please note that much revamped BusLogic support, with saner Flashpoint
code and a lot of improvements, is available from www.dandelion.com
(thanks, Leonard!).
--mj
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Kernel compilation woes: gcc sig 6'ing
1998-03-03 0:57 Kernel compilation woes: gcc sig 6'ing Chris Saunderson
1998-03-03 2:20 ` Michal Jaegermann
@ 1998-03-03 4:25 ` rmcilhar
1 sibling, 0 replies; 3+ messages in thread
From: rmcilhar @ 1998-03-03 4:25 UTC (permalink / raw)
To: axp-list; +Cc: Rob McIlhargie
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 |
-------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-03-03 4:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-03 0:57 Kernel compilation woes: gcc sig 6'ing Chris Saunderson
1998-03-03 2:20 ` Michal Jaegermann
1998-03-03 4:25 ` rmcilhar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox