Re: floppy.c and gcc 2.7.2p

as4604hsjmcc@infoave.net
Thu, 13 Jun 1996 12:13:12 -0400 (EDT)


On Thu, 13 Jun 1996, Adrian Portelli wrote:

> Hi,
>
> I don't know if this message belongs here or in linux-gcc, but anyway
> . . . .
>
> Does anyone know how to get Linux 2 compiling with gcc 2.7.2p ? I
> have been trying to get this happening since about 1.3.8x but have
> had no luck. It keeps on coming up with:
>
> cpp: output pipe has been closed
> gcc: Internal compiler error: program cc1 got fatal signal 11
> make[2]: *** [floppy.o] Error 1
> make[2]: Leaving directory `/usr/src/linux/drivers/block'
> make[1]:*** [modules] Error 2
> make[1]: Leaving directory `/usr/src/linux/drivers'
> make: *** [modules] Error 2
>
> Ta.
>
> Adrian
>
>

I have the exact same problem with gcc-2.7.2p, if you compile with -O
instead of -O2 it will compile fine. I'm assuming you're using -mpentium
as I am, but I don't know if that has anything to do with the problem.
Just go into drivers/block and cut and paste the gcc line up to -O2,
just omit the 2, and paste the rest; voila. :)