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

Note regarding --disable-static on trunk

From: Justin Erenkrantz <jerenkrantz_at_apache.org>
Date: Wed, 11 Mar 2009 11:08:39 -0700

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

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1308869
Received on 2009-03-11 19:09:00 CET

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.