----------------------------------------------------------------------------------
@MSGID: <kn9f9tFdi67U1@mid.individual.net>
954050ad
@REPLY:
<31950cc1-cddc-b734-12c0-ec8520c7fdc0@monash.edu> c40f08ef
@REPLYADDR moi <findlaybill@blueyonder.co.uk>
@REPLYTO 2:5075/128 moi
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
<kn9f9tFdi67U1@mid.individual.net>
@RFC-References: <kn6a69Fr9c4U1@mid.individual.net>
<31950cc1-cddc-b734-12c0-ec8520c7fdc0@monash.edu>
@TZUTC: 0100
@PID: Mozilla Thunderbird
@TID: FIDOGATE-5.12-ge4e8b94
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.
--- Mozilla Thunderbird
* Origin: usenet.network (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441