From owner-cvs-all@FreeBSD.ORG Mon Aug 27 04:13:52 2007 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 050DA16A417; Mon, 27 Aug 2007 04:13:52 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.freebsd.org (Postfix) with ESMTP id 58BDA13C457; Mon, 27 Aug 2007 04:13:51 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.4) with ESMTP id l7R4DeMp054696; Mon, 27 Aug 2007 08:13:40 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.4/Submit) id l7R4DdMp054694; Mon, 27 Aug 2007 08:13:39 +0400 (MSD) (envelope-from yar) Date: Mon, 27 Aug 2007 08:13:38 +0400 From: Yar Tikhiy To: Ceri Davies Message-ID: <20070827041338.GF21352@comp.chem.msu.su> References: <20070824.172212.74696955.imp@bsdimp.com> <20070825053302.GG99474@comp.chem.msu.su> <20070825.093925.43008968.imp@bsdimp.com> <20070826192520.GH76132@submonkey.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070826192520.GH76132@submonkey.net> User-Agent: Mutt/1.5.9i Cc: src-committers@freebsd.org, alfred@freebsd.org, cvs-all@freebsd.org, deischen@freebsd.org, cvs-src@freebsd.org, "M. Warner Losh" Subject: Re: cvs commit: src/lib/libc/gen fts-compat.c fts-compat.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2007 04:13:52 -0000 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