[email protected] (Niels Möller) writes:

> I've made an rc2 tarball, fixing known issues, except for the w64
> problems which I haven't had time to debug yet.

I think I have found the w64 problem. It breaks with mini-gmp.

The problem is, x86_64 assembly files like, e.g, x86_64/ecc-244-modp.asm
assumes that GMP_NUMB_BITS == 64. And when building with mini-gmp,
mp_limb_t is unsigned long, and with the microsoft w64 ABI, that's a
32-bit type, so we get GMP_NUMB_BITS == 32.

I think the correct way is to add some markup to the assembly files
saying what value of GMP_NUMB_BITS they need, and exclude files which
expect a value different from the one detected by configure.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to