Re: [2.6 patch] re-add -ffreestanding

From: Adrian Bunk
Date: Mon Aug 21 2006 - 18:21:32 EST


On Tue, Aug 22, 2006 at 12:09:03AM +0200, Andi Kleen wrote:
> On Mon, 21 Aug 2006 23:46:36 +0200
> Adrian Bunk <bunk@xxxxxxxxx> wrote:
>
> > On Mon, Aug 21, 2006 at 11:24:44PM +0200, Andi Kleen wrote:
> > > On Mon, 21 Aug 2006 23:21:54 +0200
> > > Adrian Bunk <bunk@xxxxxxxxx> wrote:
> > >
> > > > I got the following compile error with gcc 4.1.1 when trying to compile
> > > > kernel 2.6.18-rc4-mm2 for m68k:
> > >
> > > I object to this change. -ffreestanding shouldn't be forced on everybody
> >
> > Why?
>
> Because -ffreestanding does the the wrong thing(tm) for the x86-64
> string implementation (which I plan to extend at some point to i386
> too BTW). Don't argue with it -- what counts is not the name,
> but the semantics.

It disables the automatic usage of builtins which is OK.

Which other semantics does it have that is causing problems?

> -Andi

cu
Adrian

--

Gentoo kernels are 42 times more popular than SUSE kernels among
KLive users (a service by SUSE contractor Andrea Arcangeli that
gathers data about kernels from many users worldwide).

There are three kinds of lies: Lies, Damn Lies, and Statistics.
Benjamin Disraeli

-
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/