Re: Build failure on macOS Sonoma 14.0 beta

2023-09-21 Thread Torbjörn Granlund
Marc Culler writes: If you read my earlier messages you will see that I did try that and that it failed in exactly the same way. I am not trying to get the GMP maintainers to do anything which is impossible (unless you count trying to get Apple to fix bugs -- something which is

Re: Build failure on macOS Sonoma 14.0 beta

2023-09-21 Thread Hans Åberg
> 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. When I use the new linker, using MacPorts gcc12 and gmp-6.2.1, I

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
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 earlier messages you will

Re: Build failure on macOS Sonoma 14.0 beta

2023-09-21 Thread Marc Culler
I have found a workaround -- NOT A FIX -- for this problem. 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. Sure enough, if I add $ export LDFLAGS="-ld64" then my build