Ralf Wildenhues wrote:
* Daniel Herring wrote on Mon, Nov 12, 2007 at 07:46:55AM CET:
Here's a relevant post from the GCC list; it mentions how to work around
some dlopen difficulties (including RTTI, exceptions, custom new/delete).
http://gcc.gnu.org/ml/gcc-help/2007-10/msg00248.html
Thanks for this link. FWIW, I could not easily see why RTLD_NOW should
be needed. If it is, there's an opportunity to extent libltdl's advise
API for this flag.
Lest see samples from
http://sourceware.org/ml/glibc-bugs/2005-08/msg00074.html
If chain2.c dlopen with RTLD_LOCAL only the program crash in
dlclose(segmentation fault).
So that work around is to use either RTLD_NOW or RTLD_LAZY.
[SNIP]
Roumen
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool