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

Vincent Lefevre vincent at vinc17.net
Sat Dec 10 00:17:31 UTC 2016


On 2016-12-09 22:29:18 +0100, Torbjörn Granlund wrote:
> Right.  The longlong.h file is shared among several GNU programs, but I
> long ago stopped trying to keep GMP's version easily usable outside of
> GMP.
> 
> In particular, GMP's longlong.h requires various external functions, and
> the condition under which these are needed are part of the internals.
> 
> This is a MPFR problem.  It is unfixable in GMP.

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.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


More information about the gmp-bugs mailing list