Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jun 2014 16:28:32 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: 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/...
Message-ID:  <5394D580.8060401@FreeBSD.org>
In-Reply-To: <201406081729.s58HTWkc006213@svn.freebsd.org>
References:  <201406081729.s58HTWkc006213@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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@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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTlNWBAAoJEDXXcbtuRpfPn2EIAKFnJjwQfja2QtvuBJc7zDSx
B3NB2b4bijAp0KCBU2QRkADU5YHc3jNgF26qaXLD3HvlYaSeqhaS7exUkE78qAjQ
Xs0L2sDe3aWep8coxp3mWFQlV3+ith+GCGP97JCL5Qkl/f/M3AslVlEespunJLcz
rKWjF0xwatRG72Zo9vPhpQc6hIzytg4LQ+BCtxkYnL+QtuG/2x1PN4ySMmjJ7Z+O
GohyOQ3icDulCx3l4bu+cfHlKEb/oQMEX6UW3Ky69LEej/1PgsuEupvWCQoy+PRf
Hz8mQf7wdiLxf2Y437/6xw6sb394ZYcT8ArozQjTqDD7+nyTr79bZJeCdquYfsc=
=qpLq
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5394D580.8060401>