https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86333

            Bug ID: 86333
           Summary: [9 regression] libstdc++ basic_string fails to link
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wilco at gcc dot gnu.org
  Target Milestone: ---

Recently these tests started to fail on arm-none-linux-gnueabihf:

FAIL: 21_strings/basic_string/modifiers/64422.cc (test for excess errors)
FAIL: 21_strings/basic_string/modifiers/insert/char/1.cc (test for excess
errors)
FAIL: 21_strings/basic_string/modifiers/insert/wchar_t/1.cc (test for excess
errors)
FAIL: ext/pb_ds/regression/tree_map_rand.cc (test for excess errors)
FAIL: ext/pb_ds/regression/tree_set_rand.cc (test for excess errors)
FAIL: ext/pb_ds/regression/trie_map_rand.cc (test for excess errors)
FAIL: ext/pb_ds/regression/trie_set_rand.cc (test for excess errors)
FAIL: g++.dg/torture/pr60750.C   -O0  (test for excess errors)
FAIL: g++.dg/torture/pr60750.C   -Os  (test for excess errors)
UNRESOLVED: 21_strings/basic_string/modifiers/insert/char/1.cc compilation
failed to produce executable
UNRESOLVED: 21_strings/basic_string/modifiers/insert/wchar_t/1.cc compilation
failed to produce executable
UNRESOLVED: ext/pb_ds/regression/tree_map_rand.cc compilation failed to produce
executable
UNRESOLVED: ext/pb_ds/regression/tree_set_rand.cc compilation failed to produce
executable
UNRESOLVED: ext/pb_ds/regression/trie_map_rand.cc compilation failed to produce
executable
UNRESOLVED: ext/pb_ds/regression/trie_set_rand.cc compilation failed to produce
executable
UNRESOLVED: g++.dg/torture/pr60750.C   -O0  compilation failed to produce
executable
UNRESOLVED: g++.dg/torture/pr60750.C   -Os  compilation failed to produce
executable

Looking at g++.dg/torture/pr60750.C, the generated code hasn't changed, but the
library no longer contains this symbol:

pr60750.C:(.text._ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_OS8_[_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_OS8_]+0x12):
undefined reference to `std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::insert(unsigned int,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
collect2: error: ld returned 1 exit status

Reply via email to