bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libtool 2.2 ABI issue


From: Yoann Vandoorselaere
Subject: Re: Libtool 2.2 ABI issue
Date: Wed, 05 Nov 2008 07:59:35 +0100

Hello Ralf,

Le mardi 04 novembre 2008 à 23:10 +0100, Ralf Wildenhues a écrit :
> * Yoann Vandoorselaere wrote on Tue, Nov 04, 2008 at 04:16:47PM CET:
> > We are experiencing an issue following the libtool/libltdl 2.2 release
> > due to the way we use the system in Prelude.
> > 
> > The Prelude library (libprelude), provide a plugin API using
> > libtool/libltdl, and try to hide most of the details to the application
> > implementing plugin support through libprelude (for one, application
> > don't have to use libltdl directly).
> > 
> > In order to support dlpreopening, libprelude used to provide the
> > following support code in prelude-plugin.h:
> 
> > extern const void *lt_preloaded_symbols[];
> > 
> > #define PRELUDE_PLUGIN_SET_PRELOADED_SYMBOLS()                     \
> >         prelude_plugin_set_preloaded_symbols(lt_preloaded_symbols)
> 
> Can you not include <ltdl.h> and use LTDL_SET_PRELOADED_SYMBOLS
> for your definition of PRELUDE_PLUGIN_SET_PRELOADED_SYMBOLS?
> 
> AFAICS then that would solve your "second problem", too, no?

That would be possible when libltdl is installed system wide, but not in
the case where libprelude compile it as a convenience library.

[...]

> > I found a partial solution to this problem by rewriting the table if its
> > first symbol is NULL or doesn't contain @address@hidden However, I find this
> > solution less than ideal, so any comment on this solution will be
> > welcome. 
> 
> Well, I'd like to believe that the symlist data structure and contents
> is an internal detail, that you shouldn't (need to) know about.
> 
> I'll look at your proposed function tomorrow.

Thanks, I'm looking forward to seeing your comments!

Regards,

-- 
Yoann Vandoorselaere <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]