Date: Mon, 27 Aug 2007 08:13:38 +0400 From: Yar Tikhiy <yar@comp.chem.msu.su> To: Ceri Davies <ceri@submonkey.net> Cc: src-committers@freebsd.org, alfred@freebsd.org, cvs-all@freebsd.org, deischen@freebsd.org, cvs-src@freebsd.org, "M. Warner Losh" <imp@bsdimp.com> Subject: Re: cvs commit: src/lib/libc/gen fts-compat.c fts-compat.h Message-ID: <20070827041338.GF21352@comp.chem.msu.su> In-Reply-To: <20070826192520.GH76132@submonkey.net> References: <20070824.172212.74696955.imp@bsdimp.com> <Pine.GSO.4.64.0708242252520.15344@sea.ntplx.net> <20070825053302.GG99474@comp.chem.msu.su> <20070825.093925.43008968.imp@bsdimp.com> <20070826192520.GH76132@submonkey.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070827041338.GF21352>