On Wed, 2 Dec 2009 17:44:49 +0100 Pierre Ossman <oss...@cendio.se> wrote:
> I upgraded to libtool 2 the other day and was hit by this bug again. > Has there been any work on fixing this rather large hole in the preload > functionality? > It seems things are different these days. The problem is now simply one of name mangling. libtool stores the module names unmangled in the preload structure, but libltdl looks for mangled names. E.g. I have the module "module-null-sink", which in the preload list is as follows: {"module-null-sink.a", (void *) 0}, But looking in ltdl.c:try_dlopen() you'll see that it looks for the mangled name "module_null_sink" with ".a" appended. So either libtool needs to start mangling, or libltdl needs to stop. I'm voting for the former as symbol names can already contain the mangled module name. Rgds -- Pierre Ossman OpenSource-based Thin Client Technology System Developer Telephone: +46-13-21 46 00 Cendio AB Web: http://www.cendio.com
signature.asc
Description: PGP signature
_______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool