https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90361
Bug ID: 90361 Summary: Undefined symbols in libstdc++ when building with --with-default-libstdcxx-abi=gcc4-compatible Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ostash at ostash dot kiev.ua Target Milestone: --- Hello, When build gcc-9.1.0 with --with-default-libstdc xx-abi=gcc4-compatible resulting libstdc++.so.6.0.26 contains following undefined symbols: U std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator std::basic_string_view<char, std::char_traits<char> >() const U std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::__sv_wrapper::__sv_wrapper(std::basic_string_view<char, std::char_traits<char> >) U std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_to_string_view(std::basic_string_view<char, std::char_traits<char> >) U std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::data() U std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::__sv_wrapper, std::allocator<char> const&) U std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::data() As result even minimal 'int main() { return 0; }' C++ program can't be linked.