[packages/kernel-tools] - one more fix in perf-update patch (sync arch-tests.c condition with Build, where bp-modify.o depen
qboosh
qboosh at pld-linux.org
Thu Dec 20 05:45:20 CET 2018
commit 678217c047e0aabb7bb730faf95b183a68440f4f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Dec 20 05:49:54 2018 +0100
- one more fix in perf-update patch (sync arch-tests.c condition with Build, where bp-modify.o depends on CONFIG_X86_64, which means 64-bit ABI)
kernel-tools-perf-update.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/kernel-tools-perf-update.patch b/kernel-tools-perf-update.patch
index 76d4453..77c2ca6 100644
--- a/kernel-tools-perf-update.patch
+++ b/kernel-tools-perf-update.patch
@@ -8,3 +8,14 @@
/* HAVE_ARCH_X86_64_SUPPORT is used in'arch/x86/util/unwind-libunwind.c'
* for x86_32, we undef it to compile code for x86_32 only.
*/
+--- linux-4.19/tools/perf/arch/x86/tests/arch-tests.c.orig 2018-10-22 08:37:37.000000000 +0200
++++ linux-4.19/tools/perf/arch/x86/tests/arch-tests.c 2018-12-19 21:33:34.463629513 +0100
+@@ -24,7 +24,7 @@
+ .func = test__insn_x86,
+ },
+ #endif
+-#if defined(__x86_64__)
++#if defined(__x86_64__) && !defined(__ILP32__)
+ {
+ .desc = "x86 bp modify",
+ .func = test__bp_modify,
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel-tools.git/commitdiff/678217c047e0aabb7bb730faf95b183a68440f4f
More information about the pld-cvs-commit
mailing list