[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] libsvn SONAMEs and APR

From: Michael Sweet <mike_at_easysw.com>
Date: 2006-03-31 13:15:51 CEST

Peter Samuelson wrote:
> [Peter Samuelson]
>> Would you consider accepting a patch to make SONAME handling explicit
>> in the Makefile, and also make it sensitive to apr version? Would
>> you consider this for 1.3.1 or 1.3.2?
>
> Ping. I think maxb and ghudson agree with me, jerenkrantz and joe
> disagree. Are there further questions I can answer, anything else I
> can do so that you can make a decision on this?
>
> It has been noted that this is somewhat time-sensitive - apache 2.2 is
> on the rise, and every user and vendor who upgrades to it and
> recompiles subversion will need to decide how to handle the ABI change.
> In my opinion, the only sane options for Subversion are to make this
> change (or an equivalent solution) as soon as possible (by 1.3.2?), or
> refuse to support Apache 2.2 until Subversion 2.0.
>
> * http://svn.haxx.se/dev/archive-2006-03/0522.shtml
> My patch. It illustrates two approaches to detect the ABI - please
> pick one. (:
>
> * http://svn.haxx.se/dev/archive-2006-03/0503.shtml
> I attempt to explain the need for this. Justin, did you have any
> further questions?
>
> * http://svn.haxx.se/dev/archive-2006-03/0583.shtml
> Joe Orton agrees that delaying this decision hurts users. He _seems_
> to be suggesting that apache 2.2 not be supported at all until
> Subversion 2.0, but I hate to put words in someone's mouth - Joe, can
> you clarify what position you think Subversion should take on this?
>
> If other developers could read the above messages and weigh in, that
> would be great. I'm happy to answer any further questions.

Given that Subversion is so closely tied to APR, it would make sense
to offer an alternate DSO version number when compiled against APR
1.x. Assuming that APR doesn't make any more disruptive changes
like the 0.x to 1.x transition, that'll just mean that Subversion 2
will have a DSO major version of 3 (or whatever) instead of 1.
Alternately, you could use numbered suffix on the library name, e.g.
"libsvn_client2".

Support for DSO versioning will also allow for proper identification
of ABI revisions, such that an application compiled against the 1.3
libraries will not run with the 1.2 libraries.

The alternative is for applications linked against Subversion to
start behaving erratically after an update of Subversion, APR, and/or
Apache...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 31 13:16:27 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.