# HG changeset patch # User Jan Dj¸«£rv # Date 1120427226 0 # Node ID 679b14e7167778c7a858f35beb79f4033157e163 # Parent bbc8b6b4962d58aa0f7590ea446e5df7099dabcd * PROBLEMS (Fedora Core 4 GNU/Linux: Segfault during dumping): Added it again. diff -r bbc8b6b4962d -r 679b14e71677 etc/ChangeLog --- a/etc/ChangeLog Sun Jul 03 20:22:56 2005 +0000 +++ b/etc/ChangeLog Sun Jul 03 21:47:06 2005 +0000 @@ -1,3 +1,8 @@ +2005-07-03 Jan Dj,Ad(Brv + + * PROBLEMS (Fedora Core 4 GNU/Linux: Segfault during dumping): + Added it again. + 2005-06-29 Carsten Dominik * NEWS: Added an entry for Org-mode, and a change entry for diff -r bbc8b6b4962d -r 679b14e71677 etc/PROBLEMS --- a/etc/PROBLEMS Sun Jul 03 20:22:56 2005 +0000 +++ b/etc/PROBLEMS Sun Jul 03 21:47:06 2005 +0000 @@ -2376,8 +2376,10 @@ *** Linux: Segfault during `make bootstrap' under certain recent versions of the Linux kernel. With certain recent Linux kernels (like the one of Redhat Fedora Core -1 and 2), the new "Exec-shield" functionality is enabled by default, which +1 and newer), the new "Exec-shield" functionality is enabled by default, which creates a different memory layout that breaks the emacs dumper. +The work-around explained here is not enough on Fedora Core 4 (and possible +newer). Read the next item. Configure can overcome the problem of exec-shield if the architecture is x86 and the program setarch is present. On other architectures no @@ -2404,6 +2406,22 @@ setarch i386 ./temacs --batch --load loadup [dump|bootstrap] + +*** Fedora Core 4 GNU/Linux: Segfault during dumping. + +In addition to exec-shield explained above "Linux: Segfault during +`make bootstrap' under certain recent versions of the Linux kernel" +item, Linux kernel shipped with Fedora Core 4 randomizes the virtual +address space of a process. As the result dumping may fail even if +you turn off exec-shield. In this case, use the -R option to the setarch +command: + + setarch -R i386 ./temacs --batch --load loadup [dump|bootstrap] + +or + + setarch -R i386 make bootstrap + *** Fatal signal in the command temacs -l loadup inc dump. This command is the final stage of building Emacs. It is run by the