Using xcode 26 with linker flag -ld_classic,get an error :
0 0x1042b9778 __assert_rtn + 160
1 0x1042bc560 ld::tool::SymbolTableAtom<x86_64>::classicOrdinalForProxy(ld::Atom const*) (.cold.3) + 0
2 0x1041f3da8 ld::tool::SymbolTableAtom<x86_64>::classicOrdinalForProxy(ld::Atom const*) + 172
3 0x1041f4c1c ld::tool::SymbolTableAtom::addImport(ld::Atom const*, ld::tool::StringPoolAtom*) + 140
4 0x1041f6500 ld::tool::SymbolTableAtom::encode() + 396
5 0x1041e83a8 ___ZN2ld4tool10OutputFile20buildLINKEDITContentERNS_8InternalE_block_invoke.413 + 36
6 0x182a95b2c _dispatch_call_block_and_release + 32
7 0x182aaf85c _dispatch_client_callout + 16
8 0x182acc478 _dispatch_channel_invoke.cold.5 + 92
9 0x182aa7fa4 _dispatch_root_queue_drain + 736
10 0x182aa85d4 _dispatch_worker_thread2 + 156
11 0x182c49e28 _pthread_wqthread + 232
A linker snapshot was created at:
/tmp/app-2025-06-13-215652.ld-snapshot
ld: Assertion failed: (it != _dylibToOrdinal.end()), function dylibToOrdinal, file OutputFile.cpp, line 5196.
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Topic:
Developer Tools & Services
SubTopic:
Xcode