gentoo-hardened November 2010 archive
Main Archive Page > Month Archives  > gentoo-hardened archives
gentoo-hardened: Re: [gentoo-hardened] Compiling kernel with gcc

Re: [gentoo-hardened] Compiling kernel with gcc 4.4

From: Magnus Granberg <zorry_at_nospam>
Date: Mon Nov 08 2010 - 15:30:30 GMT
To: gentoo-hardened@lists.gentoo.org

On Monday 08 November 2010 13.06.49 klondike wrote:
> El 08/11/10 12:51, Ed W escribió:
> > Hi, compiling kernel on my hardened machine has long produced a warning:
> >
> > /usr/src/linux-2.6.35.8-vs2.3.0.36.33-pax-test26/arch/x86/Makefile:81:
> > stack protector enabled but no compiler support
> >
> > However, I would have expected this to go away now that I have
> > upgraded to gcc-4.4.4?
> >
> > # gcc-config -l
> >
> > [1] x86_64-pc-linux-gnu-4.4.4 *
> > [2] x86_64-pc-linux-gnu-4.4.4-hardenednopie
> >
> > ...
> >
> > Any thoughts on what is going awry?
>
> The SSP detection script in the kernel is disabled as it gave problems,
> if I recall correctly. Maybe blueness can provide a better insight.
It is a error in the kernels SSP check for it don't support to compile with
-fPIE and it s fixed in .36 or some of the gentoo-hardened patchset.
/Magnus