|Main Archive Page > Month Archives > gentoo-hardened archives|
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-220.127.116.11-vs18.104.22.168.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
> >  x86_64-pc-linux-gnu-4.4.4 *
> >  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.