]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
DRD aarch64: Add some suppressions for DRD libstdc++
authorPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 17 Feb 2023 21:25:41 +0000 (22:25 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 17 Feb 2023 21:25:41 +0000 (22:25 +0100)
Also fix building drd/tests/std_mutex, needs -pthread.

drd/tests/Makefile.am
glibc-2.X-drd.supp.in

index e3366a18a01fbeeea7b3f69f7a1950fdd9d56184..7ea83cbf7e08e9c7a6784e51a96ce639ee4fca35 100755 (executable)
@@ -621,6 +621,7 @@ std_list_CXXFLAGS           = $(AM_CXXFLAGS) -std=c++0x @FLAG_W_NO_SIGN_COMPARE@
 
 std_mutex_SOURCES           = std_mutex.cpp
 std_mutex_CXXFLAGS          = $(AM_CXXFLAGS) -std=c++0x @FLAG_W_NO_SIGN_COMPARE@
+std_mutex_LDFLAGS           = -pthread
 
 std_string_SOURCES          = std_string.cpp
 std_string_CXXFLAGS         = $(AM_CXXFLAGS) -std=c++0x @FLAG_W_NO_SIGN_COMPARE@
index b8c8ac0ad5048a86afa5563b7ab89367a0f5c2fa..4c6bdb6a1a97a2535dfd7843540157aedab0e164 100644 (file)
    ...
    fun:_ZNSo9_M_insertIlEERSoT_
 }
-
+{
+   drd-libstdc++-std::~__shared_count()
+   drd:ConflictingAccess
+   fun:_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED1Ev
+}
+{
+   drd-libstdc++-std::thread::~_Impl_base()
+   drd:ConflictingAccess
+   fun:_ZNSt6thread10_Impl_baseD1Ev
+}
+{
+   drd-libstdc++-std::thread::~_Impl()
+   drd:ConflictingAccess
+   fun:_ZNSt6thread5_ImplISt12_Bind_simpleIFZ4mainEUlvE_vEEED1Ev
+}
 
 #
 # Suppression patterns for libpthread.