building gmp-6.1 for s390 (31-bit) w/asm disabled failing with undefined sdiv_qrnnd
Torbjörn Granlund
tg at gmplib.org
Sun Nov 27 00:06:11 UTC 2016
Mike Frysinger <vapier at gentoo.org> writes:
building gmp-6.1.0 & gmp-6.1.1 like so:
./configure \
--build=s390-ibm-linux-gnu --host=s390-ibm-linux-gnu \
--enable-shared --disable-assembly --enable-cxx --disable-static
triggers this warning:
udiv_w_sdiv.c: In function ‘__gmpn_udiv_w_sdiv’:
udiv_w_sdiv.c:58:4: warning: implicit declaration of function ‘sdiv_qrnnd’ [-Wimplicit-function-declaration]
sdiv_qrnnd (q, r, a1, a0, d);
and the final lib has an undefined ref to the sdiv_qrnnd symbol.
Please try this https://gmplib.org/repo/gmp/rev/1890de258348 and comment
back.
Torbjorn: you should have access to this system to reproduce -- lgentoo3.
I do indeed, and I added this case to the night builds.
--
Torbjörn
Please encrypt, key id 0xC8601622
More information about the gmp-bugs
mailing list