remove-old-glibc-hack
authorDebian Elfutils Maintainers <debian-gcc@lists.debian.org>
Sat, 13 Jul 2024 04:30:43 +0000 (00:30 -0400)
committerSergio Durigan Junior <sergiodj@debian.org>
Sat, 13 Jul 2024 04:30:43 +0000 (00:30 -0400)
Gbp-Pq: Name remove-old-glibc-hack.diff

tests/dwfl-proc-attach.c

index d02e9fc0e95e8aa875c6bdf5749d333927a47634..9521900453dfe1347e5c7fabdb059cfe866fc820 100644 (file)
@@ -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__ */