From: Paul Floyd Date: Sat, 27 Jan 2024 07:00:34 +0000 (+0100) Subject: Helgrind: add suppression for libnss from getaddrinfo X-Git-Tag: VALGRIND_3_23_0~201 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a8966c4186e8e4a3590f69f4d7dd384a8517abc4;p=thirdparty%2Fvalgrind.git Helgrind: add suppression for libnss from getaddrinfo Seems as though Raspberry Pi OS doesn't have a debuginfo package for libnss_mdns4 so we need to suppress based on the obj name. There is still one error in the Helgrind getaddrinfo test, but that is in the somewhat malformed libarmmem library (which does have debuginfo but Valgrind can't read it because there is no ELF type or size info). I think that suppressing that would be too broad. --- diff --git a/glibc-2.X-helgrind.supp.in b/glibc-2.X-helgrind.supp.in index a8cb5fc6f0..18bf5328e8 100644 --- a/glibc-2.X-helgrind.supp.in +++ b/glibc-2.X-helgrind.supp.in @@ -333,3 +333,10 @@ Helgrind:Race fun:_nss_*_gethostbyname4_r } + +{ + helgrind--- libnss without debuginfo + Helgrind:Race + obj:/usr/lib/*/libnss_mdns4*.so.* +} +