unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Thomas Klausner <tk@giga.or.at>
To: 29940@debbugs.gnu.org
Subject: bug#29940: guile-2.2.3 does not work pax mprotect
Date: Tue, 2 Jan 2018 10:10:28 +0100	[thread overview]
Message-ID: <20180102091028.wbspwmhiepdrxwsr@danbala> (raw)

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





             reply	other threads:[~2018-01-02  9:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-02  9:10 Thomas Klausner [this message]
     [not found] ` <sfid-+20180102-101108-+008.55-1@spamfilter.osbf.lua>
     [not found]   ` <handler.29940.B.151488425022993.ack@debbugs.gnu.org>
2018-01-08 10:42     ` bug#29940: Acknowledgement (guile-2.2.3 does not work pax mprotect) Thomas Klausner
2018-01-08 22:52       ` Thomas Klausner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180102091028.wbspwmhiepdrxwsr@danbala \
    --to=tk@giga.or.at \
    --cc=29940@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).