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

Re: Note regarding --disable-static on trunk

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 11 Mar 2009 23:36:27 +0000

On Wed, Mar 11, 2009 at 11:08:39AM -0700, Justin Erenkrantz wrote:
> If you use --disable-static on trunk right now and try to run svn
> binary, you may end up with a binary that segfaults.
> However, I don't think I'm going to have cycles in the immediate term
> to create a patch for this. I'll try to find time during ApacheCon in
> a few weeks to fix if no one beats me to it. (If any of you are in
> the Amsterdam area, please stop by! I know Greg and I will both be
> there.)
> The fix is to build the libraries with '-shared' flag, but the svn
> binary should *not* have the '-shared' flag when it is linked. IOW,
> the libraries to be linked with one set of LDFLAGS (that has '-shared'
> set) and the binaries need another set of LDFLAGS that does *not* have
> '-shared' set. We'll need to add some magic to gen-make and friends
> to add this alternative linking flag for binaries and then teach
> configure to set the flags correctly.
> (The other short-term fix is to use jlibtool of course!)
> I hope this help points someone in the right direction to create a
> patch. =) -- justin

*argh* libtool headache *argh*
Received on 2009-03-12 00:37:16 CET

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