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

Re: Subversion 1.8.x on Solaris 10 x86

From: Philip Martin <philip_at_codematters.co.uk>
Date: Wed, 02 Aug 2017 19:44:01 +0100

Ian Mordey <ian.mordey_at_wandisco.com> writes:

> So I don't see any __sync symbols anywhere..

Yes, that is what is expected for an APR_ATOMICS_GENERIC build.

> Does this mean they're in another dependency somewhere?

There are several options, including:

  - the __sync symbols are in one of the dependencies, zlib, openssl,
    etc.

  - the link is not picking up the APR library you just built but is
    picking up an APR installed somewhere else on the system and that
    APR refers to the __sync symbols.

  - the __sync symbols are in one of the Subversion libraries, but this
    is not supposed to happen.

Looking at your first email again it does appear that Subversion's
libsvn_subr might be the problem which is odd because Suversion is
supposed to use APR. I think you are building sqlite3 as part of
Subversion, so there will be sqlite code in Subversion's libsvn_subr but
I only see __sync_syncronize in sqlite3.c.

You can run nm on the Subversion object files, e.g:

   nm subversion/libsvn_subr/*.o

You can run nm on the various libraries to identify which library has
the references to the __sync symbols:

  nm subversion/libsvn_subr/.libs/libsvn_subr-1.a
  nm /opt/WANdisco/lib/libssl1.so

-- 
Philip
Received on 2017-08-02 20:44:08 CEST

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