File: remove-old-glibc-hack.diff

package info (click to toggle)
elfutils 0.188-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 22,996 kB
  • sloc: ansic: 104,903; sh: 30,846; cpp: 3,488; makefile: 1,643; yacc: 1,390; lex: 128; asm: 77; awk: 34; sed: 16
file content (17 lines) | stat: -rw-r--r-- 500 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- elfutils-0.182.orig/tests/dwfl-proc-attach.c
+++ elfutils-0.182/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__ */