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

Re: Problems build neon with 1.4.3 and 64-bit GCC

From: Peter Samuelson <peter_at_p12n.org>
Date: 2007-03-09 19:59:16 CET

[John Peacock]
> where I cannot build an in-tree neon unless I add -fPIC to CFLAGS in
> the Neon Makefile. Unlike the original reporter, I am using Intel
> Xeon CPU's, so this seems to be 64-bit specific (not AMD specific)...

Nah, that's the same architecture - 64-bit Intel Xeons are an AMD64
clone. Anyway, use of PIC for shared libraries is necessary on almost
all Unix ABIs out there - Intel x86 may let you get away with not using
it but that's an exception.

First of all, what is your configure command line - are you passing
--disable-shared or anything like that?

Then, can you try this:

  cd neon/src
  sed -i 's/--quiet//' Makefile
  make clean; make

and examine the output to see whether it actually does build a shared
library? If so, it should have been using -fPIC and -DPIC for the
object files; if not, it won't.

What's odd is that neon should be using the same toplevel copy of
libtool that the rest of subversion uses - so one wonders why it would
break for neon and not for libsvn_whatever.

Peter

Received on Fri Mar 9 19:59:38 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.