Re: [RFC: 2.6 patch] add -fno-tree-scev-cprop to KBUILD_CFLAGS

From: Paul Mundt
Date: Sun Nov 11 2007 - 02:34:53 EST


On Sun, Nov 11, 2007 at 07:48:29AM +0100, Adrian Bunk wrote:
> But the kernel does (at least on some architectures) not link with
> libgcc or ship other code providing the required libgcc functions.
>
> Richard Guenther suggested in gcc bug #32044 to use -fno-tree-scev-cprop
> (new option in gcc 4.3) as a workaround and I confirmed that it fixes
> the compilation.
>
And some architectures do link it in, so the call to libgcc code doesn't
necessarily matter. Perhaps the architectures that don't link in libgcc
can turn this flag on conditionally, it shouldn't be forced on the
architectures that do link it in.
-
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/