From owner-svn-src-projects@freebsd.org Wed Oct 21 23:54:35 2015 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0D1FA1A14B for ; Wed, 21 Oct 2015 23:54:35 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9A806B51; Wed, 21 Oct 2015 23:54:35 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 92DC1127A; Wed, 21 Oct 2015 23:54:35 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 4CC6B1661B; Wed, 21 Oct 2015 23:54:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id j4vn97sExBaj; Wed, 21 Oct 2015 23:54:32 +0000 (UTC) Subject: Re: svn commit: r289692 - projects/zfsd/head/lib/libdevdctl DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com BD7C916616 To: John Baldwin , Baptiste Daroussin References: <201510211244.t9LCipMj060521@repo.freebsd.org> <49854328.Q4auaItPMj@ralph.baldwin.cx> <20151021225047.GA22651@ivaldir.etoilebsd.net> <1542570.1xCFep8lJG@ralph.baldwin.cx> Cc: src-committers@freebsd.org, svn-src-projects@freebsd.org From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <562825BB.7090401@FreeBSD.org> Date: Wed, 21 Oct 2015 16:54:35 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1542570.1xCFep8lJG@ralph.baldwin.cx> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Ef2ktal9X0gGn5OhlSw00oEKdf364mT4v" X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2015 23:54:36 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Ef2ktal9X0gGn5OhlSw00oEKdf364mT4v Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 10/21/2015 4:47 PM, John Baldwin wrote: > On Thursday, October 22, 2015 12:50:48 AM Baptiste Daroussin wrote: >> On Wed, Oct 21, 2015 at 09:52:34AM -0700, John Baldwin wrote: >>> On Wednesday, October 21, 2015 12:44:51 PM Baptiste Daroussin wrote: >>>> Author: bapt >>>> Date: Wed Oct 21 12:44:51 2015 >>>> New Revision: 289692 >>>> URL: https://svnweb.freebsd.org/changeset/base/289692 >>>> >>>> Log: >>>> Change SHLIB_MAJOR to 0 >>>> =20 >>>> The lib hasn't been released yet so need to start having a first v= ersion with .so.5 >>>> =20 >>>> Sponsored by: Gandi.net >>> >>> OTOH, this means more work in the future as any system-wide shlib bum= ps have >>> to bump this manually. I think it is best to just use the default sh= lib major >>> for new libraries. The extra maintenance load in the future isn't wo= rth having >>> a .0 IMO. >>> >> Right, but why is the default starting at .5 that does not sound right= to me? >> any explaination I missed? >=20 > There's a global at lib/Makefile.inc that re@ has bumped on each major = release=20 > (in the past), and is currently at 5. It hasn't been bumped since 8.0 = actually > since we are now more selective about bumps, but that does explain why = it is 5 > instead of 0. Auto bumping it without justification from ABI changes sounds odd. I'm glad it is not now. Symbol versioning should be used instead where possible as well as the benefits are greater for compat, as you know. >=20 > This is the distribution of versions in /lib and /usr/lib currently on = my 10-stable > desktop: >=20 > % ll /lib/*.so.* /usr/lib/*.so.* | awk -F. '{ print $NF }' | sort -n | = uniq -c > 6 0 > 12 1 > 11 2 > 7 3 > 15 4 > 47 5 > 22 6 > 8 7 > 6 8 > 1 9 > 4 10 > 13 11 >=20 --=20 Regards, Bryan Drewery --Ef2ktal9X0gGn5OhlSw00oEKdf364mT4v Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJWKCW7AAoJEDXXcbtuRpfPvY8IAIb98w8mIi8FOASvyEevmcI5 GZt+BFLPlPqYl05uT+wV5NFWetPdAminX6ObHhbt4aqqRZ0DE4YG/wM0RifFCd3U p7/cU+8VUdXdTVPsMlAXZt3A+KZYkV//EQ7fvVF39K0mY1/QaKvO1VbpLTUnrIrm Q11/cieJ80lnY69jGKNdwtp3Iu+pz5nWgrlJxwHJ/yilooPq8WsocawYv4Nx7irz MghFQoGBkqKhC76jAU2cBcX0S1JqJRtgFyVbPtfakN2jmZ4WI6EW0qrwTpxPDac6 9hcilfQHkUMYtfbTwgtdi/35E9ozlY4ofx/iak2jQ4DeNWRIjnHnDXq5Fw7ItVM= =fgk1 -----END PGP SIGNATURE----- --Ef2ktal9X0gGn5OhlSw00oEKdf364mT4v--