valgrind/valgrind-3.15.0-filter-libc-futex.patch

14 lines
513 B
Diff
Raw Normal View History

diff --git a/tests/filter_libc b/tests/filter_libc
index 9607db5..8eb9911 100755
--- a/tests/filter_libc
+++ b/tests/filter_libc
@@ -37,6 +37,8 @@ while (<>)
s/(at.*)operator delete\[\]\(void\*\)/$1...operator delete[].../;
# Some glibc versions complain about unexpected futex syscall errors.
+ # With or without newline (see sourceware PR20271).
+ next if /^The futex facility returned an unexpected error code.$/;
s/The futex facility returned an unexpected error code.//;
print;