>From [email protected] Sun Sep >16 14:47:08 2012 >Date: Sun, 16 Sep 2012 14:46:35 -0600 (MDT) >From: Mark Kettenis <[email protected]> >To: [email protected] >Subject: CVS: cvs.openbsd.org: src >List-Help: <mailto:[email protected]?body=help> >List-ID: <source-changes.openbsd.org> >List-Owner: <mailto:[email protected]> >List-Post: <mailto:[email protected]> >List-Subscribe: <mailto:[email protected]?body=sub%20source-changes> >List-Unsubscribe: <mailto:[email protected]?body=unsub%20source-changes> >X-Loop: [email protected] >Precedence: list >Sender: [email protected] > >CVSROOT: /cvs >Module name: src >Changes by: [email protected] 2012/09/16 14:46:35 > >Modified files: > gnu/usr.bin/cc : Makefile.inc > >Log message: >Build gcc as non-PIE. PIE breaks precompiled headers and causes a serious >performance hit on some architectures (almost 20% on hppa, more than 25% on >sparc64). And there are no real benefits associated with ASLR for a compiler. > >ok deraadt@ > > Well, wait.
ASLR, yes there is a benefit. It exposes bugs. But PIE is such a minor subset of ASLR, and it is for non-writeable pages. Writeable pages is where ASLR exposes bugs.
