building gmp-6.1 for s390 (31-bit) w/asm disabled failing with undefined sdiv_qrnnd

Torbjörn Granlund tg at
Wed Dec 14 20:33:10 UTC 2016

Vincent Lefevre <vincent at> writes:

  I suppose that if one doesn't use the macros that depend on
  GMP internals, there should be no problems. In particular,
  udiv_qrnnd is not used, unless the user configured MPFR to use
  the GMP internals, but then that's the user's own problems.

There is a symbol LONGLONG_STANDALONE which mpfr might want to use.
It is documented in longlong.h's header.

Unfortunately, it is has been used everywhere it is needed, but that's
easily fixed.  I checked in a missing test of it now.

Please encrypt, key id 0xC8601622

More information about the gmp-bugs mailing list