Re: [PATCH] Fix cc1 options check to ensure we do not use -fPIC whencompiling

From: H. Peter Anvin
Date: Tue Sep 08 2009 - 21:03:15 EST


On 09/08/2009 05:47 PM, Jory A. Pratt wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have sent this to the lkml, it seems to have been pushed to the back
> burner. This is a major issue effecting users/developers that are
> working on a much more security enhanced system. This means any gentoo
> user running a hardened toolchain will have problems building a kernel
> that works as expect. This patch does nothing but pass the macro
> - -D__KERNEL__ to ensure that hardened toolchain drops back to that of a
> vanilla toolchain to prevent unexpected compile problems in the kernel.
>

This should also be sent to the Kbuild maintainer, Sam Ravnborg
<sam@xxxxxxxxxxxx>.

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