--- Begin Message ---
Subject: |
27.0.50; Dump fails on GNU/Linux ppc64le |
Date: |
Sat, 27 Oct 2018 06:35:17 -0400 |
Hi Paul,
On ppc64le Debian GNU/Linux 9, I'm seeing a bootstrap failure on the
master and emacs-26 branches that I didn't see the last time I built
Emacs:
[...]
Dumping under the name emacs
**************************************************
Warning: Your system has a gap between BSS and the
heap (424960392 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.
**************************************************
22496304 of 33554432 static heap bytes used
Makefile:749: recipe for target 'bootstrap-emacs' failed
make[1]: *** [bootstrap-emacs] Segmentation fault
make[1]: Leaving directory '/home/fitzsim/sources/emacs/src'
Makefile:421: recipe for target 'src' failed
make: *** [src] Error 2
I bisected the failure to:
commit 65889a6d127fcbbbdc1e74d26036e91bd24d1405
Author: Paul Eggert <address@hidden>
Date: Sun Jul 8 09:04:02 2018 -0700
Fix bootstrap infloop in GNU/Linux alpha
* src/emacs.c (main): Do not re-exec if EMACS_HEAP_EXEC
is already set (Bug#32083).
If I revert that commit's patch, the build succeeds.
Thomas
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#33174: 27.0.50; Dump fails on GNU/Linux ppc64le |
Date: |
Sun, 11 Nov 2018 22:39:56 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
Thomas Fitzsimmons wrote:
Actually, EMACS_HEAP_EXEC is true!
OK, thanks, that explains things. I installed the first attached patch to the
emacs-26 branch as a quick hack to work around the problem, and the second
attached patch to the master branch to come up with a better way to address the
underlying issue that doesn't involve fiddling with environment variables.
Please let us know if this doesn't work for your platform, as I've tested this
only on x86-64.
0001-Work-around-dumping-bug-on-GNU-Linux-ppc64le.patch
Description: Text Data
0001-Fix-dumping-on-GNU-Linux-ppc64le.patch
Description: Text Data
--- End Message ---