diff options
| author | Eli Zaretskii | 2003-11-03 06:23:11 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2003-11-03 06:23:11 +0000 |
| commit | 984002eb3babcf05857256c4e529c878fd9b5f19 (patch) | |
| tree | 0b410d6a549108e9a6f11de3edd2cb156df900db | |
| parent | d04103a1003598b33a5e1248be47f6c427e09466 (diff) | |
| download | emacs-984002eb3babcf05857256c4e529c878fd9b5f19.tar.gz emacs-984002eb3babcf05857256c4e529c878fd9b5f19.zip | |
From David Ponce: document segfaults with the Linux kernels that
enable the Exec-shield functionality.
| -rw-r--r-- | etc/ChangeLog | 5 | ||||
| -rw-r--r-- | etc/PROBLEMS | 26 |
2 files changed, 31 insertions, 0 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index f15514fdb3d..3e1c5879a28 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2003-11-03 David Ponce <david.ponce@wanadoo.fr> | ||
| 2 | |||
| 3 | * PROBLEMS: Document segfaults with Linux kernels that enable the | ||
| 4 | Exec-shield functionality. | ||
| 5 | |||
| 1 | 2003-10-30 Kenichi Handa <handa@m17n.org> | 6 | 2003-10-30 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * HELLO: Fix cases of language names. Make German lines one. | 8 | * HELLO: Fix cases of language names. Make German lines one. |
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index a59b496bf75..9f75c20faf5 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS | |||
| @@ -1,6 +1,32 @@ | |||
| 1 | This file describes various problems that have been encountered | 1 | This file describes various problems that have been encountered |
| 2 | in compiling, installing and running GNU Emacs. | 2 | in compiling, installing and running GNU Emacs. |
| 3 | 3 | ||
| 4 | * Segfault on GNU/Linux using certain recent versions of the Linux kernel. | ||
| 5 | |||
| 6 | With certain recent Linux kernels (like the one of Redhat Fedora Core | ||
| 7 | 1), the new "Exec-shield" functionality is enabled by default, which | ||
| 8 | creates a different memory layout that breaks the emacs dumper. | ||
| 9 | |||
| 10 | You can check the Exec-shield state like this: | ||
| 11 | |||
| 12 | cat /proc/sys/kernel/exec-shield | ||
| 13 | |||
| 14 | It returns 1 or 2 when Exec-shield is enabled, 0 otherwise. Please | ||
| 15 | read your system documentation for more details on Exec-shield and | ||
| 16 | associated commands. | ||
| 17 | |||
| 18 | When Exec-shield is enabled, building Emacs will segfault during the | ||
| 19 | execution of this command: | ||
| 20 | |||
| 21 | temacs --batch --load loadup [dump|bootstrap] | ||
| 22 | |||
| 23 | To work around this problem, it is necessary to temporarily disable | ||
| 24 | Exec-shield while building Emacs, using the `setarch' command like | ||
| 25 | this: | ||
| 26 | |||
| 27 | setarch i386 ./configure <configure parameters> | ||
| 28 | setarch i386 make <make parameters> | ||
| 29 | |||
| 4 | * Characters are displayed as empty boxes or with wrong font under X. | 30 | * Characters are displayed as empty boxes or with wrong font under X. |
| 5 | 31 | ||
| 6 | This can occur when two different versions of FontConfig are used. | 32 | This can occur when two different versions of FontConfig are used. |