--- 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-* +}