Skip to contentSkip to conversation

tests/tcg: disable xtensa-linux-user again

PATCH In review Paolo Bonzini 2 participants 2 messages Jun 8, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/tcg: disable xtensa-linux-user again

The move from tests/tcg/configure.sh started enabling the container image for xtensa-linux-user, which fails because the compiler does not have the full set of headers. The cause is the "xtensa*-softmmu)" case in tests/tcg/configure.sh which became just "xtensa*)" in the new probe_target_compiler shell function. Look out for xtensa*-linux-user and do not configure it.

---
 configure | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
configure +4 -1
index 7d021a4014..e9822ff56c 100755
@@ -1923,7 +1923,6 @@ probe_target_compiler() {
         container_cross_prefix=x86_64-linux-gnu-
         ;;
       xtensa*)
-        # FIXME: xtensa-linux-user?
         container_hosts=x86_64
         container_image=debian-xtensa-cross
 
@@ -2352,6 +2351,10 @@ for target in $target_list; do
   probe_target_compiler ${arch}
 
   case $target in
+    xtensa*-linux-user)
+      # the toolchain is not complete with headers, only build softmmu tests
+      continue
+      ;;
     *-softmmu)
       test -f $source_path/tests/tcg/$arch/Makefile.softmmu-target || continue
       qemu="qemu-system-$arch"
Signature · 1 line
2.36.1
#1 lore raw
Quoted 9 lines · Paolo Bonzini

The move from tests/tcg/configure.sh started enabling the container image for xtensa-linux-user, which fails because the compiler does not have the full set of headers. The cause is the "xtensa*-softmmu)" case in tests/tcg/configure.sh which became just "xtensa*)" in the new probe_target_compiler shell function. Look out for xtensa*-linux-user and do not configure it.

Queued to testing/next, thanks.

Signature · 1 line
Alex Bennée