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.

Thanks.  Note that this is still a bug and we'll be fixing this soon.
The doc update is just wise to have since this is a known issue.

> 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
> 
-- 
Adam Litke - (agl at us.ibm.com)
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