Blame valgrind-3.13.0-suppress-dl-trampoline-sse-avx.patch

Mark Wielaard 952b55
commit 3c3aa1c62767c48ac8f2015df66f04f354dd897b
Mark Wielaard 952b55
Author: Mark Wielaard <mark@klomp.org>
Mark Wielaard 952b55
Date:   Tue Oct 17 17:49:26 2017 +0200
Mark Wielaard 952b55
Mark Wielaard 952b55
    Suppress _dl_runtime_resolve_avx_slow for memcheck conditional.
Mark Wielaard 952b55
    
Mark Wielaard 952b55
    glibc ld.so has an optimization when resolving a symbol that checks
Mark Wielaard 952b55
    whether or not the upper 128 bits of the ymm registers are zero. If
Mark Wielaard 952b55
    so it uses "cheaper" instructions to save/restore them using the xmm
Mark Wielaard 952b55
    registers. If those upper 128 bits contain undefined values memcheck
Mark Wielaard 952b55
    will issue an Conditional jump or move depends on uninitialised value(s)
Mark Wielaard 952b55
    warning whenever trying to resolve a symbol.
Mark Wielaard 952b55
    
Mark Wielaard 952b55
    This triggers in our sh-mem-vecxxx test cases. Suppress the warning
Mark Wielaard 952b55
    by default.
Mark Wielaard 952b55
Mark Wielaard 952b55
diff --git a/glibc-2.X.supp.in b/glibc-2.X.supp.in
Mark Wielaard 952b55
index 8edeb4a..126e8b3 100644
Mark Wielaard 952b55
--- a/glibc-2.X.supp.in
Mark Wielaard 952b55
+++ b/glibc-2.X.supp.in
Mark Wielaard 952b55
@@ -236,3 +236,15 @@
Mark Wielaard 952b55
    Memcheck:Cond
Mark Wielaard 952b55
    fun:_dl_relocate_object
Mark Wielaard 952b55
 }
Mark Wielaard 952b55
+
Mark Wielaard 952b55
+# glibc ld.so has an optimization when resolving a symbol that checks
Mark Wielaard 952b55
+# whether or not the upper 128 bits of the ymm registers are zero. If
Mark Wielaard 952b55
+# so it uses "cheaper" instructions to save/restore them using the xmm
Mark Wielaard 952b55
+# registers. If those upper 128 bits contain undefined values memcheck
Mark Wielaard 952b55
+# will issue an Conditional jump or move depends on uninitialised value(s)
Mark Wielaard 952b55
+# warning whenever trying to resolve a symbol.
Mark Wielaard 952b55
+{
Mark Wielaard 952b55
+   dl-trampoline-sse-avx
Mark Wielaard 952b55
+   Memcheck:Cond
Mark Wielaard 952b55
+   fun:_dl_runtime_resolve_avx_slow
Mark Wielaard 952b55
+}