GNU bug report logs - #13964
24.3; randomize_va_space is back

Previous Next

Package: emacs;

Reported by: "Trent W. Buck" <trentbuck <at> gmail.com>

Date: Fri, 15 Mar 2013 10:10:01 UTC

Severity: important

Tags: fixed

Merged with 23529

Found in version 24.3

Fixed in version 27.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: Philippe Vaucher <philippe.vaucher <at> gmail.com>
Cc: 23529 <at> debbugs.gnu.org, 13964 <at> 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
Philippe Vaucher <philippe.vaucher <at> 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




This bug report was last modified 5 years and 252 days ago.

Previous Next


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