summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2003-11-03 06:21:45 +0000
committerEli Zaretskii <eliz@gnu.org>2003-11-03 06:21:45 +0000
commit5a8b4aaef32f7249ee18ed52ef6b26ff9a695df3 (patch)
treeb5e92d65d6825a66a3eaf52fbf8996fc5300b38c /etc
parent8d1678be389aed6a7a02846e37678fbcdaeac3fc (diff)
downloademacs-5a8b4aaef32f7249ee18ed52ef6b26ff9a695df3.tar.gz
From David Ponce: document segfaults with the Linux kernels that
enable the Exec-shield functionality.
Diffstat (limited to 'etc')
-rw-r--r--etc/PROBLEMS26
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index a59b496bf75..9f75c20faf5 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -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.