ARM: gmp has no support for thumb interworking
Richard Earnshaw
Richard.Earnshaw at buzzard.freeserve.co.uk
Sat Nov 18 01:16:26 CET 2006
On Fri, 17 Nov 2006 23:47:37 GMT, Richard Earnshaw wrote:
> > Sure possible. First step is to check the manual's chapter on how to
> > install gmp.
> >
>
> Now you've lost me. Do you mean setting MPN_PATH=generic during
> configure? if so, I've already tried it and it doesn't work. I get link
> errors because udiv_qrnnd is #defined in longlong.h as a call to
> udiv_qrnnd_preinv, which is one of the assembler routines in the ARM
> directory. building with -DLONGLONG_STANDALONE doesn't help either,
> because __gmpn_add_nc isn't defined anywhere.
>
> Note:
>
> export MPN_PATH=generic; configure; make; make check
>
> fails even on i386 with
>
As does
./configure --host=none-unknown-netbsd3.0; make; make check
R.
> /work/rearnsha/gnu/gmp/.libs/libgmp.so: undefined reference to
> `__gmpn_add_nc'
> /work/rearnsha/gnu/gmp/.libs/libgmp.so: undefined reference to
> `__gmpn_sub_nc'
> gnumake[4]: *** [t-bswap] Error 1
>
More information about the gmp-bugs
mailing list