[PATCH 21.5] Fix build on OS X Yosemite

"Stephen J. Turnbull" <[email protected]> Fri, 10 Oct 2014 23:33:44 +0900
Newsgroups gmane.emacs.xemacs.patches
Message-ID <[email protected]>
Marcus Crestani writes:
 > PATCH 21.5
 > 
 > To build XEmacs on OS X 10.10 Yosemite, we need to disable address space
 > layout randomization.

Can we actually fix this, maybe?  (That's a real question, I am *not*
implying that it's possible, let alone that it's worth the effort.)

It seems like ASLR is coming up more and more frequently as a default
configuration.  I worry that some OS will make it mandatory.

 > -       dnl Mac OS X 10.7 Lion, 10.8 Mountain Lion, 10.9 Mavericks
 > -    Darwin:1[[123]].*)
 > +       dnl Mac OS X 10.7 Lion, 10.8 Mountain Lion, 10.9 Mavericks, 10.10 Yosemite
 > +    Darwin:1[[1234]].*)

Do you think Yosemite is the end of the line for OS X?<wink/>  Maybe
we should default to "-Wl,-no_pie" and allow PIE only where we know
it's safe.