[Pkg-openldap-devel] Package status
Russ Allbery
rra at debian.org
Wed Jun 6 04:12:19 UTC 2007
Steve Langasek <vorlon at debian.org> writes:
> Uh... by imagining really, really hard? I can't find anything that
> supports it, so I must have been misremembering the capabilities of
> -export-symbols.
> FWIW, if using -export-symbols was already an option (which doesn't seem
> a bad idea to me), since the $libname.ver files are generated by
> configure, they could be postprocessed to insert the symbol
> version... :)
The problem with -export-symbols is that, as I understand it, it does some
weird symbol hiding thing that doesn't actually support symbol versioning
and you can't use it to do that because it doesn't use the same linker
option. But I could be wrong and would need to experiment with it.
> (In practice, do any platforms besides Solaris and the GNU toolchain
> support symbol versioning?
Not so far as I know.
> Those two platforms use the same syntax for their symbol version
> scripts, so while it's annoying to have to do this outside of libtool,
> the actual porting work seems minimal by this method.)
Unfortunately, they use different options depending on whether you're
using GNU ld or Solaris ld on Solaris, IIRC. But otherwise, yes. And I
don't remember what happens on Mac OS X, which uses the GNU toolchain but
does its own weird thing with shared libraries that isn't ELF.
--
Russ Allbery (rra at debian.org) <http://www.eyrie.org/~eagle/>
More information about the Pkg-openldap-devel
mailing list