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

Andrew Morton
2004-01-27T23:17:06Z

Andi Kleen <ak@muc.de> wrote:
>
> > 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.
>
> Please undo that and apply this patch instead. It fixes the bug that
> broke booting with older gcc 3.3-hammer compilers (confirmed by
> two people on l-k). It was plain luck that it worked with the other
> compilers.

I'll turn it on for gcc-3.3 and higher. We can change that if someone has
tested earlier compilers.

Also, I do think this should remain a per-arch decision. Other
architectures could well have similar problems to this and we don't want to
be mysteriously breaking their kernels for them.