Re: Build failure on macOS Sonoma 14.0 beta

2023-09-21 Thread Marc Culler
On Wed, Sep 20, 2023 at 3:44 PM Torbjörn Granlund wrote: > Marc Culler writes: > > It is not possible for the GMP maintainers to analyse the effects of > various options which we do not know about. As I wrote before, please > just use --enable-fat. > If you read my ea

Re: Build failure on macOS Sonoma 14.0 beta

2023-09-21 Thread Marc Culler
This message is just to make sure that the situation is clear.: 1. Building gmp with -enable-fat fails with the XCode 15 compiler and the new XCode 15 linker. The error reported by the linker is impossible. It is reporting an out of range branch instruction in a function which is written in

Re: Build failure on macOS Sonoma 14.0 beta

2023-09-21 Thread Marc Culler
s, even in functions which are written in assembly language and which contain no branch commands whatsoever. I hope that the GMP project will try and succeed at getting Apple to fix this bug. (I have given up trying to get Apple to fix bugs. They just ignore me.) - Marc On Wed, Sep 20, 2023 at

Re: Build failure on macOS Sonoma 14.0 beta

2023-09-20 Thread Marc Culler
n Granlund wrote: > Marc Culler writes: > > I am unable to build gmp-6.2.1 on macOS Sonoma beta using the command > line > tools released for that system. The system is up to date. The hardware > of > the build system is "1.6 GHz Dual-Core Intel Core i5&q

Build failure on macOS Sonoma 14.0 beta

2023-09-20 Thread Marc Culler
t; $ ./configure --with-pic --build=${BUILD_SYSTEM} --host=arm64-none-darwin --prefix=${GMPPREFIX}/arm Note that the actual release of Sonoma is scheduled for September 26. - Marc Culler ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs

Re: Build failure on macOS Sonoma 14.0 beta

2023-09-20 Thread Marc Culler
I get exactly the same error with: export CFLAGS="-arch x86_64 -mmacosx-version-min=10.9" I will also try removing those options. - Marc On Wed, Sep 20, 2023 at 10:48 AM Marc Culler wrote: > Thanks for replying! > > The reason for the options "-mno

Re: Build failure on macOS Sonoma 14.0 beta

2023-09-20 Thread Marc Culler
: > > > > On 20 Sep 2023, at 16:36, Marc Culler wrote: > > > > …macOS Sonoma beta… > … > > …using: "Apple clang version 15.0.0 > > (clang-1500.0.40.1)" > > The same compiler version is now available on MacOS 13, together with > Xcode 15. > > _

Re: Build failure on macOS Sonoma 14.0 beta

2023-09-20 Thread Marc Culler
n Wed, Sep 20, 2023 at 12:01 PM Marc Culler wrote: > One more data point -- I do get a successful build if I omit the > --enable-fat option. That means no CFLAGS and configuring with: > > $ ./configure --with-pic --prefix=XX > > In this case the compiler options incl

Re: Build failure on macOS Sonoma 14.0 beta

2023-09-20 Thread Marc Culler
gt; On Wed, Sep 20, 2023 at 11:25 AM Hans Åberg wrote: > >> >> >> > On 20 Sep 2023, at 16:36, Marc Culler wrote: >> > >> > …macOS Sonoma beta… >> … >> > …using: "Apple clang version 15.0.0 >> > (

Re: Build failure on macOS Sonoma 14.0 beta

2023-09-22 Thread Marc Culler
50 AM Hans Åberg wrote: > > > On 20 Sep 2023, at 22:45, Marc Culler wrote: > > > > I learned by reading the release notes for XCode 15 that Apple rewrote > the linker for XCode 15. They also made the old linker available by using > -ld64 as a linker option. > >