[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging subversion compile failure for 64bit platform.

From: address@hidden
Subject: Debugging subversion compile failure for 64bit platform.
Date: Thu, 13 Dec 2007 09:25:03 -0500

Hi folks,

I have been trying to compile subversion on Sun Solaris 10 Update 4, with
Sun Studio 12, for 64 bit Sparc.

The compilation for subversion as such works, almost out of the box, aside
from some minor linking quirks, which can be fixed with the setting of
LDFLAGS and others etc, pp.

However the compilation of the swig-* components fails, as libtool is
dropping the -m64 flag somewhere.
I have produced a 4607 lines long libtool --debug output for the 
` gmake DESTDIR=/tmp/build/svn/staging swig-py ' [The output for gmake ...
javahl is about double the size], which results in:

ld: fatal: file
../../../../subversion/bindings/swig/python/libsvn_swig_py/.libs/libsvn_swig wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to .libs/

Prequisite to this is:

export TERM=vt100
export CC=cc
export CXX=CC
export CFLAGS="-fast -s -xarch=sparcvis2 -m64 -mt"
export LDFLAGS='-s -L/opt/baw/lib -R/opt/baw/lib -L/usr/sfw/lib/64
-R/usr/sfw/lib/64 -L/usr/lib/64 -R/usr/lib/64 -L/lib/64 -R/lib/64'

You can find the debug output here: .
I am thankful for every hint or clue I can get on this.

Thank you in advance.

So long,

mail2web LIVE – Free email based on Microsoft® Exchange technology -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]