Blame SOURCES/0105-curl-7.63.0-lib1560-valgrind.patch

b97401
From f55cca0e86f59ec11ffafd5c0503c39ca3723e2e Mon Sep 17 00:00:00 2001
b97401
From: Kamil Dudka <kdudka@redhat.com>
b97401
Date: Mon, 4 Feb 2019 17:32:56 +0100
b97401
Subject: [PATCH] libtest: compile lib1560.c with -fno-builtin-strcmp
b97401
b97401
... to prevent valgrind from reporting false positives on x86_64:
b97401
b97401
Conditional jump or move depends on uninitialised value(s)
b97401
   at 0x10BCAA: part2id (lib1560.c:489)
b97401
   by 0x10BCAA: updateurl (lib1560.c:521)
b97401
   by 0x10BCAA: set_parts (lib1560.c:630)
b97401
   by 0x10BCAA: test (lib1560.c:802)
b97401
   by 0x4923412: (below main) (in /usr/lib64/libc-2.28.9000.so)
b97401
b97401
Conditional jump or move depends on uninitialised value(s)
b97401
   at 0x10BCC3: part2id (lib1560.c:491)
b97401
   by 0x10BCC3: updateurl (lib1560.c:521)
b97401
   by 0x10BCC3: set_parts (lib1560.c:630)
b97401
   by 0x10BCC3: test (lib1560.c:802)
b97401
   by 0x4923412: (below main) (in /usr/lib64/libc-2.28.9000.so)
b97401
---
b97401
 tests/libtest/Makefile.inc | 1 +
b97401
 1 file changed, 1 insertion(+)
b97401
b97401
diff --git a/tests/libtest/Makefile.inc b/tests/libtest/Makefile.inc
b97401
index 080421b..ea3b806 100644
b97401
--- a/tests/libtest/Makefile.inc
b97401
+++ b/tests/libtest/Makefile.inc
b97401
@@ -592,6 +592,7 @@ lib1559_SOURCES = lib1559.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS)
b97401
 lib1559_LDADD = $(TESTUTIL_LIBS)
b97401
 
b97401
 lib1560_SOURCES = lib1560.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS)
b97401
+lib1560_CFLAGS = $(AM_CFLAGS) -fno-builtin-strcmp
b97401
 lib1560_LDADD = $(TESTUTIL_LIBS)
b97401
 
b97401
 lib1564_SOURCES = lib1564.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS)
b97401
-- 
b97401
2.17.2
b97401