[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

which GCC produces good kernels? (was: Re: WARNING! Stack pointer and cr30 do not correspond!)

On Sun, 27 Apr 2003, Carlos O'Donell wrote:

> > make-kpkg clean ; CC=gcc-3.3 make-kpkg --revision 2.4.20.carlos.1 kernel_image
> You need to set CC (and HOSTCC) in the toplevel kernel Makefile.

export HOSTCC=gcc-3.0 ; export CC=gcc-3.0 ; HOSTCC=gcc-3.0 CC=gcc-3.0 make-kpkg --revision 2.4.19.zarya.1 kernel_image

...plus manually editing the top Makefile for the same variables has finally
resulted in 3.0 being used for everything and produced a good kernel; there was
no single warning about unresolved symbols for some deflate (i.e. zlib-related)
function in a kernel module either.

I'll try 3.2 and 3.3pre5 later this week and tell you how it goes with them.

Martin-Éric Racine

Reply to: