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

Re: Compiling Subversion 1.2.0 on HP-UX 11i 64bit

From: Bob Proulx <bob_at_proulx.com>
Date: 2005-06-22 18:12:22 CEST

James Huang(APC-黃建蒼) wrote:
> Hello all, does anyone have a precompiled binary package for this?

Do you have any particular need for a 64-bit version of svn? I
believe the 32-bit version will be sufficient for all of your needs.

> /usr/bin/ld: (Warning) At least one PA 2.0 object file (.libs/libneon.
> la-20.o) was detected. The linked output may not run on a PA 1.x
> system.
> /usr/bin/ld: Invalid loader fixup in text space needed in output file
> for symbol "$0000041F" in input file ".libs/libneon.la-20.o"
> *** Error exit code 1
> Stop.

This error means that you are mixing 32-bit and 64-bit .o files.
You should have been seeing lots of warnings from the compilation with
messages such as this one.

  cc: warning 441: Previous '+DA' or '+DD' option overridden by '+DD64' option.

You will need to compile all of the package and libraries as 64-bit
objects. The problem is that the apr/build/apr_rules.mk file sets the
+DAportable flag. I did not look into it further.

File apr/build/apr_rules.mk:

  EXTRA_CFLAGS= -Ae +Z +DAportable -mt

This get propagated to the Makefile.

File Makefile.in:
  CFLAGS = @CFLAGS@ $(EXTRA_CFLAGS)

File Makefile:
  CFLAGS = +DD64 -Ae +Z +DAportable -mt $(EXTRA_CFLAGS)

So in order to build a fully 64-bit version you would need to avoid
the +DAportable flag and chase through the build and make sure
everything only compiles with +DD64.

Bob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 22 18:14:35 2005

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.