svn commit: r267233 - in head: . bin/rmail gnu/usr.bin/binutils/addr2line gnu/usr.bin/binutils/nm gnu/usr.bin/binutils/objcopy gnu/usr.bin/binutils/objdump gnu/usr.bin/binutils/readelf gnu/usr.bin/...
Bryan Drewery
bdrewery at FreeBSD.org
Sun Jun 8 21:28:36 UTC 2014
On 6/8/2014 12:29 PM, Bryan Drewery wrote:
> Author: bdrewery
> Date: Sun Jun 8 17:29:31 2014
> New Revision: 267233
> URL: http://svnweb.freebsd.org/changeset/base/267233
>
> Log:
> In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.
>
> This is currently an opt-in build flag. Once ASLR support is ready and stable
> it should changed to opt-out and be enabled by default along with ASLR.
>
> Each application Makefile uses opt-out to ensure that ASLR will be enabled by
> default in new directories when the system is compiled with PIE/ASLR. [2]
>
> Mark known build failures as NO_PIE for now.
>
> The only known runtime failure was rtld.
>
> [1] http://www.bsdcan.org/2014/schedule/events/452.en.html
> Submitted by: Shawn Webb <lattera at gmail.com>
> Discussed between: des@ and Shawn Webb [2]
>
...
>
> Modified: head/share/mk/bsd.opts.mk
> ==============================================================================
> --- head/share/mk/bsd.opts.mk Sun Jun 8 15:38:40 2014 (r267232)
> +++ head/share/mk/bsd.opts.mk Sun Jun 8 17:29:31 2014 (r267233)
> @@ -68,7 +68,8 @@ __DEFAULT_YES_OPTIONS = \
> __DEFAULT_NO_OPTIONS = \
> CTF \
> DEBUG_FILES \
> - INSTALL_AS_USER
> + INSTALL_AS_USER \
> + PIE
>
> .include <bsd.mkopt.mk>
>
In case you missed it. This commit is a NOP. By default PIE is not used.
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20140608/2cbfb179/attachment.sig>
More information about the svn-src-head
mailing list