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

Re: Problems building Subversion for Solaris (sparc)

From: Ed Hillmann <ed.hillmann_at_gmail.com>
Date: 2007-03-23 00:19:47 CET

On 3/23/07, Mark Phippard <markphip@gmail.com> wrote:
> On 3/22/07, Malcolm Rowe <malcolm-svn-dev@farside.org.uk> wrote:
>
> > On Thu, Mar 22, 2007 at 10:11:24AM -0400, Mark Phippard wrote:
> > > "ld: fatal: relocations remain against allocatable but non-writable
> > > sections"
> > >
> >
> > Check that gcc is using GNU ld, maybe? I'm sure I remember seeing other
> > reports of this problem in dev@ or users@ - have you checked the
> > archives?
>
> I searched for things like Solaris static and Solaris Apache and did not
> find anything good. I will pass along this suggestion though.
>
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/

My experiences with building SVN on Solaris is that you can't build
static libraries. At least the Solaris version I have (Solaris 9)
doesn't ship with static versions of some libraries. At the risk of
over-generalising, this is a Sun-thing, trying to discourage static
builds and encourage dynamic linking to core libraries.

In order to build the SVN binaries, but not require users to update
their LD_LIBRARY_PATH to find gcc libs in our installation, I ensure I
set the LD_FLAGS when building...

export LDFLAGS="-L$GCC_HOME/lib -R$GCC_HOME/lib"

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 23 00:19:59 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.