On Wed, Oct 20, 1999 at 07:41:20PM -0400, Salman Ahmed wrote:
> One other thing: are there any problems compiling 2.2.12 or 2.2.13 with gcc
> 2.95.2 ?? I read today in the 2.2.13 kernel's release notes at
> <http://www.linux.org.uk/VERSION/relnotes.2213.html> that gcc 2.95 should
> not be used to compile 2.2.13.
> 
> Has anyone tried compiling the recent kernels (ie 2.2.10-12) with gcc 2.95
> or 2.95.2 ? Any problems ??

I build all of my kernels with whatever the latest EGCS/GCC in potato
is, so I'm currently using gcc 2.95.2. I haven't found any major
problems doing this. For the record, I also have gcc 2.7.2.3 installed
for building stable/bug-report kernels.

Basically, you can use whatever you like to compile your kernels, but if
you have problems and want to send a bug report to the kernel
developers, don't bother unless the kernel was built with gcc 2.7.2.
The developer will most likely tell you to go away and rebuild the
kernel with that version of gcc and retest it before they'll listen to
your problems.

There is definately a problem building kernels older than 2.2.10/2.2.11,
and you'll need to add -fno-strict-aliasing to the CFLAGS in the
makefile to get the kernel to build with gcc 2.95. This is because
between egcs and the changeover to gcc 2.95, the default option for
strict aliasing was changed from off to on, and the kernel won't built
with it on.

> I would like to try compiling the new 2.2.13 on my Celeron using gcc
> 2.95.2.

Go for it.

-- 
[ Matthew Gregan ]       [ GPG ID: B63A1E95 ]       [ [EMAIL PROTECTED] ]
[ GPG fingerprint:    FB83 2911 F170 B31C 9E4A  E382 CA8A A2F6 B63A 1E95 ]

Attachment: pgpOQ6Bzx0N1v.pgp
Description: PGP signature

Reply via email to