File: remove-old-glibc-hack.diff

package info (click to toggle)
elfutils 0.193-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 27,480 kB
  • sloc: ansic: 113,937; sh: 35,411; cpp: 4,998; makefile: 1,935; yacc: 1,388; lex: 130; asm: 77; sed: 39; awk: 35
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__ */