On 8/9/07, Garrett Rooney <rooneg@electricjellyfish.net> wrote:
> It's possible. I know I've debugged multithreaded svnserve processes
> with gdb in the past. Are you building a dynamically linked binary or
> a statically linked on? Statically linked often makes life easier for
> gdb, in my experience (and we descend into the voodoo debugging where
> you just try random crap until gdb behaves).
I couldn't figure out how to get subversion to really build statically.
I configure like this, but it still dynamically links libsvn*:
./configure --enable-static --disable-shared --prefix=$prefix
--enable-maintainer-mode --enable-debug --disable-mod-activation
--disable-subdir-config --enable-experimental-libtool
--with-apr=${prefix} --with-apr-util=${prefix} --with-neon=$prefix
--with-serf=$prefix --with-ssl --with-editor=/etc/alternatives/editor
--without-{apxs,berkeley-db,jdk,jikes,junit,ruby}
If I throw in --enable-all-static, then it won't link. I get lots of
errors from libsasl2.a. I'm probably missing static versions of some
of the supporting libraries.
-Dan C
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 10 18:20:45 2007