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

Mike Frysinger vapier at gentoo.org
Sun Nov 27 01:06:53 UTC 2016


On 27 Nov 2016 01:06, Torbjörn Granlund wrote:
> 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.

it seemed to fix my builds.  thanks!
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://gmplib.org/list-archives/gmp-bugs/attachments/20161126/5873f6dd/attachment.bin>


More information about the gmp-bugs mailing list