bug-gmp
[Top][All Lists]
Advanced

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

3.1.1 assembler bug on IA-64


From: Richard Fish
Subject: 3.1.1 assembler bug on IA-64
Date: Thu, 1 Feb 2001 10:07:07 -0700 (MST)

I get the following error when compiling gmp-3.1.1 on RedHat 7.0 IA-64:

/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. 
-DOPERATION_mul_1    -g -O2 -c -o mul_1.lo mul_1.c
rm -f .libs/mul_1.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DOPERATION_mul_1 -g -O2 -c mul_1.c -fPIC 
-DPIC -o .libs/mul_1.lo
mul_1.c: In function `__gmpn_mul_1':
mul_1.c:49: Can't find a register in class `AR_I_REGS' while reloading `asm'.

Not being an assembly programmer, I can't help fix the actual
problem.  However, by applying the following patch, and configuring with
"CFLAGS=-DNO_ASM", I can build a functioning (although, not
speedy) libgmp.

Note that the gmp-3.0.1 included with RedHat 7.0 IA-64 is misconfigured
for a 32-bit system, which causes libgmp to segfault on integers larger
than about 96-bits.


-- 
Richard Fish                      Enhanced Software Technologies, Inc.
Software Developer                2920 E Camelback Rd Suite 250
address@hidden                    Phoenix, AZ  85016
(602) 470-1115                    http://www.estinc.com





reply via email to

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