can?t compile kernel with egcs 1.0.2

Horst von Brand vonbrand@inf.utfsm.cl
Thu Apr 16 11:15:00 GMT 1998


Kaz Kylheku <kaz@cafe.net> said:
> On Saturday, April 11, 1998 4:41 PM, Alexander Langer 
> [SMTP:alex_l@earthling.net] wrote:
> > I just compiled egcs 1.0.2 and it worked excellent on all applications?
> > sources I attempted to compile, but I just can?t get it to work with the
> > linux 2.0.33 kernel source.

> For what my opinion may be worth, I would recommend that you compile
> your kernel with the old GCC. You should not trust your operating system
> to a bleeding-edge compiler.

The latest development kernels, egcs-980321 (latest snapshot that works :-)
and latest binutils work fine, as far as my (very limited) testing shows.

[...]

> Linux does have subtle GCC dependencies here and there and is
> quite likely sensitive to changes in the compiler.

There have been several cases of broken asm() streches in the kernel that
were fixed because they blew up in egcs

> I have come to the conslution best thing is to let the Linux kernel
> developers adapt the use of EGCS and iron out any problems. Once
> the practice of compiling the kernel with EGCS becomes the norm,
> then it will be good to switch. Perhaps EGCS is already being used
> for cutting-edge kernels.

I'm doing that regularly, and AFAIKS from linux-kernel@vger.rutgers.edu I'm
not exactly alone there... just that the admonition "Thou shallst use
gcc-2.7.2.3" is (was?) repeated enough that they got shy and don't report
results back anymore (or it just works now, perhaps? ;-)
-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513



More information about the Gcc-bugs mailing list