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

Re: building 0.28.1 svn client on solaris 2.8

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2003-08-31 01:00:25 CEST

--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
Received on Sun Aug 31 01:01:09 2003

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.