comp.lang.ada
 help / color / mirror / Atom feed
From: moi <findlaybill@blueyonder.co.uk>
Subject: Re: macOS Ventura 13.6 update problem
Date: Sun, 24 Sep 2023 01:47:57 +0100	[thread overview]
Message-ID: <kn9f9tFdi67U1@mid.individual.net> (raw)
In-Reply-To: <31950cc1-cddc-b734-12c0-ec8520c7fdc0@monash.edu>

On 23/09/2023 23:37, Leo Brewin wrote:
> On 23/9/2023 6:02 am, moi wrote:
>> Installing the macOS Ventura 13.6 security update clobbers GNAT.
>> Specifically, the link stage fails:
>>
>>> -macosx_version_min has been renamed to -macos_version_min
>>> 0  0x104de0f43  __assert_rtn + 64
>>> 1  0x104ce2f43  ld::AtomPlacement::findAtom(unsigned char, unsigned 
>>> long long, ld::AtomPlacement::AtomLoc const*&, long long&) const + 1411
>>> 2  0x104cff431 
>>> ld::InputFiles::SliceParser::parseObjectFile(mach_o::Header const*) 
>>> const + 19745
>>> 3  0x104d0fb71  ld::InputFiles::parseAllFiles(void (ld::AtomFile 
>>> const*) block_pointer)::$_7::operator()(unsigned long, ld::FileInfo 
>>> const&) const + 657
>>> 4  0x7ff80b631066  _dispatch_client_callout2 + 8
>>> 5  0x7ff80b642e09  _dispatch_apply_invoke + 213
>>> 6  0x7ff80b631033  _dispatch_client_callout + 8
>>> 7  0x7ff80b6410f6  _dispatch_root_queue_drain + 683
>>> 8  0x7ff80b641768  _dispatch_worker_thread2 + 170
>>> 9  0x7ff80b7cec0f  _pthread_wqthread + 257
>>> ld: Assertion failed: (resultIndex < sectData.atoms.size()), function 
>>> findAtom, file Relocations.cpp, line 1336.
>>> collect2: error: ld returned 1 exit status
>>> gnatmake: *** link failed.
>>
>> Simon's "magic formula", '-largs -Wl,-ld_classic' restores sanity.
>> I guess the CLTs were updated without asking permission. 8-(
>>
> 
> Hmm, this is odd. I'm having no problems.
> I'm running mac OS Ventura 13.6 (with the security update), CLT 15.0
> and gnat based on gcc 13.1.
> 
Ah!
I'm still on GNAT 12.2.0.

I should have added that, although the link phase works,
it produces this message, which is new:

> -macosx_version_min has been renamed to -macos_version_min

And Free Pascal Compiler version 3.2.2 [2021/05/16] for x86_64
also complains, thus;

> ld: warning: -multiply_defined is obsolete

But again, the linking succeeds.

-- 
Bill F.

  reply	other threads:[~2023-09-24  0:47 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 [this message]
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
replies disabled

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