[oe] [meta-python][PATCH] python-pyflame: skip for aarch64 as well
Martin Jansa
martin.jansa at gmail.com
Mon Sep 10 18:43:04 UTC 2018
* fails with:
| ../../git/src/ptrace.cc: In function 'user_regs_struct pyflame::PtraceGetRegs(pid_t)':
| ../../git/src/ptrace.cc:127:14: error: 'PTRACE_GETREGS' was not declared in this scope
| if (ptrace(PTRACE_GETREGS, pid, 0, ®s)) {
| ^~~~~~~~~~~~~~
| ../../git/src/ptrace.cc:127:14: note: suggested alternative: 'PTRACE_GETREGSET'
| if (ptrace(PTRACE_GETREGS, pid, 0, ®s)) {
| ^~~~~~~~~~~~~~
| PTRACE_GETREGSET
| ../../git/src/ptrace.cc: In function 'void pyflame::PtraceSetRegs(pid_t, user_regs_struct)':
| ../../git/src/ptrace.cc:136:14: error: 'PTRACE_SETREGS' was not declared in this scope
| if (ptrace(PTRACE_SETREGS, pid, 0, ®s)) {
| ^~~~~~~~~~~~~~
| ../../git/src/ptrace.cc:136:14: note: suggested alternative: 'PTRACE_SETREGSET'
| if (ptrace(PTRACE_SETREGS, pid, 0, ®s)) {
| ^~~~~~~~~~~~~~
| PTRACE_SETREGSET
| Makefile:524: recipe for target 'ptrace.o' failed
| make[2]: *** [ptrace.o] Error 1
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-python/recipes-devtools/python/python-pyflame.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-python/recipes-devtools/python/python-pyflame.inc b/meta-python/recipes-devtools/python/python-pyflame.inc
index 3914028ec3..340aab74ef 100644
--- a/meta-python/recipes-devtools/python/python-pyflame.inc
+++ b/meta-python/recipes-devtools/python/python-pyflame.inc
@@ -12,3 +12,4 @@ inherit pkgconfig autotools
COMPATIBLE_HOST_libc-musl_class-target = "null"
COMPATIBLE_HOST_mipsarch_class-target = "null"
+COMPATIBLE_HOST_aarch64_class-target = "null"
--
2.17.1
More information about the Openembedded-devel
mailing list