https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108327
Bug ID: 108327 Summary: [13 Regression] Lots of libstdc++ FAILs on powerpc64le-linux Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- I see FAIL: libstdc++-abi/abi_check FAIL: 22_locale/money_get/get/char/14.cc (test for excess errors) UNRESOLVED: 22_locale/money_get/get/char/14.cc compilation failed to produce executable FAIL: 22_locale/money_get/get/char/19.cc (test for excess errors) UNRESOLVED: 22_locale/money_get/get/char/19.cc compilation failed to produce executable FAIL: 22_locale/money_get/get/char/22131.cc (test for excess errors) UNRESOLVED: 22_locale/money_get/get/char/22131.cc compilation failed to produce executable FAIL: 22_locale/money_get/get/char/38399.cc (test for excess errors) UNRESOLVED: 22_locale/money_get/get/char/38399.cc compilation failed to produce executable FAIL: 22_locale/money_get/get/char/39168.cc (test for excess errors) UNRESOLVED: 22_locale/money_get/get/char/39168.cc compilation failed to produce executable FAIL: 22_locale/money_get/get/char/6.cc (test for excess errors) UNRESOLVED: 22_locale/money_get/get/char/6.cc compilation failed to produce executable FAIL: 22_locale/money_get/get/char/7.cc (test for excess errors) UNRESOLVED: 22_locale/money_get/get/char/7.cc compilation failed to produce executable FAIL: 22_locale/money_get/get/char/8.cc (test for excess errors) UNRESOLVED: 22_locale/money_get/get/char/8.cc compilation failed to produce executable FAIL: 22_locale/money_get/get/wchar_t/14.cc (test for excess errors) UNRESOLVED: 22_locale/money_get/get/wchar_t/14.cc compilation failed to produce executable FAIL: 22_locale/money_get/get/wchar_t/19.cc (test for excess errors) UNRESOLVED: 22_locale/money_get/get/wchar_t/19.cc compilation failed to produce executable FAIL: 22_locale/money_get/get/wchar_t/22131.cc (test for excess errors) UNRESOLVED: 22_locale/money_get/get/wchar_t/22131.cc compilation failed to produce executable FAIL: 22_locale/money_get/get/wchar_t/38399.cc (test for excess errors) UNRESOLVED: 22_locale/money_get/get/wchar_t/38399.cc compilation failed to produce executable FAIL: 22_locale/money_get/get/wchar_t/39168.cc (test for excess errors) UNRESOLVED: 22_locale/money_get/get/wchar_t/39168.cc compilation failed to produce executable FAIL: 22_locale/money_get/get/wchar_t/6.cc (test for excess errors) UNRESOLVED: 22_locale/money_get/get/wchar_t/6.cc compilation failed to produce executable FAIL: 22_locale/money_get/get/wchar_t/7.cc (test for excess errors) UNRESOLVED: 22_locale/money_get/get/wchar_t/7.cc compilation failed to produce executable FAIL: 22_locale/money_get/get/wchar_t/8.cc (test for excess errors) UNRESOLVED: 22_locale/money_get/get/wchar_t/8.cc compilation failed to produce executable FAIL: 22_locale/money_put/put/char/12971.cc (test for excess errors) UNRESOLVED: 22_locale/money_put/put/char/12971.cc compilation failed to produce executable FAIL: 22_locale/money_put/put/char/39168.cc (test for excess errors) UNRESOLVED: 22_locale/money_put/put/char/39168.cc compilation failed to produce executable FAIL: 22_locale/money_put/put/char/5.cc (test for excess errors) UNRESOLVED: 22_locale/money_put/put/char/5.cc compilation failed to produce executable FAIL: 22_locale/money_put/put/char/6.cc (test for excess errors) UNRESOLVED: 22_locale/money_put/put/char/6.cc compilation failed to produce executable FAIL: 22_locale/money_put/put/wchar_t/12971.cc (test for excess errors) UNRESOLVED: 22_locale/money_put/put/wchar_t/12971.cc compilation failed to produce executable FAIL: 22_locale/money_put/put/wchar_t/39168.cc (test for excess errors) UNRESOLVED: 22_locale/money_put/put/wchar_t/39168.cc compilation failed to produce executable FAIL: 22_locale/money_put/put/wchar_t/5.cc (test for excess errors) UNRESOLVED: 22_locale/money_put/put/wchar_t/5.cc compilation failed to produce executable FAIL: 22_locale/money_put/put/wchar_t/6.cc (test for excess errors) UNRESOLVED: 22_locale/money_put/put/wchar_t/6.cc compilation failed to produce executable on --with-long-double-128 --with-long-double-format=ieee powerpc64le-linux. The FAILs are: Excess errors: /usr/bin/ld: /tmp/ccSqrsjq.o:(.toc+0x40): undefined reference to `std::__gnu_cxx11_ieee128::money_get<char, std::istreambuf_iterator<char, std::char_traits<char> > >::id' collect2: error: ld returned 1 exit status or Excess errors: /usr/bin/ld: /tmp/ccz9eXoW.o:(.toc+0x18): undefined reference to `std::__gnu_cxx11_ieee128::money_get<wchar_t, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> > >::id' collect2: error: ld returned 1 exit status or Excess errors: /usr/bin/ld: /tmp/ccHAzeKf.o:(.toc+0x40): undefined reference to `std::__gnu_cxx11_ieee128::money_put<wchar_t, std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> > >::id' collect2: error: ld returned 1 exit status or Excess errors: /usr/bin/ld: /tmp/ccl2BKfH.o:(.toc+0x18): undefined reference to `std::__gnu_cxx11_ieee128::money_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::id' collect2: error: ld returned 1 exit status The list of exported money_*id symbols is the same in GCC 12 and 13: _ZGVNSt17__gnu_cxx_ldbl1289money_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE@@GLIBCXX_LDBL_3.4 OBJECT UNIQUE DEFAULT 8 _ZGVNSt17__gnu_cxx_ldbl1289money_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE2idE@@GLIBCXX_LDBL_3.4 OBJECT UNIQUE DEFAULT 8 _ZGVNSt17__gnu_cxx_ldbl1289money_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE2idE@@GLIBCXX_LDBL_3.4 OBJECT UNIQUE DEFAULT 8 _ZGVNSt17__gnu_cxx_ldbl1289money_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE2idE@@GLIBCXX_LDBL_3.4 OBJECT UNIQUE DEFAULT 8 _ZGVNSt7__cxx119money_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE@@GLIBCXX_3.4.21 OBJECT UNIQUE DEFAULT 8 _ZGVNSt7__cxx119money_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE2idE@@GLIBCXX_3.4.21 OBJECT UNIQUE DEFAULT 8 _ZGVNSt7__cxx119money_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE2idE@@GLIBCXX_3.4.21 OBJECT UNIQUE DEFAULT 8 _ZGVNSt7__cxx119money_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE2idE@@GLIBCXX_3.4.21 OBJECT UNIQUE DEFAULT 8 _ZGVNSt9money_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE@@GLIBCXX_3.4 OBJECT UNIQUE DEFAULT 8 _ZGVNSt9money_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE2idE@@GLIBCXX_3.4 OBJECT UNIQUE DEFAULT 8 _ZGVNSt9money_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE2idE@@GLIBCXX_3.4 OBJECT UNIQUE DEFAULT 8 _ZGVNSt9money_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE2idE@@GLIBCXX_3.4 OBJECT UNIQUE DEFAULT 8 _ZNSt17__gnu_cxx_ldbl1289money_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE@@GLIBCXX_LDBL_3.4 OBJECT UNIQUE DEFAULT 8 _ZNSt17__gnu_cxx_ldbl1289money_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE2idE@@GLIBCXX_LDBL_3.4 OBJECT UNIQUE DEFAULT 8 _ZNSt17__gnu_cxx_ldbl1289money_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE2idE@@GLIBCXX_LDBL_3.4 OBJECT UNIQUE DEFAULT 8 _ZNSt17__gnu_cxx_ldbl1289money_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE2idE@@GLIBCXX_LDBL_3.4 OBJECT UNIQUE DEFAULT 8 _ZNSt7__cxx119money_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE@@GLIBCXX_3.4.21 OBJECT UNIQUE DEFAULT 8 _ZNSt7__cxx119money_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE2idE@@GLIBCXX_3.4.21 OBJECT UNIQUE DEFAULT 8 _ZNSt7__cxx119money_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE2idE@@GLIBCXX_3.4.21 OBJECT UNIQUE DEFAULT 8 _ZNSt7__cxx119money_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE2idE@@GLIBCXX_3.4.21 OBJECT UNIQUE DEFAULT 8 _ZNSt9money_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE@@GLIBCXX_3.4 OBJECT UNIQUE DEFAULT 8 _ZNSt9money_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE2idE@@GLIBCXX_3.4 OBJECT UNIQUE DEFAULT 8 _ZNSt9money_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE2idE@@GLIBCXX_3.4 OBJECT UNIQUE DEFAULT 8 _ZNSt9money_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE2idE@@GLIBCXX_3.4 OBJECT UNIQUE DEFAULT 8 Looking at split debug info in GCC 13, I see 1616: 0000000000353708 8 OBJECT LOCAL DEFAULT 27 _ZNSt19__gnu_cxx11_ieee1289money_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE2idE 1747: 00000000003536d0 8 OBJECT LOCAL DEFAULT 27 _ZGVNSt19__gnu_cxx11_ieee1289money_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE2idE 1886: 0000000000353688 8 OBJECT LOCAL DEFAULT 27 _ZNSt19__gnu_cxx11_ieee1289money_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE2idE 2097: 0000000000353710 8 OBJECT LOCAL DEFAULT 27 _ZNSt19__gnu_cxx11_ieee1289money_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE2idE 2317: 0000000000353650 8 OBJECT LOCAL DEFAULT 27 _ZGVNSt19__gnu_cxx11_ieee1289money_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE 2705: 00000000003536c8 8 OBJECT LOCAL DEFAULT 27 _ZGVNSt19__gnu_cxx11_ieee1289money_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE2idE 2797: 0000000000353690 8 OBJECT LOCAL DEFAULT 27 _ZNSt19__gnu_cxx11_ieee1289money_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE 3163: 0000000000353648 8 OBJECT LOCAL DEFAULT 27 _ZGVNSt19__gnu_cxx11_ieee1289money_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE2idE symbols as well, perhaps we need to export those or some of those @@GLIBCXX_IEEE128_3.4.31 ?