lkml.org 
[lkml]   [1996]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: floppy.c and gcc 2.7.2p


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. :)




\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.034 / U:2.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site