From a8966c4186e8e4a3590f69f4d7dd384a8517abc4 Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Sat, 27 Jan 2024 08:00:34 +0100 Subject: [PATCH] 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. --- glibc-2.X-helgrind.supp.in | 7 +++++++ 1 file changed, 7 insertions(+) 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.* +} + -- 2.47.2