Re: [PATCH 21.5] Fix build on OS X Yosemite

Marcus Crestani <[email protected]> Fri, 10 Oct 2014 17:00:21 +0200
Newsgroups gmane.emacs.xemacs.patches
Message-ID <[email protected]>
>>>>>"SJT" == Stephen J Turnbull <[email protected]> writes:
SJT> Can we actually fix this, maybe?  (That's a real question, I am *not*
SJT> implying that it's possible, let alone that it's worth the effort.)

Before I found the workaround we are using since Lion, I've already
started on a "real" fix, see

  http://permalink.gmane.org/gmane.emacs.xemacs.beta/35779

Everything I said back then is unfortunately still valid today.  It's a
lot of work.

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

That's what I worry, too.  

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

Being forced to revisit this every release may increase the chance that
we'll fix this, maybe?

-- 
Marcus