bug-libtool
[Top][All Lists]
Advanced

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

Re: ltdl support for versioned symbols


From: Ludovic Courtès
Subject: Re: ltdl support for versioned symbols
Date: Sun, 13 Mar 2011 17:31:17 +0100
User-agent: Gnus/5.110013 (No Gnus v0.13) Emacs/23.3 (gnu/linux)

Hi Ralf,

Ralf Wildenhues <address@hidden> writes:

> * Ludovic Courtès wrote on Sat, Mar 12, 2011 at 02:35:11PM CET:
>> I’m thinking about adding this to ltdl:
>> 
>>   void *lt_dlvsym (lt_dlhandle HANDLE, const char *NAME,
>>                    const char *VERSION);
>> 
>> On GNU systems[*], this would call ‘dlvsym’; on other systems, it would
>> call ‘lt_dlsym’.
>
> Hmmyes, maybe.
>
> You know about copyright assignment for nontrivial additions, HACKING,
> and that we love to see testsuite coverage for new features, I suppose?
> ;-)

I do :-), I just wanted to make sure there’s interest in it.

>> [*] Solaris ld supports symbol versioning but seems to lack ‘dlvsym’.
>
> However, it seems to have a bit weaker way of verifying the presence of
> some version in a shared library by calling dlsym (handle, version):
> http://www.shrubbery.net/solaris9ab/SUNWdev/LLM/p26.html#CHAPTER5-IX522

That doesn’t seem very useful to me because there’s nothing you can do
if a given symbol is available under several versions, and it doesn’t
allow you to know whether the symbol you’re interested in available in a
specific version.

> Maybe there is a way to exploit this reduced functionality as well.
> Can you test on Solaris?

Yes.

I’ll see what I can do and report back.

Thanks,
Ludo’.



reply via email to

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