[MacPorts] #68312: gcc13 C++ library linking error
MacPorts
noreply at macports.org
Sun Oct 1 13:22:31 UTC 2023
#68312: gcc13 C++ library linking error
----------------------+--------------------
Reporter: haberg-1 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: sonoma | Port: gcc12
----------------------+--------------------
There is a gcc13 C++ library linking error [1], which does not appear with
gcc12 or clang-17, when compiling [2]: The name "replace_cold", as in [1],
appears only in the static libraries libstdc++.a and libstdc++fs.a, and
not the dynamic library libstdc++.6.dylib. It does not appear in the gcc12
C++ libraries.
1. Undefined symbols for architecture x86_64:
"__ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE15_M_replace_coldEPcmPKcmm",
referenced from:
__ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
in database-lexer.o
__ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
in database-parser.o
__ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
in directive-lexer.o
2. https://savannah.gnu.org/git/?group=metalogic-inference
--
Ticket URL: <https://trac.macports.org/ticket/68312>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list