[syslinux] syslinux-3.36 nopie patch

Mike Frysinger vapier at gentoo.org
Mon Feb 12 05:56:49 PST 2007


On Sunday 11 February 2007, H. Peter Anvin wrote:
> Gilles Espinasse wrote:
> > I made a patch that  depending of gcc flavor add -no-pie or -nopie on
> > libutil and dos Makefile.
> > This fix fatal error like this
> > sha1hash.c: In function `SHA1Transform':
> > ../include/netinet/in.h:24: error: can't find a register in class `BREG'
> > while reloading `asm'
> > ../include/netinet/in.h:24: error: can't find a register in class `BREG'
> > while reloading `asm'
> > ../include/netinet/in.h:24: error: can't find a register in class `BREG'
> > while reloading `asm'
> > ...
>
> What platform did you see this on?  I didn't expect -pie to ever be
> turned on for i386, certainly not by default...

yeah, hardened toolchains have -pie built into the specs ... the proposed 
nopie patch is what we've been using in Gentoo for quite sometime (all 3.x 
releases at least)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20070212/287eac39/attachment.sig>


More information about the Syslinux mailing list