[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-dev
Subject:    Re: building 0.28.1 svn client on solaris 2.8
From:       Justin Erenkrantz <justin () erenkrantz ! com>
Date:       2003-08-30 23:00:25
[Download RAW message or body]

--On Saturday, August 30, 2003 7:25 PM +0100 Will Partain 
<will.partain@verilab.com> wrote:

> Yes, there is a problem (on at least 2.6 and 8).  [Sorry, I
> hadn't yet got around to submitting a report.]  I was using
> GCC 3.3.
>
> Is the problem that the -pthreads flag is supposed to take
> care of things but, on Solaris, that fails to put a
> -lpthread on the end of the link line?  (That's all that is
> missing/wrong.)
>
> My workaround was: (a) build neon-0.23.9 separately and use
> that, plus (b) do: make all LIBS="-lsocket -lz -lpthread"

It's most likely because gcc-3.x requires compilation *of* gcc and execution 
*of* gcc on exactly the same OS revision (that is, *not* forward-compatible). 
That is, a gcc-3.3 release built on Solaris 2.6 will not create correct 
executables when compiling on a Solaris 8 box.

It has to do with the fact that gcc-3.x hardcodes what symbols the OS provides 
in its /usr/lib.  The symbols you listed were added in Solaris 8, IIRC.  I'm 
sure the GCC people can shed more light on this.  -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic