unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Philippe Vaucher <philippe.vaucher@gmail.com>
Cc: 23529@debbugs.gnu.org, 13964@debbugs.gnu.org
Subject: bug#13964: bug#23529: Request for fixing randomize_va_space build issues
Date: Sat, 14 Sep 2019 06:18:43 +0200	[thread overview]
Message-ID: <CADwFkmmO+n4oA8ZeQrTNtfCqyF2pa9vXiG+joMD5gG+QJnDj1g@mail.gmail.com> (raw)
In-Reply-To: <877gl9t1vb.fsf@gmail.com>

Philippe Vaucher <philippe.vaucher@gmail.com> writes:

> When /proc/sys/kernel/randomize_va_space is 2, emacs fails to build:
>
>     Dumping under the name emacs
>     **************************************************
>     Warning: Your system has a gap between BSS and the
>     heap (20865783 bytes).  This usually means that exec-shield
>     or something similar is in effect.  The dump may
>     fail because of this.  See the section about
>     exec-shield in etc/PROBLEMS for more information.
>     **************************************************
>     /bin/bash: line 7:  8981 Segmentation fault      (core dumped)
> ./temacs --batch --load loadup bootstrap
>     Makefile:815: recipe for target 'bootstrap-emacs' failed
>     make[1]: *** [bootstrap-emacs] Error 1
>     make[1]: Leaving directory '/tmp/emacs/src'

Is this still an issue with Emacs 27.0.50 (current master branch)?

etc/NEWS says:

 ** Emacs now uses a "portable dumper" instead of unexec.
 This improves compatibility with memory allocation on modern systems,
 and in particular better supports the Address Space Layout
 Randomization (ASLR) feature, a security technique used by most modern
 operating systems.

Thanks,
Stefan Kangas





  reply	other threads:[~2019-09-14  4:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-15 10:07 bug#13964: 24.3; randomize_va_space is back Trent W. Buck
2019-09-14  4:18 ` Stefan Kangas [this message]
2019-09-14  8:52   ` bug#13964: bug#23529: Request for fixing randomize_va_space build issues Philippe Vaucher
2019-09-14 10:39     ` Stefan Kangas

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/emacs/

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

  git send-email \
    --in-reply-to=CADwFkmmO+n4oA8ZeQrTNtfCqyF2pa9vXiG+joMD5gG+QJnDj1g@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=13964@debbugs.gnu.org \
    --cc=23529@debbugs.gnu.org \
    --cc=philippe.vaucher@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).