From owner-freebsd-stable Mon Nov 13 20:26:30 2000 Delivered-To: freebsd-stable@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 2B93237B479 for ; Mon, 13 Nov 2000 20:26:27 -0800 (PST) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id UAA09162; Mon, 13 Nov 2000 20:26:21 -0800 (PST) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.0/8.11.0) id eAE4QLN42986; Mon, 13 Nov 2000 20:26:21 -0800 (PST) (envelope-from jdp) Date: Mon, 13 Nov 2000 20:26:21 -0800 (PST) Message-Id: <200011140426.eAE4QLN42986@vashon.polstra.com> To: stable@freebsd.org From: John Polstra Reply-To: stable@freebsd.org Cc: rivers@dignus.com Subject: Re: libc shlib version In-Reply-To: <200011140002.TAA00701@lakes.dignus.com> References: <200011140002.TAA00701@lakes.dignus.com> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <200011140002.TAA00701@lakes.dignus.com>, Thomas David Rivers wrote: > > asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami) wrote: > > I really wish we could keep the two version numbers from a.out, so I > > don't have to worry about stuff like this. :< > > You can, if you will accept some restrictions: > > Let's say the two numbers are the Version number and the Revision number. > > And, let's furthermore say we will restrict ourselves to only 99 > revisions per Version. > > Then; let the Elf library number be: > (100 * Version number) + Revision number > > *poof* two numbers... > > i.e. library version 10.20 would get 1020 as the Elf version number. Nope, that wouldn't provide the desired benefits. The whole point of having two version numbers is that they are treated differently. The a.out dynamic linker looked for an exact match on the major version number, and a >= match on the minor number. Doing what you suggest wouldn't accomplish that -- we'd still get the exact match on both numbers. This all was discussed to death in the mailing lists when we switched to ELF, so pardon me if I refuse to let myself get drawn into another long-winded rehash of it. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message