On Fri, 2006-08-25 at 16:04 -0500, Adam Litke wrote:
> On Fri, 2006-08-25 at 15:55 -0500, Steve Fox wrote:
> > It was discovered that some applications will crash if they are linked
> > against libhugetlbfs _and_ LD_PRELOAD is used to preload the library.
> > Recommend against doing this.

Gar! I left off the S-o-b line again. One of these days I'll start
remembering.

-------------------------------------------------------------------

docs: Add note about bug when preloading the library with a
linked application

Signed-off-by: Steve Fox <[EMAIL PROTECTED]>

diff --git a/HOWTO b/HOWTO
index ab42540..b4d7de6 100644
--- a/HOWTO
+++ b/HOWTO
@@ -160,6 +160,10 @@ environment variables:
   This tells the dynamic linker to load the libhugetlbfs shared
   library, even though the program wasn't originally linked against it.
 
+  Note: If the program is linked against libhugetlbfs, preloading the
+        library may lead to application crashes. You should skip this
+        step in that case.
+
 2. Set LD_LIBRARY_PATH to the directory containing libhugetlbfs.so
   This is only necessary if you haven't installed libhugetlbfs.so to a
   system default path.  If you set LD_LIBRARY_PATH, make sure the

-- 

Steve Fox
IBM Linux Technology Center

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to