g++ errors after upgrading XCode Command Line tools to version 15.0.0.0.1.1694021235

Carlo Tambuatco oraclmaster at gmail.com
Fri Sep 22 12:09:41 UTC 2023


macOS 13.5.2
package-id: com.apple.pkg.CLTools_Executables
version: 15.0.0.0.1.1694021235

My g++-mp-12 (from gcc version 12) install on macports started giving me these errors compiling 
C++ programs after upgrading my XCode command line tools a few days ago.

Is this something macports will address in a future update? Do I need to reinstall/recompile 
all of macports?

-macosx_version_min has been renamed to -macos_version_min
0  0x106e2df43  __assert_rtn + 64
1  0x106d2ff43  ld::AtomPlacement::findAtom(unsigned char, unsigned long long, ld::AtomPlacement::AtomLoc const*&, long long&) const + 1411
2  0x106d4c431  ld::InputFiles::SliceParser::parseObjectFile(mach_o::Header const*) const + 19745
3  0x106d5cb71  ld::InputFiles::parseAllFiles(void (ld::AtomFile const*) block_pointer)::$_7::operator()(unsigned long, ld::FileInfo const&) const + 657
4  0x7ff80f31d066  _dispatch_client_callout2 + 8
5  0x7ff80f33018f  _dispatch_apply_invoke_and_wait + 213
6  0x7ff80f32f692  _dispatch_apply_with_attr_f + 1207
7  0x7ff80f32f847  dispatch_apply + 45
8  0x106df5972  ld::AtomFileConsolidator::parseFiles(bool) + 370
9  0x106d7cd67  main + 12263
ld: Assertion failed: (resultIndex < sectData.atoms.size()), function findAtom, file Relocations.cpp, line 1336.
collect2: error: ld returned 1 exit status
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20230922/4c44feab/attachment.htm>


More information about the macports-users mailing list