GMP bug (?) - unable to build for ARM64 with assembly enabled
tg at gmplib.org
Fri Oct 16 09:48:41 UTC 2020
Andreas Buff <ab at pep.security> writes:
thanks to your help, its building fine now without --disable-assembly,
but it crashes using it.
I am totally not into ASM, so forgive unqualified report(s).
Here is the backtrace:
* thread #8, queue = 'PEPAsyncSession.queue', stop reason =
EXC_BAD_ACCESS (code=2, address=0x16fbcc000)
* frame #0: 0x00000001019baf58 PEPObjCAdapterFramework`__gmpn_add_n + 144
frame #1: 0x00000001019babe4 PEPObjCAdapterFramework`__gmpn_add + 68
frame #2: 0x00000001019e756c
PEPObjCAdapterFramework`__gmpn_toom2_sqr + 1020
frame #3: 0x00000001019c8030 PEPObjCAdapterFramework`__gmpn_sqr + 144
frame #4: 0x00000001019fe838 PEPObjCAdapterFramework`__gmpn_powm + 3416
frame #5: 0x00000001019b5678 PEPObjCAdapterFramework`__gmpz_powm + 2432
Let me know if and how to provide more useful information if needed.
Your report is scarce of detail. Perhaps there is a bug in your
Another possibility is that GMP does not work right on Ios. Since that
is a closed platform where developers need to pay Apple for programming,
you cannot excpect any effort from the GMP team with regards to
development or testing of GMP for Ios.
If somebody who pays the Apple programmer tax is willing to help you
debug your crash, we will certainly look at whatever GMP change might be
Please encrypt, key id 0xC8601622
More information about the gmp-bugs