Linking failure on aarch64
Marc Glisse
marc.glisse at inria.fr
Wed Jul 1 22:39:16 UTC 2020
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
More information about the gmp-bugs
mailing list