-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.
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.
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-(
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.
-macosx_version_min has been renamed to -macos_version_min
ld: warning: -multiply_defined is obsolete
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.
I occurs to me that it might be _any_ static library? ... later
Installing the macOS Ventura 13.6 security update clobbers GNAT.
Simon's "magic formula", '-largs -Wl,-ld_classic' restores sanity.
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.
Simon's "magic formula", '-largs -Wl,-ld_classic' restores sanity.Now I have to find out how that works.
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.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 399 |
Nodes: | 16 (3 / 13) |
Uptime: | 64:46:00 |
Calls: | 8,355 |
Calls today: | 15 |
Files: | 13,159 |
Messages: | 5,893,806 |
Posted today: | 1 |