shared libs without linker scripts?

simo idra at samba.org
Thu Jun 21 20:05:13 MDT 2012


On Fri, 2012-06-22 at 08:58 +1000, Andrew Bartlett wrote: 
> On Thu, 2012-06-21 at 14:22 +0200, Jelmer Vernooij wrote:
> 
> > Of course, symbol versioning will help you on Linux, but not all
> > platforms support symbol versioning.
> 
> On this, I'm thinking about the broader implications of running without
> a version script.  Isn't that what we use to make (eg, as an example
> that we know has poor internal namespace control) libsmbclient safe, and
> not expose all our internal guts, even on autoconf?
> 
> That is, can we do any shared libs, on any build system safely without
> it?  

Symbol versioning is orthobonal to the export list

Simo.

> Is fixing this more broadly just a platform-dependent thing, or else
> what did shared libraries do before version/linker scripts?


-- 
Simo Sorce
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 mailing list