[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: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-10-09 22:56:36 CEST

Greg Hudson <ghudson@MIT.EDU> writes:

> 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 right. I think we could also use it to prevent the internal
svn_xxx__yyy symbols leaking out, although that may well require
changes to the way the test suite is linked.

> 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.

It's not portable. Some stuff here

http://people.redhat.com/drepper/dsohowto.pdf (Section 3, page 31)

I'd probably use an autoconf test to identify platforms that support a
linker version script. That should get Linux and BSD, and perhaps
other platforms using GNU ld. I believe the native Solaris tools
could use the same script, although I think they require different
command line options.

-- 
Philip Martin
---------------------------------------------------------------------
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:59:49 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.