diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-01-31 18:23:17 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-02-02 08:07:59 -0800 |
commit | 6e936c45d498825aacbac3d8945f7727cfa68061 (patch) | |
tree | 78217d0bfcdde59139cb53d274983fd8ee4f5502 /meta-python/recipes-devtools/python/python-matplotlib/fix_setupext.patch | |
parent | 3049c65203af81c667cc1f5706088cdd3bd39864 (diff) | |
download | meta-openembedded-6e936c45d498825aacbac3d8945f7727cfa68061.tar.gz |
kernel-selftest: Disable bpf tests on mips
5.4 kernel exposes a problem, where its using host includes to compile
BPF tests and it fails for mips because ptrace.h is quite different so
it can not find the needed pt_struct definitions during cross compile
% clang -fno-stack-protector -I. -I./include/uapi -I../../../include/uapi -I/mnt/b/yoe/build/tmp/work/qemumips-yoe-linux/kernel-selft
est/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/../usr/include -D__TARGET_ARCH_mips -g -idirafter /mnt/b/yoe/build/tmp/wor
k/qemumips-yoe-linux/kernel-selftest/1.0-r0/recipe-sysroot-native/usr/lib/clang/10.0.0/include -Wno-compare-distinct-pointer-types -O2 -target bpf -emit-llvm \
-c progs/loop1.c
progs/loop1.c:21:9: error: no member named 'regs' in 'struct pt_regs'
m = PT_REGS_RC(ctx);
^~~~~~~~~~~~~~~
./bpf_helpers.h:466:29: note: expanded from macro 'PT_REGS_RC'
~~ ^ 1 error generated.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-matplotlib/fix_setupext.patch')
0 files changed, 0 insertions, 0 deletions