mpn_sqrtrem{1,2} - patch for pure C implem

Marc Glisse marc.glisse at inria.fr
Sat Apr 1 19:58:00 UTC 2017


On Sat, 1 Apr 2017, Adrien Prost-Boucle wrote:

> On Sat, 2017-04-01 at 18:15 +0200, Marco Bodrato wrote:
>> Sorry, but even correcting the obvious typos, it doesn't pass the
>> tests.
>
> I think I have found the error.
> The final correction was wrong.
>
> I hope it's OK now, but... I still can't compile GMP with ABI=32.
> Like you suggested I launched: ./configure ABI=32 && make && make check
> The 5th or 6th source file does not compile:
>
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_com -m32 -O2 -pedantic -fomit-frame-pointer -mtune=core2 -march=core2 -c com.c  -fPIC -DPIC -o .libs/com.o
> In file included from ../gmp-impl.h:147:0,
>                  from com.c:31:
> ../fib_table.h:4:1: warning: data definition has no type or storage class
>  Error, error, this data is for 64 bits
>  ^~~~~

Did you run "make distclean" between the 64-bit build and the 32-bit
build? (doing the build out-of-tree avoids this kind of problem, since
you can easily do the 32-bit build in a different directory)

-- 
Marc Glisse


More information about the gmp-devel mailing list