Skip to content

Commit fab7d95

Browse files
author
MarcoFalke
committed
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 }
1 parent 234faba commit fab7d95

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

contrib/valgrind.supp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# Valgrind suppressions file for Bitcoin.
2-
#
3-
# Includes known Valgrind warnings in our dependencies that cannot be fixed
4-
# in-tree.
1+
# This valgrind suppressions file includes known Valgrind warnings in our
2+
# dependencies that cannot be fixed in-tree.
53
#
64
# Example use:
75
# $ valgrind --suppressions=contrib/valgrind.supp src/test/test_bitcoin
@@ -14,6 +12,9 @@
1412
# --error-limit=no src/test/test_bitcoin
1513
#
1614
# Note that suppressions may depend on OS and/or library versions.
15+
# Tested on:
16+
# * aarch64 (Ubuntu 20.04 system libs, without gui)
17+
# * x86_64 (Ubuntu 18.04 system libs, without gui)
1718
{
1819
Suppress libstdc++ warning - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434
1920
Memcheck:Leak
@@ -47,8 +48,7 @@
4748
Suppress libdb warning
4849
Memcheck:Param
4950
pwrite64(buf)
50-
fun:pwrite
51-
fun:__os_io
51+
...
5252
obj:*/libdb_cxx-*.so
5353
}
5454
{

0 commit comments

Comments
 (0)