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

Buiding Subversion on Solaris 10 (x86) - ld: fatal: relocations remain against allocatable but non-writable sections

From: Jorge M <jmedina_at_e-dialog.com>
Date: Mon, 8 Dec 2008 16:24:55 -0500

I just installed Solaris 10 (x86) with the developers packages and I
want to build Subversion (Version 1.4.6)
 
I am getting the following error when executing the "make" step:

   ld: fatal: relocations remain against allocatable but non-writable
sections

Here is what I am executing:

 
PATH=/usr/sfw/bin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:/usr/cc
s/bin
  export PATH
  ./configure
  make

I found someone having a similar error:
http://www.filibeto.org/pipermail/solaris-users/2004-March/000660.html

So, I got GNU binutils; compiled and installed (under /usr/local/bin)
I added /usr/local/bin to the PATH and tried again:

 
PATH=/usr/bin/local:/usr/sfw/bin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/
usr/ucb:/usr/ccs/bin
  export PATH
  ./configure
  make

But I am still having the same problem.

    ld: fatal: relocations remain against allocatable but non-writable
sections
    collect2: ld returned 1 exit status
    make: *** [subversion/libsvn_ra_dav/libsvn_ra_dav-1.la] Error 1

The output from ./configure show that the ld supplied with Solaris is
still being used:

    checking for ld used by gcc... /usr/ccs/bin/ld
    checking if the linker (/usr/ccs/bin/ld) is GNU ld... no

Any help is appreciated.

-Jorge

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981302

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-08 22:25:55 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.