Skip to contentSkip to conversation

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

PATCH New Andrea Adami 1 participant 1 message Oct 27, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb +1 -0
index 71bf83c..181e97c 100644
@@ -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"
Signature · 1 line
2.7.4