From owner-freebsd-current@FreeBSD.ORG Thu Nov 2 18:24:53 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1265616A412; Thu, 2 Nov 2006 18:24:53 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F04243DA8; Thu, 2 Nov 2006 18:24:22 +0000 (GMT) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 942F460B8; Thu, 2 Nov 2006 21:24:20 +0300 (MSK) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 581AD6074; Thu, 2 Nov 2006 21:24:20 +0300 (MSK) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id kA2IOJ9q001008; Thu, 2 Nov 2006 21:24:19 +0300 (MSK) (envelope-from ru) Date: Thu, 2 Nov 2006 21:24:19 +0300 From: Ruslan Ermilov To: Brooks Davis Message-ID: <20061102182419.GC774@rambler-co.ru> References: <454936CA.6060308@FreeBSD.org> <20061102115058.GB10961@rambler-co.ru> <20061102140948.GA70915@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8NvZYKFJsRX2Djef" Content-Disposition: inline In-Reply-To: <20061102140948.GA70915@lor.one-eyed-alien.net> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: No virus found Cc: Daniel Eischen , current@FreeBSD.org Subject: Re: libpthread shared library version number X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 18:24:53 -0000 --8NvZYKFJsRX2Djef Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 02, 2006 at 08:09:48AM -0600, Brooks Davis wrote: > On Thu, Nov 02, 2006 at 08:25:37AM -0500, Daniel Eischen wrote: > > On Thu, 2 Nov 2006, Ruslan Ermilov wrote: > >=20 > > >On Wed, Nov 01, 2006 at 04:07:38PM -0800, Maxim Sobolev wrote: > > >>Guys, > > >> > > >>I have noticed that libpthread shared library version number in 6-STA= BLE > > >>and 7-CURRENT is the same (.2), which causes all threaded application > > >>compiled for 6-STABLE to segfault when executed on 7-CURRENT system, > > >>unless libpthread.so.2 is replaced with with its 6-STABLE version whi= ch > > >>in turn will create problems with threaded apps compiled for 7-CURREN= T. > > >>IMHO we should increase version number in 7-CURRENT, so that it is in > > >>the line of what we have for other system libraries. > > >> > > >>Any objections? > > >> > > >Last time we bumped them was right before 6.0-RELEASE; we did it > > >both in HEAD and RELENG_6. We certainly should be bumping them > > >all again closer to a 7.0-RELEASE, when the RELENG_7 is about to > > >be created. If we bump some majors now, and break APIs later but > > >still before a release (we are allowed to do it in -CURRENT), we > > >would have to bump them again before a release, and because it's > >=20 > > No, in -current we force people to recompile everything. Plus > > we have symbol versioning in the libraries most likely to be > > effected. If we bump, we should enable symbol versioning at > > the same time. >=20 > I agree with the last part, but I think we need to bump sooner rather > than later because we need to support binary only applications compiled > against 6.x (remember, we're not really supporting anything else so > smart vendors are going to build against it). >=20 Hmm, bumping not versioned libraries *now* and not bumping them again at pre-release would work, but doing it without also bumping "to be versioned" libraries is IMO pointless. And if we bump all of them now, we'll have to bump some of them again when versioning is turned on by default. I think more important would be to know the plans regarding the symbol versioning in 7.0-RELEASE; if the plan is to have them versioned, then I think we should sync shlib majors bumping with this change. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --8NvZYKFJsRX2Djef Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFSjfTqRfpzJluFF4RAlcoAJ49cFVZide+/JbgWRoELmoqZmYJcQCeKC+m AFXkdj3ihzU07MwPs0JvrgU= =krKF -----END PGP SIGNATURE----- --8NvZYKFJsRX2Djef--