We want to document the possible need to use --relax with GNU ld to avoid
truncated relocations.  Update the documentation.

Signed-off-by: Adam Litke <[EMAIL PROTECTED]>
---

 HOWTO |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/HOWTO b/HOWTO
index 54519e2..7de9ac7 100644
--- a/HOWTO
+++ b/HOWTO
@@ -632,6 +632,16 @@ If an application fails to run, set the environment 
variable HUGETLB_DEBUG
 to 1. This causes additional diagnostics to be run. This information should
 be included when sending bug reports to the libhugetlbfs team.
 
+Specific Scenarios:
+-------------------
+
+ISSUE: When using the --hugetlbfs-align or -zmax-page-size link options, the
+       linker complains about truncated relocations and the build fails.
+
+TRY:   Compile the program with the --relax linker option.  Either add
+       -Wl,--relax to CFLAGS or --relax to LDFLAGS.
+
+
 Trademarks
 ==========
 


-------------------------------------------------------------------------
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

Reply via email to