Compiling gmp 4.2.4

Torbjorn Granlund tg at
Fri Dec 26 15:10:28 CET 2008

Rich Smrcina <rsmrcina at> writes:

  Torbjorn Granlund wrote:
  > It is strange.
  > The reference to sdiv_qrnnd is presumably from
  > mpn/generic/udiv_w_sdiv.c, and longlong.h is setup to #define it.
  > Either your build picks up some incompatible longlong.h, or
  > your compiler does not #define the symbols longlong.h checks.
  > Or perhaps s390x is a 64-bit system?  There are some hints in that
  > direction.  GMP has not been ported to that system.
  Yes, s390x is indeed 64 bit.  SUSE provides gmp 4.1.4 with SLES 10 for s390x, but not 
  the -devel packages.  So someone did get it to compile, either they got past the error 
  I'm getting, or they ignored it.  I need this package as a prereq to compile another 
What does gmp's config.guess print?


More information about the gmp-bugs mailing list