libtool-patches
[Top][All Lists]
Advanced

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

Re: 329-gary-allow-RTLD_GLOBAL


From: Ralf Wildenhues
Subject: Re: 329-gary-allow-RTLD_GLOBAL
Date: Tue, 22 May 2007 14:16:42 +0200
User-agent: Mutt/1.5.15 (2007-05-20)

* Gary V. Vaughan wrote on Tue, May 22, 2007 at 02:11:03PM CEST:
>
> I'm wondering how to best warn people who have their project
> build rely on RTLD_GLOBAL that what they are doing is inherently
> non-portable.

Erm, relying on RTLD_LOCAL is non-portable.  Relying on RTLD_GLOBAL is
not; after all, dlpreloading offers similar.  But also relying on
allowing undefined symbols in your link is non-portable.  I don't see
how you can distinguish cases here reliably, in an automatic way.

> At first I thought about having the call to lt_dladvise_global
> emit a warning to stderr on first call, but that affects users
> as well as developers.
>
> Now I'm thinking the best we can do is flag it in the release
> notes, the NEWS file and the manual.

That would be fine.

Cheers,
Ralf




reply via email to

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