[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29940: guile-2.2.3 does not work pax mprotect
From: |
Thomas Klausner |
Subject: |
bug#29940: guile-2.2.3 does not work pax mprotect |
Date: |
Tue, 2 Jan 2018 10:10:28 +0100 |
Hi!
guile-2.2.3 does not compile on NetBSD 8 and NetBSD-current.
During build, it writes stuff like this for basically every file:
gmake[2]: Entering directory '/scratch/lang/guile22/work/guile-2.2.3/bootstrap'
BOOTSTRAP GUILEC ice-9/eval.go
;;; WARNING: loading compiled file
/scratch/lang/guile22/work/guile-2.2.3/prebuilt/64-bit-little-endian/ice-9/eval.go
failed:
;;; Throw to key system-error with args ("load-thunk-from-memory" "~A"
("Permission denied") (13))
wrote `ice-9/eval.go'
When I turn off PaX mprotect, the build succeeds.
PaX mprotect is a security feature that forbids memory pages that are
writable and executable, and some memory protection changes that would
allow this. Other programs/libraries (e.g. libffi) needed to be fixed
for this.
Can you please fix this in guile-2.2.x?
(guile-2.0.14 builds fine on such a system.)
Thanks,
Thomas
- bug#29940: guile-2.2.3 does not work pax mprotect,
Thomas Klausner <=