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

Carlo Tambuatco oraclmaster at gmail.com
Fri Sep 22 12:05:11 UTC 2023

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

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
all of macports?

-macosx_version_min has been renamed to -macos_version_min0
0x106e2df43  __assert_rtn + 641  0x106d2ff43
ld::AtomPlacement::findAtom(unsigned char, unsigned long long,
ld::AtomPlacement::AtomLoc const*&, long long&) const + 14112
0x106d4c431  ld::InputFiles::SliceParser::parseObjectFile(mach_o::Header
const*) const + 197453  0x106d5cb71
ld::InputFiles::parseAllFiles(void (ld::AtomFile const*)
block_pointer)::$_7::operator()(unsigned long, ld::FileInfo const&)
const + 6574  0x7ff80f31d066  _dispatch_client_callout2 + 85
0x7ff80f33018f  _dispatch_apply_invoke_and_wait + 2136  0x7ff80f32f692
 _dispatch_apply_with_attr_f + 12077  0x7ff80f32f847  dispatch_apply +
458  0x106df5972  ld::AtomFileConsolidator::parseFiles(bool) + 3709
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/b98d5bc7/attachment.htm>

More information about the macports-users mailing list