Red Hat Bugzilla – Bug 147884
[RHEL3] emacs srpm doesn't build anymore (execshield)
Last modified: 2015-01-07 19:09:28 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020
Description of problem:
Building on a full AS3 U4 system:
((51648 . 15332) (8352 . 0) (511 . 56) 72613 134860 (14 . 9) (21 . 0) (7135 . 1433))
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under names emacs and emacs-21.3.1
make: *** [emacs] Segmentation fault
make: *** Deleting file `emacs'
make: Leaving directory `/mnt/sdc1/3/BUILD/emacs-21.3/src'
make: *** [src] Error 2
error: Bad exit status from /mnt/sdc1/tmp/rpm-tmp.97432 (%build)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpmbuild --rebuild emacs-21.3-4.1.src.rpm
Very strange indeed. Reproduced on i386, but IA64 and x86_64 are just fine.
Yep, this is probably due to execshield being added to the kernel.
So one needs to build emacs with "setarch i386" for RHEL 3
now too. This will get fixed in the next emacs update.
ie this bug 101818 for RHEL 3..
Ugh. Logically, using 'setarch i386' on an i386 system should make no
difference at all. Reality defies logic though, and the package does
build correctly with 'setarch i386 rpmbuild --rebuild
emacs-21.3-4.1.src.rpm'. Thank you for this. I guess the bug can be
closed with WORKAROUND_AVAILABLE ;)
BTW, could this apply to RHEL 4 too? Better fix it before it hits the
Basically "setarch i386" disables the kernel VM extension that
breaks emacs dumping.
The workaround has already been in Fedora Core for a while
and is already in RHEL 4. :)
Thank you very much for reporting this issue.
[Leaving this open until the workaround has been built.]
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.