Re: [PATCH] Use -fno-unit-at-a-time if gcc supports it

From: Andi Kleen
Date: Thu Sep 04 2003 - 20:26:48 EST


On Thu, Sep 04, 2003 at 06:05:35PM -0700, Aaron Lehmann wrote:
> On Fri, Sep 05, 2003 at 02:47:10AM +0200, Andi Kleen wrote:
> >
> > Hallo,
> >
> > gcc 3.4 current has switched to default -fno-unit-at-a-time mode for -O2.
> > The 3.3-Hammer branch compiler used in some distributions also does this.
> >
> > Unfortunately the kernel doesn't compile with unit-at-a-time currently,
>
> Did you mean -funit-at-a-time, rather than the converse?

Yep, sorry for the confusion.

It defaults to -funit-at-a-time now, but the kernel must use
-fno-unit-at-a-time

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/