FX <fxcoud...@gmail.com> writes:

  > Fixing that, it builds fine and all checks pass. Thanks!

  With the patch, we are seeing an issue when static linking, however:

  Undefined symbols for architecture arm64:
    "__gmpn_pi1_bdiv_q_1", referenced from:
        ___gmpn_bdiv_q_1 in libgmp.a(bdiv_q_1.o)
       (maybe you meant: ___gmpn_pi1_bdiv_q_1)
  ld: symbol(s) not found for architecture arm64
  clang: error: linker command failed with exit code 1 (use -v to see 
invocation)

In mpn/arm64/bdiv_q_1.asm, the tail call to mpn_pi1_bdiv_q_1 needs a
GSYM_PREFIX prepended.  Like this:

        b       GSYM_PREFIX`'mpn_pi1_bdiv_q_1

Please try and report back.

-- 
Torbjörn
Please encrypt, key id 0xC8601622
_______________________________________________
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to