Kate Minola kminola at po0.glue.umd.edu
Tue Jun 22 23:03:35 CEST 2004

Has anyone had any luck compiling gmp for an

The best I have been able to do is a successful generic
build.  However, I would like to use some of the ia64
assembler routines ...

The first problem I run into is a configure error when
"checking if globals are prefixed by underscore".  I get
the error using either cc or gcc-3.3.2 (configured with GNU
as).  I got around this problem by specifying
--host="ia64-hp-none" when using "gcc -mlp64 -O3".

(My guess is that configure incorrectly thinks that
*-*-hpux is an hppa.)

At this point, I am able to do 'make', but I run into more
problems when doing 'make check'.  The first is an "Illegal
instruction" when running t-bswap.  Something is wrong with
the assembly code that m4 makes from mpn/ia64/mul_1.asm.

Any suggestions for how to further isolate the problem -
or to work around the problems - would be gratefully

Kate Minola
University of Maryland, College Park

More information about the gmp-bugs mailing list