Build failure on macOS Sonoma 14.0 beta

Hans Åberg haberg-1 at telia.com
Fri Sep 22 09:34:54 CEST 2023



> On 22 Sep 2023, at 00:10, Marc Culler <marc.culler at gmail.com> wrote:
> 
> This appears to be a completely independent bug in Apple's new linker.  (You are linking with libgmp, but presumably that library was built with a different linker.  And the "error" is different.)

It may be because I use atomic code, in the reference counting.

> Once I knew what to look for I found lots of issues with the new linker reported on the Apple development site.  Perhaps we can assume that the new linker is still unstable and eventually will be working.

I reported it here because it may be if interest that there are bugs in connection with the new linker.

The release notes says it was rewritten to speed up static linking, but there is none such here, so they must have done some other, unspecified things, as well.

> In the meantime we can still use the old linker.  I guess that we can just carry on and hope for the best.

That seems a good strategy. But the risk is that one forgets about the new linker and is left out in the cold when the old one is removed.



More information about the gmp-bugs mailing list