Re: GMP bug (?) - unable to build for ARM64 with assembly enabled

2020-10-28 Thread Andreas Buff
Am 16.10.20 um 11:48 schrieb Torbjörn Granlund: > Andreas Buff 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 backt

Re: GMP bug (?) - unable to build for ARM64 with assembly enabled

2020-10-16 Thread Andreas Buff
`__gmpn_sqr + 144     frame #4: 0x0001019fe838 PEPObjCAdapterFramework`__gmpn_powm + 3416     frame #5: 0x0001019b5678 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

Re: GMP bug (?) - unable to build for ARM64 with assembly enabled

2020-10-15 Thread Andreas Buff
Hi Marco, Am 14.10.20 um 22:21 schrieb Torbjörn Granlund: > Marco Bodrato 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

Re: GMP bug (?) - unable to build for ARM64 with assembly enabled

2020-10-14 Thread Andreas Buff
Am 14.10.20 um 15:38 schrieb Marc Glisse: > On Wed, 14 Oct 2020, Andreas Buff wrote: > >> Using host `aarch64-apple-darwin` gives me "unknown AArch64 fixup kind!" >> errors. > > There was a discussion related to arm64 and apple in july, did you try &

Re: GMP bug (?) - unable to build for ARM64 with assembly enabled

2020-10-14 Thread Andreas Buff
Hi, thanks (!) for useful and fast response. See below. Best, Andreas Am 14.10.20 um 14:50 schrieb Marc Glisse: > On Wed, 14 Oct 2020, Andreas Buff wrote: > >> We are cross building GMP for use on ARM64 iOS devices using this >> command: >> >> ``` >> ex

GMP bug (?) - unable to build for ARM64 with assembly enabled

2020-10-14 Thread Andreas Buff
Hi, We are cross building GMP for use on ARM64 iOS devices using this command: ``` export CFLAGS="-arch ${ARCH} -isysroot ${SDK_PATH} -miphoneos-version-min=${MIN_IOS_VERSION} -std=c99" export LDFLAGS="-arch ${ARCH}" export CC="$(whereis gcc) -arch ${ARCH} -isysroot ${SDK_PATH}"