Re: [patch] Re: Kernels > 2.6.1-mm3 do not boot. - SOLVED

Andrew Morton
2004-01-27T20:56:08Z

Andi Kleen <ak@muc.de> wrote:
>
> > Can you plesae confirm that restoring only -funit-at-a-time again produces
> > a crashy kernel? And that you are using a flavour of gcc-3.3? If so, I
>
> It works just fine on the SuSE 9.0 3.3-hammer gcc.
>
> So far the reports point to some Mandrake gcc 3.3 having problems
> (they used an older version of Hammer branch). It's hard to be sure
> because everybody having any problem with the kernel seems to like
> to report it to this thread :-) But before just disabling
> it I would like to track down the problem and see if it's really a
> compiler issue or something that can be fixed in the kernel.
>
> If you really want to disable it I would prefer to only check for that
> compiler version and keep it for working 3.3-hammers.

I've moved the enabling of -funit-at-a-time out of Makefile and down into
arch/i386/Makefile, and I changed to require gcc-3.4 or higher.

So if you want to use -funit-at-a-time on gcc-3.3/hammer you can do so.