help / color / mirror / Atom feed
From: Simon Wright <>
Subject: Re: macOS Ventura 13.6 update problem
Date: Sat, 18 Nov 2023 20:35:07 +0000	[thread overview]
Message-ID: <> (raw)

moi <> writes:

> On 18/11/2023 14:22, Martin Krischik wrote:
>> moi schrieb am Freitag, 22. September 2023 um 22:02:21 UTC+2:
>>> Installing the macOS Ventura 13.6 security update clobbers GNAT.
>> Great. I already put off major macOS updated because I don't want to
>> break a working system. Now I need to avoid „security“ updates as
>> well. The „just works“ sale point is eroding.
> It was actually the well hidden update of the Command Line Tools
> accompanying th security update that caused the problem.
> Just make sure to unselect the CLT update.
>>> Simon's "magic formula", '-largs -Wl,-ld_classic' restores sanity.
>> Now I have to find out how that works.
> Just add "-largs -Wl,-ld_classic" to the linker parameters,
> if you have updated the CLTs.

e.g.   gnatmake foo.adb -largs -Wl,-ld_classic
or     gprbuild -P foo -largs -Wl,-ld_classic
or     alr build -- -largs -Wl,-ld_classic

The GNAT tools use gcc to drive the system linker ld. When gcc sees
-Wl,-foo,bar it sends "-foo bar" to ld (the 'l' means 'linker'; see the
GCC switches web page for the other possibilities).

When /usr/bin/ld (from Xcode 15) sees -ld_classic, rather than taking it
as an instruction to process libld_classic.{a,dylib}, it delegates the
actual link to /Library/Developer/CommandLineTools/usr/bin/ld-classic.


You could always download the 15.1 beta version of the tools package

      reply	other threads:[~2023-11-18 20:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-22 20:02 macOS Ventura 13.6 update problem moi
2023-09-23 11:16 ` Simon Wright
2023-09-23 16:36   ` Simon Wright
2023-09-23 22:37 ` Leo Brewin
2023-09-24  0:47   ` moi
2023-09-24 11:55   ` Simon Wright
2023-09-24 15:38     ` Simon Wright
2023-11-18 14:22 ` Martin Krischik
2023-11-18 19:23   ` moi
2023-11-18 20:35     ` Simon Wright [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox