From 7503472ae6fcb35494a48e1f08a9a24e444de49f Mon Sep 17 00:00:00 2001 From: Alexander Boettcher Date: Mon, 26 Apr 2021 12:55:16 +0200 Subject: [PATCH] stdcxx: add missing symbols for istream and thread Issue #3967 triggers using -O0 with test-libc_integration: libc_integration/main.cc:146: undefined reference to `std::istream::operator>>(unsigned long&)' contrib/stdcxx-80f380143250d4f951433876698b54fdac32b95f/include/stdcxx/std/thread:67: undefined reference to `vtable for std::thread::_State' --- repos/libports/lib/symbols/stdcxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repos/libports/lib/symbols/stdcxx b/repos/libports/lib/symbols/stdcxx index 92d46969f2..5e69253c2a 100644 --- a/repos/libports/lib/symbols/stdcxx +++ b/repos/libports/lib/symbols/stdcxx @@ -783,6 +783,7 @@ _ZTTSt14basic_ifstreamIcSt11char_traitsIcEE V _ZTTSt14basic_ifstreamIwSt11char_traitsIwEE V _ZTTSt14basic_ofstreamIcSt11char_traitsIcEE V _ZTTSt14basic_ofstreamIwSt11char_traitsIwEE V +_ZTVNSt6thread6_StateE V _ZTVNSt7__cxx1110moneypunctIcLb0EEE V _ZTVNSt7__cxx1110moneypunctIcLb1EEE V _ZTVNSt7__cxx1110moneypunctIwLb0EEE V @@ -1275,6 +1276,7 @@ _ZNSirsERd W _ZNSirsERf W _ZNSirsERi W _ZNSirsERj W +_ZNSirsERm W _ZNSirsERs W _ZNSo3putEc W _ZNSo5flushEv W