Linking failure on aarch64
FX
fxcoudert at gmail.com
Wed Jul 1 20:03:52 UTC 2020
Compiling the latest gmp (6.2.0) for aarch64-apple-darwin without assembly code leads to many failures of the type:
Symbol not found: ___gmpn_rsblsh1_n
The symbol is always ___gmpn_rsblsh1_n. It is indeed used, but not defined, in the libgmp:
$ nm .libs/libgmp.a | grep rsblsh
U ___gmpn_rsblsh2_n
U ___gmpn_rsblsh2_n
U ___gmpn_rsblsh1_n
U ___gmpn_rsblsh1_n
U ___gmpn_rsblsh1_n
U ___gmpn_rsblsh1_n
Could you help me understand where it should be defined, and why it is not linked into the library?
The configure line used is:
./configure --build=aarch64-apple-darwin MPN_PATH=generic
Thanks,
FX
More information about the gmp-bugs
mailing list