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 backtrace: > >* thread

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

2020-10-16 Thread Andreas Buff
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,

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

2020-10-16 Thread 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 backtrace: * thread #8, queue = 'PEPAsyncSession.queue', stop reason = EXC_BAD_ACCESS

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 > with a recent snapshot from

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

2020-10-14 Thread Hans Åberg
> On 14 Oct 2020, at 12:59, Andreas Buff wrote: > > We are cross building GMP for use on ARM64 iOS devices using this command: > … This link suggests using the -target option for makefiles outside Xcode. https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary

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

2020-10-14 Thread 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 latter is made from the bleeding edge repo. 2. We have had an idea of an

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

2020-10-14 Thread Marco Bodrato
Il 2020-10-14 21:28 t...@gmplib.org ha scritto: Andreas Buff writes: Latest snapshot is from may though There is one made every day. Look for a filename starting with gmp-6.2.0-202010... Then please follow up here! Ĝis, m ___ gmp-bugs

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

2020-10-14 Thread Torbjörn Granlund
Andreas Buff writes: Latest snapshot is from may though Not quite. Look better. There is one made every day. -- Torbjörn Please encrypt, key id 0xC8601622 ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs

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: >> >> ``` >> export CFLAGS="-arch ${ARCH} -isysroot

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}"

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

2020-10-14 Thread 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 with a recent snapshot from https://gmplib.org/download/snapshot/ ? -- Marc Glisse

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

2020-10-14 Thread Marc Glisse
On Wed, 14 Oct 2020, Andreas Buff wrote: 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}