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: Gary V. Vaughan
Subject: Re: 329-gary-allow-RTLD_GLOBAL
Date: Tue, 22 May 2007 11:30:26 +0100

On 22 May 2007, at 10:45, Ralf Wildenhues wrote:
Hi Gary,

Hallo Ralf!

* Gary V. Vaughan wrote on Tue, May 22, 2007 at 11:38:02AM CEST:

Looking at this again in the fresh light of day, I realised that the entire point of the moddepend test is to check that its unresolved symbols can be satisfied from the program that lt_dlopen()'s it when using the global
hint.
It makes no sense to resolve the symbols at link time when trying to test
that the hint is correctly causing them to resolve at load time.

The only way I see forward is to skip this test on hosts that require all symbols to be resolved at link time... Should I also emit a 'not portable'
warning when using this feature on the hosts that do support it?

I'd prefer, if it's not too much work, that the test be run on all
systems, but on the tough ones not build moddepend, and exit SKIP
even if the other modules turn out to work.  If you agree and are
willing to do the work, consider a patch preapproved.  ;-)

Sure. Actually, I didn't mean to skip the entirety of the test in that file, just the parts that test that the global hint works. I think this is what
you mean too, right?

WDYT about emitting a portability warning when using the global hint? I'm worried that developers will abuse the feature on Linux, without the knowledge that porting their software will be an order of magnitude harder if they use
it... maybe a strong warning in the manual and NEWS file is enough?

Cheers,
        Gary
--
  ())_.              Email me: address@hidden
  ( '/           Read my blog: http://blog.azazil.net
  / )=         ...and my book: http://sources.redhat.com/autobook
`(_~)_ Join my AGLOCO Network: http://www.agloco.com/r/BBBS7912




Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

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