Hardened gcc-4.6.x (Dean Takemori)

Dean Takemori deant at hawaii.rr.com
Thu Nov 17 00:41:48 PST 2011


On Wed, 26 Oct 2011 00:17:08 -1000
> Subject: Hardened gcc-4.6.x 
> To: hlfs-dev at linuxfromscratch.org
> Message-ID: <22FEB0B3-A1C8-4054-9304-F9C8449AEC8D at hawaii.rr.com>
> Content-Type: text/plain; charset=us-ascii
> 
> Has there been any work done on updating the HLFS patches 
> from gcc-4.5.3 to the gcc-4.6 series?

Following up on my own post:

The 4.5.x fortify and stack-protector patches apply to gcc-4.6.2
cleanly, but the fpie patch needed some adaptation.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-4.6.2-fpie-0.patch
Type: application/octet-stream
Size: 4683 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20111116/a28cd19d/attachment.obj>
-------------- next part --------------


The resulting compiler mostly works (I've been able to compile most
of the common libraries for a temporary system), except that it 
doesn't compile a working vim unless optimization is turned off, 
and it doesn't compile the kernel (2.6.32 + grsec).  Unfortunately 
I haven't been able to determine what the problem is in either case.

-dean takemori


More information about the hlfs-dev mailing list