cvs commit: src/lib/libc/gen fts-compat.c fts-compat.h
Yar Tikhiy
yar at comp.chem.msu.su
Sun Aug 26 21:13:52 PDT 2007
On Sun, Aug 26, 2007 at 08:25:20PM +0100, Ceri Davies wrote:
> On Sat, Aug 25, 2007 at 09:39:25AM -0600, M. Warner Losh wrote:
> > Also agreed. We're FreeBSD. We are tool users. We should use tools
> > in a way that makes sense for us. Solaris' and Linux's experiences
> > with versioning should inform our policies, there is no doubt, but
> > since I don't think I've seen either written down in exacting detail
> > that we can just import
>
> FYI, the "Linker and Libraries Manual",
> http://docs.sun.com/app/docs/doc/817-1984, is the definitive reference.
>From my reading of the document I can only say that it's the reference
on Sun's way of things in symbol versioning, which isn't quite the
same as that suggested by GNU ld(1); and the latter makes much more
sense to me. Namely Sun's ideology is to record version labels in
a shared object so that other binaries linked against a particular
version(s) of the object can verify if they get the right shared
object at runtime. Sun offers no way to have multiple versions of
the same symbol and so Sun makes the whole thing library-centric,
just a slight improvement over the good old major and minor versions
encoded in library file names. Unlike Sun's linker, GNU ld(1)
allows for versioning each symbol independently, and I believe it's
the reason we've bought symbol versioning for.
--
Yar
More information about the cvs-src
mailing list