Skip to contentSkip to conversation

qemu: Exclude building on riscv32

PATCH New Khem Raj 1 participant 2 messages Nov 11, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 qemu: Exclude building on riscv32

Needs syscalls issues addressed. fails currently to build

../qemu-6.1.0/linux-user/syscall.c:659:1: error: use of undeclared identi fier '__NR_nanosleep'; did you mean 'safe_nanosleep'?

---
 meta/recipes-devtools/qemu/qemu.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/qemu/qemu.inc +1 -0
index 8cc4600cad5..ea7dfaecef8 100644
@@ -48,6 +48,7 @@ CVE_CHECK_WHITELIST += "CVE-2018-18438"
 
 COMPATIBLE_HOST:mipsarchn32 = "null"
 COMPATIBLE_HOST:mipsarchn64 = "null"
+COMPATIBLE_HOST:riscv32 = "null"
 
 # Per https://lists.nongnu.org/archive/html/qemu-devel/2020-09/msg03873.html
 # upstream states qemu doesn't work without optimization
Signature · 1 line
2.33.1
author
#1 lore raw

PATCH 2/2 ptest-packagelists: Remove qemu ptests for rv32

qemu is not buildable on rv32 yet

---
 meta/conf/distro/include/ptest-packagelists.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/conf/distro/include/ptest-packagelists.inc +3 -1
index fd52fa72a4a..0277ddaf1af 100644
@@ -64,7 +64,9 @@ PTESTS_FAST = "\
     glibc-tests-ptest \
 "
 PTESTS_FAST:remove:mips64 = "qemu-ptest"
-PTESTS_PROBLEMS:append:mips64 = "qemu-ptest"
+PTESTS_PROBLEMS:append:mips64 = " qemu-ptest"
+PTESTS_FAST:remove:riscv32 = "qemu-ptest"
+PTESTS_PROBLEMS:append:riscv32 = " qemu-ptest"
 
 PTESTS_SLOW = "\
     babeltrace-ptest \
Signature · 1 line
2.33.1