428909 helgrind: need to intercept duplicate libc definitions for Fedora 33
429864 s390x: C++ atomic test_and_set yields false-positive memcheck
diagnostics
+408663 Suppression file for musl libc
Release 3.16.1 (?? June 2020)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
+# Suppressions for musl libc
+# See: https://www.openwall.com/lists/musl/2017/06/15/4
+
+{
+ musl-dynlink-false-positive1
+ Memcheck:Leak
+ fun:calloc
+ fun:load_direct_deps
+ fun:load_deps
+ fun:load_deps
+ fun:__dls3
+ fun:__dls2b
+ fun:__dls2
+}
+
+{
+ musl-dynlink-false-positive2
+ Memcheck:Leak
+ fun:calloc
+ fun:load_direct_deps
+ fun:load_deps
+ fun:load_deps
+ fun:__dls3
+ fun:__dls2
+}
+
+{
+ musl-dynlink-false-positive3
+ Memcheck:Leak
+ fun:calloc
+ fun:load_library
+ fun:load_preload
+ fun:__dls3
+ fun:__dls2b
+ fun:__dls2
+}
+
+{
+ musl-dynlink-false-positive4
+ Memcheck:Leak
+ fun:calloc
+ fun:load_library
+ fun:load_preload
+ fun:__dls3
+ fun:__dls2
+}