gmp-6.1.2: configure MPN_PATH="generic" fails on 64 bit

Karsten Scheibler karsten.scheibler at
Wed Apr 18 13:14:19 UTC 2018


Am 18.04.2018 um 14:47 schrieb Torbjörn Granlund:
> Karsten Scheibler <karsten.scheibler at> writes:
>    Compiling gmp-6.1.2 on Ubuntu 16.04.4 (x86_64) with a ./configure
>    works without problems.
>    But when trying to disable the assembly routines using:
>    ./configure MPN_PATH="generic"
>    configure fails with the following error:
>    configure: error: no version of invert_limb_table found in path: generic
>    In contrast, when using 32 bit configure has no problems (make
>    finishes without problems as well):
>    ./configure ABI=32 MPN_PATH="generic" CFLAGS="-m32"
>    Furthermore, gmp-6.1.99-20180418 behaves the same.
> Playing with GMP's various internal variables (be it configure, make, or
> library variables) is strongly discouraged.  Please use the documented
> methods for configuration, build and use of GMP.

I have to admit that I used this for MPIR, but forgot to check for an 
alternative for GMP. Now, I discovered the configure option 


More information about the gmp-bugs mailing list