GNU bug report logs - #23371
emacs: paxctl usage on NetBSD

Previous Next

Package: emacs;

Reported by: Thomas Klausner <wiz <at> NetBSD.org>

Date: Mon, 25 Apr 2016 12:10:01 UTC

Severity: normal

Tags: patch

Found in version 25.1.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Thomas Klausner <wiz <at> NetBSD.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 23371 <at> debbugs.gnu.org
Subject: bug#23371: emacs: paxctl usage on NetBSD
Date: Wed, 27 Apr 2016 17:54:42 +0200
[Message part 1 (text/plain, inline)]
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

[patch-configure.ac (text/plain, attachment)]
[patch-src_Makefile.in (text/plain, attachment)]

This bug report was last modified 9 years and 106 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.