Skip to contentSkip to conversation

configure: fix and complete detection of tricore tools

PATCH In review Paolo Bonzini 3 participants 4 messages Aug 9, 2023 – Aug 10, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: fix and complete detection of tricore tools

The tricore tools are not detected when they are installed in the host system, only if they are taken from an external container. For this reason the build-tricore-softmmu job was not running the TCG tests.

In addition the container provides all tools, not just as/ld/gcc, so there is no need to special case tricore.

---
 configure | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
configure +1 -4
index 133f4e32351..f2bd8858d6c 100755
@@ -1271,6 +1271,7 @@ fi
 : ${cross_prefix_sh4="sh4-linux-gnu-"}
 : ${cross_prefix_sparc64="sparc64-linux-gnu-"}
 : ${cross_prefix_sparc="$cross_prefix_sparc64"}
+: ${cross_prefix_tricore="tricore-"}
 : ${cross_prefix_x86_64="x86_64-linux-gnu-"}
 
 : ${cross_cc_aarch64_be="$cross_cc_aarch64"}
@@ -1458,10 +1459,6 @@ probe_target_compiler() {
       tricore)
         container_image=debian-tricore-cross
         container_cross_prefix=tricore-
-        container_cross_as=tricore-as
-        container_cross_ld=tricore-ld
-        container_cross_cc=tricore-gcc
-        break
         ;;
       x86_64)
         container_image=debian-amd64-cross
Signature · 1 line
2.41.0
#1 lore raw
Quoted 5 lines · Paolo Bonzini

The tricore tools are not detected when they are installed in the host system, only if they are taken from an external container. For this reason the build-tricore-softmmu job was not running the TCG tests.

Quoted 7 lines

In addition the container provides all tools, not just as/ld/gcc, so there is no need to special case tricore.

---
 configure | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

I think it would be better to skip debian-11 and use 12 instead.

Cheers,
Bastian

Reviewed-by
#2 lore raw
Quoted 9 lines · Bastian Koppelmann
Quoted 8 lines · Paolo Bonzini

The tricore tools are not detected when they are installed in the host system, only if they are taken from an external container. For this reason the build-tricore-softmmu job was not running the TCG tests.

In addition the container provides all tools, not just as/ld/gcc, so there is no need to special case tricore.

Quoted 6 lines
Quoted 4 lines
---
 configure | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

I think it would be better to skip debian-11 and use 12 instead.

Whoops I mixed it up with the other patch. For this one you can have

Cheers,
Bastian

Quoted 3 lines

Cheers,
Bastian

Reviewed-by on v1 1/1
#3 lore raw
In reply to Paolo Bonzini
Quoted 5 lines · Paolo Bonzini

The tricore tools are not detected when they are installed in the host system, only if they are taken from an external container. For this reason the build-tricore-softmmu job was not running the TCG tests.

Quoted 7 lines

In addition the container provides all tools, not just as/ld/gcc, so there is no need to special case tricore.

---
  configure | 5 +----
  1 file changed, 1 insertion(+), 4 deletions(-)