]> git.eshelyaron.com Git - emacs.git/commitdiff
From David Ponce: document segfaults with the Linux kernels that
authorEli Zaretskii <eliz@gnu.org>
Mon, 3 Nov 2003 06:23:11 +0000 (06:23 +0000)
committerEli Zaretskii <eliz@gnu.org>
Mon, 3 Nov 2003 06:23:11 +0000 (06:23 +0000)
enable the Exec-shield functionality.

etc/ChangeLog
etc/PROBLEMS

index f15514fdb3d81d03e885a43f24d799c2ac25878e..3e1c5879a2828fc9b7e14d50301abc40ee8002bf 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-03  David Ponce  <david.ponce@wanadoo.fr>
+
+       * PROBLEMS: Document segfaults with Linux kernels that enable the
+       Exec-shield functionality.
+
 2003-10-30  Kenichi Handa  <handa@m17n.org>
 
        * HELLO: Fix cases of language names.  Make German lines one.
index a59b496bf752328113951df592ef84479dd1d663..9f75c20faf59fc8d746e4674cef03bddbd1e1945 100644 (file)
@@ -1,6 +1,32 @@
 This file describes various problems that have been encountered
 in compiling, installing and running GNU Emacs.
 
+* Segfault on GNU/Linux using certain recent versions of the Linux kernel.
+
+With certain recent Linux kernels (like the one of Redhat Fedora Core
+1), the new "Exec-shield" functionality is enabled by default, which
+creates a different memory layout that breaks the emacs dumper.
+
+You can check the Exec-shield state like this:
+
+    cat /proc/sys/kernel/exec-shield
+
+It returns 1 or 2 when Exec-shield is enabled, 0 otherwise.  Please
+read your system documentation for more details on Exec-shield and
+associated commands.
+
+When Exec-shield is enabled, building Emacs will segfault during the
+execution of this command:
+
+temacs --batch --load loadup [dump|bootstrap]
+
+To work around this problem, it is necessary to temporarily disable
+Exec-shield while building Emacs, using the `setarch' command like
+this:
+
+    setarch i386 ./configure <configure parameters>
+    setarch i386 make <make parameters>
+
 * Characters are displayed as empty boxes or with wrong font under X.
 
 This can occur when two different versions of FontConfig are used.