[MacPorts] #68312: gcc13 C++ library linking error
MacPorts
noreply at macports.org
Sun Oct 1 17:29:45 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
Resolution: | Keywords:
Port: gcc13 |
-----------------------+--------------------
Description changed by ryandesign:
Old description:
> 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
New description:
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#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list