Presently on machines that support the NX bit, 32bit programs which were linked with the xB linker script will segfault. This is a known problem but will not be fixed because the linker scripts have been deprecated in favor of the --hugetlb-align linking method. This patch adds two possible work arounds to the HOWTO file for this problem.
Signed-off-by: Eric Munson <[EMAIL PROTECTED]> --- Changes from V2: Removed NUMA and 64bit from problem qualifications Changes from V1: Moved problem and work around to Trouble Shooting section HOWTO | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/HOWTO b/HOWTO index 17307d0..fd174ec 100644 --- a/HOWTO +++ b/HOWTO @@ -712,6 +712,12 @@ ISSUE: When using the --hugetlbfs-align or -zmax-page-size link options, the TRY: Compile the program with the --relax linker option. Either add -Wl,--relax to CFLAGS or --relax to LDFLAGS. +ISSUE: When using the xB linker script with a 32 bit binary on a host with NX + support enabled, the binary segfaults. + +TRY: Recompiling with the --hugetlbfs-align options and use the new relinking + method or booting your kernel with noexec32=off. + Trademarks ========== -- 1.6.0.3 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel