diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 22:01:53 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 22:01:53 +0000 |
commit | 0948d1de3a33bdd7574b1c76f615997cecc45189 (patch) | |
tree | 4b720d7ee99d1e271872b37bd00a6ab084d6288f /user/valgrind/suppressions.patch | |
parent | 059c497470209c65789735877f283363b1ed9d4f (diff) | |
download | packages-0948d1de3a33bdd7574b1c76f615997cecc45189.tar.gz packages-0948d1de3a33bdd7574b1c76f615997cecc45189.tar.bz2 packages-0948d1de3a33bdd7574b1c76f615997cecc45189.tar.xz packages-0948d1de3a33bdd7574b1c76f615997cecc45189.zip |
user/valgrind: add musl suppressions for dynlinker
Diffstat (limited to 'user/valgrind/suppressions.patch')
-rw-r--r-- | user/valgrind/suppressions.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/user/valgrind/suppressions.patch b/user/valgrind/suppressions.patch new file mode 100644 index 000000000..a91b93fdf --- /dev/null +++ b/user/valgrind/suppressions.patch @@ -0,0 +1,24 @@ +--- valgrind-3.13.0/configure.ac.old 2017-06-15 13:37:01.000000000 +0000 ++++ valgrind-3.13.0/configure.ac 2018-10-02 21:46:48.710000000 +0000 +@@ -1034,7 +1034,7 @@ + musl) + AC_MSG_RESULT(Musl) + AC_DEFINE([MUSL_LIBC], 1, [Define to 1 if you're using Musl libc]) +- # no DEFAULT_SUPP file yet for musl libc. ++ DEFAULT_SUPP="musl.supp ${DEFAULT_SUPP}" + ;; + 2.0|2.1|*) + AC_MSG_RESULT([unsupported version ${GLIBC_VERSION}]) +--- /dev/null 2018-07-03 06:46:12.010000000 +0000 ++++ valgrind-3.13.0/musl.supp 2018-10-02 21:44:57.240000000 +0000 +@@ -0,0 +1,10 @@ ++# musl does not free `dso` structs allocated during linking on exit. ++{ ++ musl:dynlinker ++ Memcheck:Leak ++ match-leak-kinds: reachable ++ fun:calloc ++ ... ++ fun:__dls3 ++ obj:/lib/ld-musl-* ++} |