[Top] [All Lists]

Re: Kernel compiler

To: Keith Owens <>
Subject: Re: Kernel compiler
From: Ralf Baechle <>
Date: Sat, 4 Nov 2000 03:53:26 +0100
In-reply-to: <5029.973305862@ocs3.ocs-net>; from on Sat, Nov 04, 2000 at 01:44:22PM +1100
References: <> <5029.973305862@ocs3.ocs-net>
On Sat, Nov 04, 2000 at 01:44:22PM +1100, Keith Owens wrote:

> On Fri, 3 Nov 2000 22:19:26 +0100, 
> Ralf Baechle <> wrote:
> >Due to compiler bugs with named initializers the use of egcs 1.1.2 has
> >ben deprecated for Linux; Linux 2.4.0-test10 will refuse to compile with
> >older compilers.
> Correction.  gcc 2.7 has been deprecated, the recommended version is
> gcc 2.91.66 (also known as egcs 1.1.2) or better.  Unfortunately RedHat
> created an unofficial 2.96 which is known to miscompile the kernel, so
> you cannot just use the "latest" gcc.  It is believed that gcc versions
> 2.91.66 through 2.95 inclusive are safe, as long as you use
> -fno-strict-aliasing.

Sigh, yes you're right as other have already pointed out on IRC ...

Gcc 2.7 is no longer being used for Linux/MIPS since a long time and I'd
simply bitbucket any bugreport related to it.  Most people are using egcs
1.0.3a for everything which is older than the required minimum version 1.1.2,
so we're in some trouble.

I've got reports regarding the 1.1.2 crosscompiler which say that it
misscompiles MIPS kernels, sigh ...

The reports regarding egcs 2.96 and newer misscompiling the kernel only
affect x86 or are other architecture affected as well?  I don't have any
pending compiler >= 2.96 related bug reports.


<Prev in Thread] Current Thread [Next in Thread>