From: Jan Djärv Date: Sun, 3 Jul 2005 21:47:06 +0000 (+0000) Subject: * PROBLEMS (Fedora Core 4 GNU/Linux: Segfault during dumping): X-Git-Tag: emacs-pretest-22.0.90~8471 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cf14a51cd198957395aaa6aba818534d76b4181c;p=emacs.git * PROBLEMS (Fedora Core 4 GNU/Linux: Segfault during dumping): Added it again. --- diff --git a/etc/ChangeLog b/etc/ChangeLog index 07c8ddc47e5..18ec12243c4 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -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 --git a/etc/PROBLEMS b/etc/PROBLEMS index 73fe4615bf9..b8cfbd3782d 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -2376,8 +2376,10 @@ The fix is to install a newer version of ncurses, such as version 4.2. *** 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 @@ command when running temacs like this: 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