GMP bug (?) - unable to build for ARM64 with assembly enabled
Andreas Buff
ab at pep.security
Fri Oct 16 08:15:07 UTC 2020
Hi Marco,
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.
Thanks,
Andreas
Am 15.10.20 um 13:57 schrieb Andreas Buff:
> Hi Marco,
>
>
> Am 14.10.20 um 22:21 schrieb Torbjörn Granlund:
>> Marco Bodrato <bodrato at mail.dm.unipi.it> writes:
>>
>> Look for a filename starting with gmp-6.2.0-202010...
>>
>> Then please follow up here!
>>
>> I changed how snapshots are managed.
>>
>> 1. There are now subdirs for each release series, plus "gmp-next". The
>> latter is made from the bleeding edge repo.
>>
>> 2. We have had an idea of an "active" repo, which is the same as the
>> autobuilds use. Now, both that active repo and the bleeding edge
>> repo will have snapshots manufactured once per day.
>>
>> I've long planned to change the snapshot mechanism even more:
>>
>> 3. Make snapshots just after checkins and only after checkins which pass
>> some tests. If n checkins are made in a day, n snapshots are made,
>> where n might be 0.
>>
>> 4. Do that for all GMP repos
> Using the latest snapshot (6.2.99-20201015) fixed the issue.
>
> Thx! A lot!
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 6884 bytes
Desc: not available
URL: <https://gmplib.org/list-archives/gmp-bugs/attachments/20201016/8d068d50/attachment-0001.bin>
More information about the gmp-bugs
mailing list