This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Using linker scripts with dlopen
On Thu, Jul 28, 2011 at 10:32, Roland McGrath wrote:
>> Respectfully, there is another use case: In interpreters there is no
>> separate build phase, so dynamic loading makes sense for these
>> situations. This is where my patch is applicable. I'm open to any
>> suggestions for a better approach.
>
> Regardless of how it comes about that you're doing a particular dlopen,
> you really need to know the exact ABI of the symbols you're using, and
> that goes with a precise SONAME and a symbol version set. ?So if you
> think you know a symbol name and the appropriate ABI for it without
> knowing a precise SONAME and symbol version set too, you're just wrong.
this is the point ive tried to make with them in the past via the
Gentoo bugzilla but it seems i havent been able to get the point
across. no one is saying that dlopening the C library is wrong, but
we are saying that dlopening "libc.so" instead of "libc.so.6" is
wrong.
-mike