libtool
[Top][All Lists]
Advanced

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

Re: -dlopen self and optimizing away symbols


From: Ralf Wildenhues
Subject: Re: -dlopen self and optimizing away symbols
Date: Fri, 18 Aug 2006 18:53:58 +0200
User-agent: Mutt/1.5.12 (2006-08-10)

Hello Howard,

* Howard Chu wrote on Fri, Aug 18, 2006 at 12:48:33AM CEST:
> 
> We used to use both, but dropped -export-dynamic because it seemed to 
> misbehave. Those changes are way back in the mists of time.

If you're speaking about this statement
http://www.openldap.org/cgi-bin/wilma_hiliter/openldap-devel/200605/msg00000.html?line=37#hilite
then I think what you're expecting and what libtool offers simply
doesn't match.  And I think the documentation does not claim otherwise.
(If you disagree, I'd be glad about a bug report.)

There is currently no portable way to ensure all objects (and thus all
their symbols) of a library linked statically to a program end up being
included except listing all the objects.  Per-deplib flags would fix
that (-whole-archive), for example, as would another, libtool-specific
(but portable to all systems) syntax.  Adding this feature (may not be
desirable at this point but) is not difficult.

You're not the first to ask for this feature though, I think we
should add it.

If instead "misbehave" refers to some other issue caused by using
-export-dynamic, then I have not been able to find it (by quickly
searching the openldap lists), and would be happy about any more
information.

Cheers,
Ralf




reply via email to

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