svn commit: r289692 - projects/zfsd/head/lib/libdevdctl

Bryan Drewery bdrewery at FreeBSD.org
Wed Oct 21 23:54:36 UTC 2015


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
>>>>   
>>>>   The lib hasn't been released yet so need to start having a first version with .so.5
>>>>   
>>>>   Sponsored by:	Gandi.net
>>>
>>> OTOH, this means more work in the future as any system-wide shlib bumps have
>>> to bump this manually.  I think it is best to just use the default shlib major
>>> for new libraries.  The extra maintenance load in the future isn't worth having
>>> a .0 IMO.
>>>
>> Right, but why is the default starting at .5 that does not sound right to me?
>> any explaination I missed?
> 
> There's a global at lib/Makefile.inc that re@ has bumped on each major release 
> (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.

> 
> This is the distribution of versions in /lib and /usr/lib currently on my 10-stable
> desktop:
> 
> % 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
> 


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-projects/attachments/20151021/a3910683/attachment.bin>


More information about the svn-src-projects mailing list