<div dir="ltr"><div>Yes, the linker in CLT 15.0 is also affected. I believe it is exactly the same linker as the one in Xcode 15.0.</div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 7, 2023 at 9:46 AM Jim Secan <<a href="mailto:james.secan@gmail.com">james.secan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">A related question - I install and use only the CLI toolkit for Xcode, not the entire Xcode package. Does this linker problem also effect use of the CLI toolkit, or can I safely upgrade to just the toolkit (I’m still on Ventura).<br>
<br>
Jim<br>
Seattle, WA<br>
> On 10/07/2023, at 8:03 AM, Chris Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" target="_blank">jonesc@hep.phy.cam.ac.uk</a>> wrote:<br>
> <br>
> Hi,<br>
> <br>
>> On 7 Oct 2023, at 3:40 pm, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" target="_blank">murrayeisenberg@gmail.com</a>> wrote:<br>
>> <br>
>> <br>
>>> OnFri, 6 Oct 2023 19:10:39 -0500,Kevin Horton <<a href="mailto:kevin01@kilohotel.com" target="_blank">kevin01@kilohotel.com</a>> wrote:<br>
>>> <br>
>>> I'm pondering whether I should upgrade to macOS Sonoma now, or continue to wait. Generally speaking, how well is Macports working on Sonoma? I have seen a surprising small number of issues posted on this list, and am wondering whether that is a good reflection of the status.<br>
>> <br>
>> <br>
>> It depends on which ports you require. Most of those I had under Ventura I could finally get installed under Sonoma. <br>
>> <br>
>> But a number of ports will not as yet re-install under Sonoma owing to a change in C compiler flags in Xcode 15 (and Sonoma seems not to allow using an earlier version of Xcode).<br>
> <br>
> <br>
> Not wishing to be pedantic, but the issue is not relating to the compiler, but instead the linker. Xcode 15 switched to a new implementation which has issues in some scenarios, for instance whenever asked to link against object files or dylibs created with GCC. A common reason for this is ports that need to use GCC to build fortran source code. OpenBLAS is a specific example that a number of ports use and thus are having issues linking against. <br>
> <br>
> Workarounds exist, basically by using specific linker options to go back to using the so called ‘classic’ linker. The problem is not all builds are easy to convince to use these flags.<br>
> <br>
> Cheers Chris<br>
> <br>
>> <br>
>> Among those troublesome ports is sbcl, and unfortunately the maxima port depends on sbcl.<br>
</blockquote></div></div>