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

Re: [PATCH] Build both serf and dav

From: Peter Samuelson <peter_at_p12n.org>
Date: 2007-06-18 21:32:06 CEST

[David Glasser]
> >If we can do so in a way that's not horrendously disruptive, +1 on renaming
> >libsvn_ra_dav to libsvn_ra_neon.
>
> What are the backwards compatibility issues here?

The problem is that, thanks to libtool, if someone has a binary that
they built with

  libtool --mode=link $(CC) -o foo foo.o -lsvn_ra-1

libtool will turn that into

  $(CC) -o foo foo.o -lsvn_ra-1 -lsvn_ra_local-1 -lsvn_ra_svn-1 -lsvn_ra_dav-1 -lapr1 -laprutil1 -lneon ...

Now, if the user upgrades to Subversion 1.5, his binary will break,
because the runtime linker will look for libsvn_ra_dav, even though it
doesn't actually need it.

This isn't a problem in Debian because we use the Debian version of
libtool (the famous Debian's Broken Libtool) which tries to avoid this
recursive linking. But it will happen everywhere else.

Received on Mon Jun 18 21:32:08 2007

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.