From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-91-241.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=none autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: macOS Ventura 13.6 update problem Date: Sat, 23 Sep 2023 12:16:03 +0100 Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain Injection-Info: dont-email.me; posting-host="1e1ab16bb28763f08bf42c408fe24b53"; logging-data="817459"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18g74sXYdxouxGiQRyxBOLSbYaGtZjD7w4=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) Cancel-Lock: sha1:MN4xHyoHRWgwLGc7UGPZ3pxA4oY= sha1:0wnqNNeWuqHQbv34cChP+onrefw= Xref: news.eternal-september.org comp.lang.ada:65703 List-Id: moi writes: > 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-( I managed to avoid this this morning (I've been resisting the attempted upgrade to CLT 15.0) by looking to see what was proposed, seeing that there were 2 upgrades (Ventura & CLT), and unchecking the CLT. Iain Sandoe recommends[1] re-installing 14.3 (you should be able to download it from the developer.apple.com website, although you do need an apple ID to do that) [1] https://github.com/iains/gcc-12-branch/issues/22#issuecomment-1730213294