summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/systemtap/systemtap/0001-improve-reproducibility-for-c-compiling.patch
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2018-07-20 17:13:50 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-26 13:16:40 +0100
commit077ad469349734fe82f4cc920ed8375f5282d9dc (patch)
tree5692c3fe31261aa958f908849999f5f7397d00cd /meta/recipes-kernel/systemtap/systemtap/0001-improve-reproducibility-for-c-compiling.patch
parentb7b203d8ea30056b5e03e7ef04504e5d5bee1a1a (diff)
downloadpoky-077ad469349734fe82f4cc920ed8375f5282d9dc.tar.gz
systemtap: improve reproducibility
- Fix build path issue of .pyc files: Supply "--root" directory to the "install" command. - Fix build path issue of c++ object files: Use relative dir to include header string_ref. - Fix build path issue of c library generated by distutils: Add OE's CFLAGS which contains `-fdebug-prefix-map' options to setup.py [YOCTO #12528] (From OE-Core rev: 806a8626c3fb5020666152b295f12541f5f61ffd) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/systemtap/systemtap/0001-improve-reproducibility-for-c-compiling.patch')
-rw-r--r--meta/recipes-kernel/systemtap/systemtap/0001-improve-reproducibility-for-c-compiling.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-kernel/systemtap/systemtap/0001-improve-reproducibility-for-c-compiling.patch b/meta/recipes-kernel/systemtap/systemtap/0001-improve-reproducibility-for-c-compiling.patch
new file mode 100644
index 0000000000..15a6f2a9a5
--- /dev/null
+++ b/meta/recipes-kernel/systemtap/systemtap/0001-improve-reproducibility-for-c-compiling.patch
@@ -0,0 +1,31 @@
1From 6288ba5df0a8c73ef842b609081449ac4de86123 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Wed, 18 Jul 2018 16:58:33 +0800
4Subject: [PATCH] improve reproducibility for c++ compiling
5
6Use relative dir to include header string_ref to
7strip build path prefix in c++ object file
8
9Upstream-Status: Inappropriate [oe specific]
10
11Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
12---
13 stringtable.h | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/stringtable.h b/stringtable.h
17index 5fc42e7..6fd8a1e 100644
18--- a/stringtable.h
19+++ b/stringtable.h
20@@ -19,7 +19,7 @@
21
22 #if defined(HAVE_BOOST_UTILITY_STRING_REF_HPP)
23 #include <boost/version.hpp>
24-#include <boost/utility/string_ref.hpp> //header with string_ref
25+#include "@RELATIVE_STAGING_INCDIR@/boost/utility/string_ref.hpp" //header with string_ref
26
27 // XXX: experimental tunables
28 #define INTERNED_STRING_FIND_MEMMEM 1 /* perf stat indicates a very slight benefit */
29--
302.7.4
31