bug-gmp
[Top][All Lists]
Advanced

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

gmp 4.0.1 linking problem on HP-UX 11


From: Bernd Nies
Subject: gmp 4.0.1 linking problem on HP-UX 11
Date: Mon, 11 Mar 2002 16:01:32 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020212

Hi,

I get this error when compiling/linking gmp 4.0.1 on
HP-UX 11.00:

gtar -xvzf gmp-4.0.1.tar.gz
cd gmp-4.0.1
export CFLAGS="+DAportable +DS32 +z -Ae -w"
./configure --prefix=/u00/app/oracle/local/tvdperl
gmake

gmake[2]: Entering directory `/u00/app/oracle/local/tvdperl/src/gmp-4.0.1'
/bin/sh ./libtool --mode=link cc +DAportable +DS32 +z -Ae -w -o libgmp.la -rpath /u00/app/oracle/local/tvdperl/lib -version-info 5:1:2 assert.lo compat.lo errno.lo extract-dbl.lo insert-dbl.lo memory.lo mp_bpl.lo [...] scanf/.libs/vscanf.o scanf/.libs/vsscanf.o -lc /usr/bin/ld: mpn/.libs/umul_ppmm.o: Mismatched ABI. 64-bit PA object file found in 32-bit link.
gmake[2]: *** [libgmp.la] Error 1

# uname -a
HP-UX ttchp02 B.11.00 A 9000/785 2002592767 two-user license

# ./config.guess
hppa2.0w-hp-hpux11.00

The HP-UX is on the latest patch level.

The 64bit version compiles fine but I need to compile a position independend 32bit version for linking against Perl::GMP module.
Obviously some CFLAGS are not passed to all compiler instructions.

A chatr on all object files at this time shows that some are
64bit. (see attached file chatr-object.txt.gz

Hope, this information is useful.

Regards,
Bernd Nies

--
Trivadis AG, eSecurity Systems Management
Bernd Nies, Consultant   Mobile: +41-79-647 87 11
Kanalstrasse 5           Fax: +41-1-808 70 21
CH-8152 Glattbrugg       address@hidden

Attachment: config.log.gz
Description: GNU Zip compressed data

Attachment: chatr-object.txt.gz
Description: GNU Zip compressed data


reply via email to

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