aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-06-03 10:52:44 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-06-03 10:58:27 -0400
commitfab7d954b261d74b369fe2a3c1785540c4f056b4 (patch)
treefcad34110270092a473979c86da3674db7321ce1
parent234fabab90627eb9f93b03533c74f830b771f9ba (diff)
test: Make valgrind.supp work on aarch64
The equivalent suppression on aarch64 looks like: { <insert_a_suppression_name_here> Memcheck:Param pwrite64(buf) fun:__libc_pwrite64 fun:pwrite fun:__os_io obj:/usr/lib/aarch64-linux-gnu/libdb_cxx-5.3.so fun:__log_flush_int fun:__log_flush fun:__memp_sync_int fun:__db_sync fun:__db_refresh fun:__db_close fun:__fop_subdb_setup fun:__db_open fun:__db_open_pp }
-rw-r--r--contrib/valgrind.supp12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/valgrind.supp b/contrib/valgrind.supp
index f232bb62c2..d2652119b4 100644
--- a/contrib/valgrind.supp
+++ b/contrib/valgrind.supp
@@ -1,7 +1,5 @@
-# Valgrind suppressions file for Bitcoin.
-#
-# Includes known Valgrind warnings in our dependencies that cannot be fixed
-# in-tree.
+# This valgrind suppressions file includes known Valgrind warnings in our
+# dependencies that cannot be fixed in-tree.
#
# Example use:
# $ valgrind --suppressions=contrib/valgrind.supp src/test/test_bitcoin
@@ -14,6 +12,9 @@
# --error-limit=no src/test/test_bitcoin
#
# Note that suppressions may depend on OS and/or library versions.
+# Tested on:
+# * aarch64 (Ubuntu 20.04 system libs, without gui)
+# * x86_64 (Ubuntu 18.04 system libs, without gui)
{
Suppress libstdc++ warning - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434
Memcheck:Leak
@@ -47,8 +48,7 @@
Suppress libdb warning
Memcheck:Param
pwrite64(buf)
- fun:pwrite
- fun:__os_io
+ ...
obj:*/libdb_cxx-*.so
}
{