GMP problem on hppa64 platform (missing __gmpn_umul_ppmm)

Steve Ellcey sje at cup.hp.com
Thu Oct 5 19:45:47 CEST 2006


> Your report is too terse for us to understand what is the problem.

The problem is that the GCC code is using the mpfr library and that in
turn is using the gmp library and when I link GCC into an executable I
get an undefined reference to this subroutine.  Is __gmpn_umul_ppmm a
gmp routine that I should be able to count on having in libgmp?  It
exists in the hppa32 library but not in the hppa64 library (both on
HP-UX).

ld: Unsatisfied symbol "__gmpn_umul_ppmm" in file /proj/opensrc/be/hppa64-hp-hpux11.11/lib/libmpfr.a[mulders.o]

So either the mpfr library shouldn't be using this routine or the gmp
library needs to be providing it.

I just rebuilt mpfr to make sure it was built using the latest gmp, but
that did not help.  The hppa64 gmp library does have __gmpn_umul_ppmm_r,
but no __gmpn_umul_ppmm.

Steve Ellcey
sje at cup.hp.com


More information about the gmp-discuss mailing list