On Thu, 2 Jul 2020, Torbjörn Granlund wrote:
> ./configure --build=aarch64-apple-darwin MPN_PATH=generic Does it work better if you use the documented --disable-assembly instead? (disabling assembly seems like a strange thing to do...) For a new platform, disabling GMP's assembly actually makes some sense.
Ah, I didn't pay enough attention to the actual platform...
Apple uses the archaic convention of prepending an underscrore to glocal symbols. GMP handles that for really ancient BSD systems as well as for Macos on Powerpc and x86. But GMP does not handle that for Macos on Arm.
I thought this was all automatically detected, not hardcoded. PROLOGUE using GSYM_PREFIX, set based on the test GMP_ASM_UNDERSCORE.
-- Marc Glisse _______________________________________________ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs