From 818cecaf1abb664632bdc0d805c75d4a63814c83 Mon Sep 17 00:00:00 2001 From: Debian Elfutils Maintainers Date: Tue, 4 Jul 2023 10:37:16 +0100 Subject: [PATCH] remove-old-glibc-hack Gbp-Pq: Name remove-old-glibc-hack.diff --- tests/dwfl-proc-attach.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/dwfl-proc-attach.c b/tests/dwfl-proc-attach.c index d02e9fc..9521900 100644 --- a/tests/dwfl-proc-attach.c +++ b/tests/dwfl-proc-attach.c @@ -107,6 +107,7 @@ main (int argc __attribute__ ((unused)), return (threads == 3) ? 0 : -1; } +#if 0 /* HACK. This is a simple workaround for a combination of old glibc and valgrind. libdw will try to dlopen libdebuginfod this causes some unsuppressable memory leak warnings when the process is @@ -118,5 +119,6 @@ void *dlopen (void) { return NULL; } +#endif #endif /* __linux__ */ -- 2.30.2