kernel-selftest: temporary disable bpf for arm - fix build for qemuarm

Even running on 32bit the bpf objects are 64bit: this triggers the QA  about
bitsize mismatch 32 vs. 64. Besides, objdump does not recognize the arch 0xf7.

Trying the workaround to use the llvm-objdump and setting TOOLCHAIN = "clang"
the build for arm fails on libcxx

  |include/c++/8.2.0/atomic:250: undefined reference to `__atomic_load_4'

Temporary disable bpf as done for x86/32bit as it seems still unstable.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Andrea Adami 2018-10-27 22:46:05 +02:00 committed by Khem Raj
parent a0c8d2beb0
commit 6cb64da8fa

View File

@ -20,6 +20,7 @@ SRC_URI += "file://run-ptest \
# if you have older kernel than that you need to remove it from PACKAGECONFIG
PACKAGECONFIG ??= "bpf vm"
PACKAGECONFIG_remove_x86 = "bpf"
PACKAGECONFIG_remove_arm = "bpf"
PACKAGECONFIG[bpf] = ",,elfutils libcap libcap-ng rsync-native,"
PACKAGECONFIG[vm] = ",,libcap,libgcc bash"