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

Re: Subversion library version numbers

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-10-09 22:07:24 CEST

On Sat, 2004-10-09 at 15:30, Philip Martin wrote:
> It appears that we have reduced an X.Y.Z triplet, as used by
> libfoo.so.X.Y.Z, down to a single X as used by libfoo-X.so. I guess
> that works so long as we follow our ABI versioning rules.

Right; moreover, we can't do any better, at least for ELF systems. The
part of the library filename outside of the soname doesn't actually do
anything, as far as I know.

> I wonder if we should start using ELF symbol versioning within the
> libraries? I guess the test suite might need tweaking as I think it
> calls one or two internal library functions.

As I understand it, symbol versioning would allow people to successfully
link against consumers of two different major versions of our
libraries. (The OSX two-level namespace would allow the same, I
believe.) That's a win, but I don't really know how it works, and I
didn't think there was a portable way of doing it.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 9 22:07:39 2004

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.