Blame valgrind-3.18.1-dhat-tests-copy.patch
|
Mark Wielaard |
a8914b |
commit 33aba8eef68b1745d3de96b609ff8296b70d9a1c
|
|
Mark Wielaard |
a8914b |
Author: Paul Floyd <pjfloyd@wanadoo.fr>
|
|
Mark Wielaard |
a8914b |
Date: Wed Oct 27 21:37:00 2021 +0200
|
|
Mark Wielaard |
a8914b |
|
|
Mark Wielaard |
a8914b |
Bug 444495 - dhat/tests/copy fails on s390x
|
|
Mark Wielaard |
a8914b |
|
|
Mark Wielaard |
a8914b |
Add -fno-builtin to ensure that the copy functions get called and so dhat
|
|
Mark Wielaard |
a8914b |
can intercept and count them.
|
|
Mark Wielaard |
a8914b |
|
|
Mark Wielaard |
a8914b |
diff --git a/dhat/tests/Makefile.am b/dhat/tests/Makefile.am
|
|
Mark Wielaard |
a8914b |
index 86a9b6d64..b86fc416d 100644
|
|
Mark Wielaard |
a8914b |
--- a/dhat/tests/Makefile.am
|
|
Mark Wielaard |
a8914b |
+++ b/dhat/tests/Makefile.am
|
|
Mark Wielaard |
a8914b |
@@ -29,3 +29,6 @@ AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
|
|
Mark Wielaard |
a8914b |
# We don't care about uninitialized or unused malloc results
|
|
Mark Wielaard |
a8914b |
basic_CFLAGS = $(AM_CFLAGS) -Wno-uninitialized
|
|
Mark Wielaard |
a8914b |
big_CFLAGS = $(AM_CFLAGS) -Wno-unused-result
|
|
Mark Wielaard |
a8914b |
+
|
|
Mark Wielaard |
a8914b |
+# Prevent the copying functions from being inlined
|
|
Mark Wielaard |
a8914b |
+copy_CFLAGS = $(AM_CFLAGS) -fno-builtin
|