idra at samba.org
Tue Feb 23 07:31:49 MST 2010
On Tue, 2010-02-23 at 09:24 +0100, Stefan (metze) Metzmacher wrote:
> Using static libraries (.a files) is bad as that would allow
> the linker to optimize out symbols which aren't used by the binary,
> but need to be there for loaded .so modules at runtime.
It strikes me that there is no linker flag to tell it not to drop any
symbol. I wonder if adding fake calls for platfroms that really have
this problem to avoid dropping symbols wouldn't be a better solution,
yes it would be hackish, but the merged objects are worse imo.
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>
More information about the samba-technical