Hi Paul! Thanks for the fast reply! On Mon, Apr 25, 2016 at 05:09:56PM -0700, Paul Eggert wrote: > >When I replace 'paxctl -zex' with 'paxctl +a' in src/Makefile.in, the > >build succeeds. > > Did you do something other than just that replacement? No. > configure.ac says > that paxctl is used only when the operating system is GNU/Linux, unless one > manually configures by setting PAXCTL in the environment or using a > PAXCTL=/some/path argument to 'configure'. That's true, but src/Makefile.in ignores that: PAXCTL_if_present = $(or $(PAXCTL),: paxctl) > Does the attached patch to the emacs-25 branch work for you? I've modified it to apply to git head but it didn't work: Finding pointers to doc strings... Finding pointers to doc strings...done Loading /scratch/wip/emacs-current/work/emacs/lisp/site-init.el (source)... Dumping under the name emacs 18932704 of 33554432 static heap bytes used 91843 pure bytes used /usr/sbin/paxctl +a emacs mv -f emacs bootstrap-emacs /usr/sbin/paxctl +a bootstrap-emacs /usr/pkg/bin/gmake -C ../lisp compile-first EMACS="../src/bootstrap-emacs" gmake[3]: Entering directory '/scratch/wip/emacs-current/work/emacs/lisp' ELC emacs-lisp/macroexp.elc Memory fault (core dumped) Makefile:282: recipe for target 'emacs-lisp/macroexp.elc' failed My version is attached (I added some more paxctl's for the symlinks when the original version didn't work.) I hope I didn't break it. Thomas