Skip to contentSkip to conversation

tcg/tci: Fix Clang build

PATCH In review Philippe Mathieu-Daudé 8 participants 23 messages Jan 10, 2021 – Jan 26, 2021

lore
Share & tools
lore
#0 lore raw

cover tcg/tci: Fix Clang build

Fix the build failure reported by Wataru Ashihara on [*] and add a CI test to catch future problems.

[*] https://www.mail-archive.com/[email protected]/msg771326.html

Philippe Mathieu-Daudé (2):
tcg: Mark more tcg_out*() functions with attribute 'unused'
gitlab-ci: Add a job building TCI with Clang

 tcg/tcg.c      | 30 +++++++++++++++++++++---------
 .gitlab-ci.yml | 22 ++++++++++++++++++++--
 2 files changed, 41 insertions(+), 11 deletions(-)
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/2 tcg: Mark more tcg_out*() functions with attribute 'unused'

The tcg_out* functions are utility routines that may or may not be used by a particular backend. Similarly to commit 4196dca63b8, mark them with the 'unused' attribute to suppress spurious warnings if they aren't used.

This fixes the build with --enable-tcg-interpreter:

[98/151] Compiling C object libqemu-arm-softmmu.fa.p/tcg_tcg.c.o
FAILED: libqemu-arm-softmmu.fa.p/tcg_tcg.c.o
clang [...] -o libqemu-arm-softmmu.fa.p/tcg_tcg.c.o -c ../tcg/tcg.c ../tcg/tcg.c:136:20: error: unused function 'tcg_out_dupi_vec' [-Werror,-Wunused-function]

---
 tcg/tcg.c | 30 +++++++++++++++++++++---------
 1 file changed, 21 insertions(+), 9 deletions(-)
tcg/tcg.c +21 -9
index 472bf1755bf..a7fc2043cbf 100644
@@ -123,24 +123,36 @@ static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, unsigned vecl,
                            unsigned vece, const TCGArg *args,
                            const int *const_args);
 #else
-static inline bool tcg_out_dup_vec(TCGContext *s, TCGType type, unsigned vece,
-                                   TCGReg dst, TCGReg src)
+static __attribute__((unused)) inline bool tcg_out_dup_vec(TCGContext *s,
+                                                           TCGType type,
+                                                           unsigned vece,
+                                                           TCGReg dst,
+                                                           TCGReg src)
 {
     g_assert_not_reached();
 }
-static inline bool tcg_out_dupm_vec(TCGContext *s, TCGType type, unsigned vece,
-                                    TCGReg dst, TCGReg base, intptr_t offset)
+static __attribute__((unused)) inline bool tcg_out_dupm_vec(TCGContext *s,
+                                                            TCGType type,
+                                                            unsigned vece,
+                                                            TCGReg dst,
+                                                            TCGReg base,
+                                                            intptr_t offset)
 {
     g_assert_not_reached();
 }
-static inline void tcg_out_dupi_vec(TCGContext *s, TCGType type,
-                                    TCGReg dst, tcg_target_long arg)
+static __attribute__((unused)) inline void tcg_out_dupi_vec(TCGContext *s,
+                                                            TCGType type,
+                                                            TCGReg dst,
+                                                            tcg_target_long arg)
 {
     g_assert_not_reached();
 }
-static inline void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, unsigned vecl,
-                                  unsigned vece, const TCGArg *args,
-                                  const int *const_args)
+static __attribute__((unused)) inline void tcg_out_vec_op(TCGContext *s,
+                                                          TCGOpcode opc,
+                                                          unsigned vecl,
+                                                          unsigned vece,
+                                                          const TCGArg *args,
+                                                          const int *const_args)
 {
     g_assert_not_reached();
 }
Signature · 1 line
2.26.2
#2 lore raw

Re: [PATCH 1/2] tcg: Mark more tcg_out*() functions with attribute 'unused'

Quoted 12 lines · Philippe Mathieu-Daudé

The tcg_out* functions are utility routines that may or may not be used by a particular backend. Similarly to commit 4196dca63b8, mark them with the 'unused' attribute to suppress spurious warnings if they aren't used.

This fixes the build with --enable-tcg-interpreter:

[98/151] Compiling C object libqemu-arm-softmmu.fa.p/tcg_tcg.c.o
FAILED: libqemu-arm-softmmu.fa.p/tcg_tcg.c.o
clang [...] -o libqemu-arm-softmmu.fa.p/tcg_tcg.c.o -c ../tcg/tcg.c ../tcg/tcg.c:136:20: error: unused function 'tcg_out_dupi_vec' [-Werror,-Wunused-function]

Quoted 5 lines
---
 tcg/tcg.c | 30 +++++++++++++++++++++---------
 1 file changed, 21 insertions(+), 9 deletions(-)

This does too much to fix that Werror, as all of the other functions are unconditionally used.

Alternately, I'll re-test and merge my tcg constant branch, which will make tcg_out_dupi_vec also unconditionally used. Then we don't need __attribute__((unused)) at all.

r~

#3 lore raw

Re: [PATCH 1/2] tcg: Mark more tcg_out*() functions with attribute 'unused'

Quoted 20 lines · Richard Henderson
Quoted 12 lines · Philippe Mathieu-Daudé

The tcg_out* functions are utility routines that may or may not be used by a particular backend. Similarly to commit 4196dca63b8, mark them with the 'unused' attribute to suppress spurious warnings if they aren't used.

This fixes the build with --enable-tcg-interpreter:

[98/151] Compiling C object libqemu-arm-softmmu.fa.p/tcg_tcg.c.o
FAILED: libqemu-arm-softmmu.fa.p/tcg_tcg.c.o
clang [...] -o libqemu-arm-softmmu.fa.p/tcg_tcg.c.o -c ../tcg/tcg.c ../tcg/tcg.c:136:20: error: unused function 'tcg_out_dupi_vec' [-Werror,-Wunused-function]

Quoted 5 lines
---
 tcg/tcg.c | 30 +++++++++++++++++++++---------
 1 file changed, 21 insertions(+), 9 deletions(-)
Quoted 6 lines

This does too much to fix that Werror, as all of the other functions are unconditionally used.

Alternately, I'll re-test and merge my tcg constant branch, which will make tcg_out_dupi_vec also unconditionally used. Then we don't need __attribute__((unused)) at all.

OK, better then.

Regards,

Phil.

#4 lore raw

RFC PATCH 2/2 gitlab-ci: Add a job building TCI with Clang

In reply to Philippe Mathieu-Daudé

Split the current GCC build-tci job in 2, and use Clang compiler in the new job.

---
RFC in case someone have better idea to optimize can respin this patch.

 .gitlab-ci.yml | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)
.gitlab-ci.yml +20 -2
index 01c9e46410d..9053161793f 100644
@@ -397,12 +397,12 @@ build-oss-fuzz:
     # Unrelated to fuzzer: run some tests with -fsanitize=address
     - cd build-oss-fuzz && make check-qtest-i386 check-unit
 
-build-tci:
+build-tci-gcc:
   <<: *native_build_job_definition
   variables:
     IMAGE: fedora
   script:
-    - TARGETS="aarch64 alpha arm hppa m68k microblaze moxie ppc64 s390x x86_64"
+    - TARGETS="aarch64 alpha arm hppa x86_64"
     - mkdir build
     - cd build
     - ../configure --enable-tcg-interpreter
@@ -416,6 +416,24 @@ build-tci:
         ./tests/qtest/cdrom-test || exit 1 ;
       done
     - QTEST_QEMU_BINARY="./qemu-system-x86_64" ./tests/qtest/pxe-test
+
+build-tci-clang:
+  <<: *native_build_job_definition
+  variables:
+    IMAGE: fedora
+  script:
+    - TARGETS="m68k microblaze moxie ppc64 s390x"
+    - mkdir build
+    - cd build
+    - ../configure --enable-tcg-interpreter --cc=clang --cxx=clang++
+        --target-list="$(for tg in $TARGETS; do echo -n ${tg}'-softmmu '; done)" || { cat config.log meson-logs/meson-log.txt && exit 1; }
+    - make -j"$JOBS"
+    - make tests/qtest/boot-serial-test tests/qtest/cdrom-test tests/qtest/pxe-test
+    - for tg in $TARGETS ; do
+        export QTEST_QEMU_BINARY="./qemu-system-${tg}" ;
+        ./tests/qtest/boot-serial-test || exit 1 ;
+        ./tests/qtest/cdrom-test || exit 1 ;
+      done
     - QTEST_QEMU_BINARY="./qemu-system-s390x" ./tests/qtest/pxe-test -m slow
 
 # Alternate coroutines implementations are only really of interest to KVM users
Signature · 1 line
2.26.2
#5 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

Quoted 9 lines · Philippe Mathieu-Daudé

Split the current GCC build-tci job in 2, and use Clang compiler in the new job.

---
RFC in case someone have better idea to optimize can respin this patch.

  .gitlab-ci.yml | 22 ++++++++++++++++++++--
  1 file changed, 20 insertions(+), 2 deletions(-)

I'm not quite sure whether we should go down this road ... if we wanted to have full test coverage for clang, we'd need to duplicate *all* jobs to run them once with gcc and once with clang. And that would be just overkill.

I think we already catch most clang-related problems with the clang jobs that we already have in our CI, so problems like the ones that you've tried to address here should be very, very rare. So I'd rather vote for not splitting the job here.

Thomas

#6 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

Quoted 11 lines · Thomas Huth
Quoted 9 lines · Philippe Mathieu-Daudé

Split the current GCC build-tci job in 2, and use Clang compiler in the new job.

---
RFC in case someone have better idea to optimize can respin this patch.

  .gitlab-ci.yml | 22 ++++++++++++++++++++--
  1 file changed, 20 insertions(+), 2 deletions(-)
Quoted 8 lines

I'm not quite sure whether we should go down this road ... if we wanted to have full test coverage for clang, we'd need to duplicate *all* jobs to run them once with gcc and once with clang. And that would be just overkill.

I think we already catch most clang-related problems with the clang jobs that we already have in our CI, so problems like the ones that you've tried to address here should be very, very rare. So I'd rather vote for not splitting the job here.

We can't possibly cope with the fully expanded matrix of what are theoretically possible combinations. Thus I think we should be guided by what is expected real world usage by platforms we target.

Essentially for any given distro we're testing on, our primary focus should be to use the toolchain that distro will build QEMU with.

IOW, for Windows and Linux distros our primary focus should be GCC, while for macOS, and *BSD, our focus should be CLang.

If there are other combinations that are known to hit bugs not covered by the standard distro patterns above, we might add a few more jobs. The latter should be the exception though, otherwise our number of jobs will grow without bound.

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#7 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

Quoted 25 lines · Daniel P. Berrangé
Quoted 11 lines · Thomas Huth
Quoted 9 lines · Philippe Mathieu-Daudé

Split the current GCC build-tci job in 2, and use Clang compiler in the new job.

---
RFC in case someone have better idea to optimize can respin this patch.

  .gitlab-ci.yml | 22 ++++++++++++++++++++--
  1 file changed, 20 insertions(+), 2 deletions(-)
Quoted 8 lines

I'm not quite sure whether we should go down this road ... if we wanted to have full test coverage for clang, we'd need to duplicate *all* jobs to run them once with gcc and once with clang. And that would be just overkill.

I think we already catch most clang-related problems with the clang jobs that we already have in our CI, so problems like the ones that you've tried to address here should be very, very rare. So I'd rather vote for not splitting the job here.

We can't possibly cope with the fully expanded matrix of what are theoretically possible combinations. Thus I think we should be guided by what is expected real world usage by platforms we target.

Quoted 5 lines

Essentially for any given distro we're testing on, our primary focus should be to use the toolchain that distro will build QEMU with.

IOW, for Windows and Linux distros our primary focus should be GCC, while for macOS, and *BSD, our focus should be CLang.

Sounds good.

Do we need a TCI job on macOS then?

Thanks,

Phil.

#8 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

Quoted 29 lines · Philippe Mathieu-Daudé
Quoted 28 lines · Daniel P. Berrangé
Quoted 11 lines · Thomas Huth
Quoted 9 lines · Philippe Mathieu-Daudé

Split the current GCC build-tci job in 2, and use Clang compiler in the new job.

---
RFC in case someone have better idea to optimize can respin this patch.

  .gitlab-ci.yml | 22 ++++++++++++++++++++--
  1 file changed, 20 insertions(+), 2 deletions(-)
Quoted 8 lines

I'm not quite sure whether we should go down this road ... if we wanted to have full test coverage for clang, we'd need to duplicate *all* jobs to run them once with gcc and once with clang. And that would be just overkill.

I think we already catch most clang-related problems with the clang jobs that we already have in our CI, so problems like the ones that you've tried to address here should be very, very rare. So I'd rather vote for not splitting the job here.

We can't possibly cope with the fully expanded matrix of what are theoretically possible combinations. Thus I think we should be guided by what is expected real world usage by platforms we target.

Essentially for any given distro we're testing on, our primary focus should be to use the toolchain that distro will build QEMU with.

Quoted 6 lines
Quoted 2 lines

IOW, for Windows and Linux distros our primary focus should be GCC, while for macOS, and *BSD, our focus should be CLang.

Sounds good.

Do we need a TCI job on macOS then?

TCI is only relevant if there is no native TCG host impl.

macOS only targets aarch64 and x86_64, both of which have TCG, so there is no reason to use TCI on macOS AFAICT

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#9 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

Quoted 33 lines · Daniel P. Berrangé
Quoted 32 lines · Philippe Mathieu-Daudé
Quoted 30 lines · Daniel P. Berrangé
Quoted 11 lines · Thomas Huth
Quoted 9 lines · Philippe Mathieu-Daudé

Split the current GCC build-tci job in 2, and use Clang compiler in the new job.

---
RFC in case someone have better idea to optimize can respin this patch.

  .gitlab-ci.yml | 22 ++++++++++++++++++++--
  1 file changed, 20 insertions(+), 2 deletions(-)
Quoted 8 lines

I'm not quite sure whether we should go down this road ... if we wanted to have full test coverage for clang, we'd need to duplicate *all* jobs to run them once with gcc and once with clang. And that would be just overkill.

I think we already catch most clang-related problems with the clang jobs that we already have in our CI, so problems like the ones that you've tried to address here should be very, very rare. So I'd rather vote for not splitting the job here.

We can't possibly cope with the fully expanded matrix of what are theoretically possible combinations. Thus I think we should be guided by what is expected real world usage by platforms we target.

Essentially for any given distro we're testing on, our primary focus should be to use the toolchain that distro will build QEMU with.

IOW, for Windows and Linux distros our primary focus should be GCC, while for macOS, and *BSD, our focus should be CLang.

Quoted 8 lines
Quoted 3 lines

Sounds good.

Do we need a TCI job on macOS then?

TCI is only relevant if there is no native TCG host impl.

macOS only targets aarch64 and x86_64, both of which have TCG, so there is no reason to use TCI on macOS AFAICT

Yes, fine by me, but Wataru Ashihara reported the bug... ¯\_(ツ)_/¯

#10 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

Quoted 36 lines · Philippe Mathieu-Daudé
Quoted 35 lines · Daniel P. Berrangé
Quoted 34 lines · Philippe Mathieu-Daudé
Quoted 25 lines · Daniel P. Berrangé
Quoted 11 lines · Thomas Huth
Quoted 9 lines · Philippe Mathieu-Daudé

Split the current GCC build-tci job in 2, and use Clang compiler in the new job.

---
RFC in case someone have better idea to optimize can respin this patch.

  .gitlab-ci.yml | 22 ++++++++++++++++++++--
  1 file changed, 20 insertions(+), 2 deletions(-)
Quoted 8 lines

I'm not quite sure whether we should go down this road ... if we wanted to have full test coverage for clang, we'd need to duplicate *all* jobs to run them once with gcc and once with clang. And that would be just overkill.

I think we already catch most clang-related problems with the clang jobs that we already have in our CI, so problems like the ones that you've tried to address here should be very, very rare. So I'd rather vote for not splitting the job here.

We can't possibly cope with the fully expanded matrix of what are theoretically possible combinations. Thus I think we should be guided by what is expected real world usage by platforms we target.

Quoted 5 lines

Essentially for any given distro we're testing on, our primary focus should be to use the toolchain that distro will build QEMU with.

IOW, for Windows and Linux distros our primary focus should be GCC, while for macOS, and *BSD, our focus should be CLang.

Sounds good.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Do we need a TCI job on macOS then?

TCI is only relevant if there is no native TCG host impl.

macOS only targets aarch64 and x86_64, both of which have TCG, so there is no reason to use TCI on macOS AFAICT

Yes, fine by me, but Wataru Ashihara reported the bug... ¯\_(ツ)_/¯

It doesn't look like they were using macOS - the message suggests Ubuntu host, and AFAIK, all Ubuntu architectures have support for TCG, so using TCI shouldn't have been required in the first place.

I guess we could benefit from a TCI job of some kind that uses CLang on at least 1 platform, since none exists.

This does yet again open up the question of whether we should be supporting TCI at all in this particular user's scenario though, since both KVM and TCG are available on Ubuntu x86 hosts already.

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#11 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

Quoted 51 lines · Daniel P. Berrangé
Quoted 36 lines · Philippe Mathieu-Daudé
Quoted 35 lines · Daniel P. Berrangé
Quoted 34 lines · Philippe Mathieu-Daudé
Quoted 25 lines · Daniel P. Berrangé
Quoted 11 lines · Thomas Huth
Quoted 9 lines · Philippe Mathieu-Daudé

Split the current GCC build-tci job in 2, and use Clang compiler in the new job.

---
RFC in case someone have better idea to optimize can respin this patch.

  .gitlab-ci.yml | 22 ++++++++++++++++++++--
  1 file changed, 20 insertions(+), 2 deletions(-)
Quoted 8 lines

I'm not quite sure whether we should go down this road ... if we wanted to have full test coverage for clang, we'd need to duplicate *all* jobs to run them once with gcc and once with clang. And that would be just overkill.

I think we already catch most clang-related problems with the clang jobs that we already have in our CI, so problems like the ones that you've tried to address here should be very, very rare. So I'd rather vote for not splitting the job here.

We can't possibly cope with the fully expanded matrix of what are theoretically possible combinations. Thus I think we should be guided by what is expected real world usage by platforms we target.

Quoted 5 lines

Essentially for any given distro we're testing on, our primary focus should be to use the toolchain that distro will build QEMU with.

IOW, for Windows and Linux distros our primary focus should be GCC, while for macOS, and *BSD, our focus should be CLang.

Sounds good.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Do we need a TCI job on macOS then?

TCI is only relevant if there is no native TCG host impl.

macOS only targets aarch64 and x86_64, both of which have TCG, so there is no reason to use TCI on macOS AFAICT

Yes, fine by me, but Wataru Ashihara reported the bug... ¯\_(ツ)_/¯

It doesn't look like they were using macOS - the message suggests Ubuntu host, and AFAIK, all Ubuntu architectures have support for TCG, so using TCI shouldn't have been required in the first place.

Quoted 6 lines

I guess we could benefit from a TCI job of some kind that uses CLang on at least 1 platform, since none exists.

This does yet again open up the question of whether we should be supporting TCI at all in this particular user's scenario though, since both KVM and TCG are available on Ubuntu x86 hosts already.

I understand Stefan envisions other use cases for TCI, which is why it is still maintained. See:
https://www.mail-archive.com/[email protected]/msg461131.html

I agree with your previous comment:

Quoted 4 lines

we should be guided by what is expected real world usage by platforms we target. Essentially for any given distro we're testing on, our primary focus should be to use the toolchain that distro will build QEMU with.

This rarely used config does not justify adding yet another CI job.

Thanks,

Phil.

#12 lore raw

Re: Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

Quoted 69 lines · Philippe Mathieu-Daudé
Quoted 51 lines · Daniel P. Berrangé
Quoted 36 lines · Philippe Mathieu-Daudé
Quoted 35 lines · Daniel P. Berrangé
Quoted 34 lines · Philippe Mathieu-Daudé
Quoted 25 lines · Daniel P. Berrangé
Quoted 11 lines · Thomas Huth
Quoted 9 lines · Philippe Mathieu-Daudé

Split the current GCC build-tci job in 2, and use Clang compiler in the new job.

---
RFC in case someone have better idea to optimize can respin this patch.

  .gitlab-ci.yml | 22 ++++++++++++++++++++--
  1 file changed, 20 insertions(+), 2 deletions(-)
Quoted 8 lines

I'm not quite sure whether we should go down this road ... if we wanted to have full test coverage for clang, we'd need to duplicate *all* jobs to run them once with gcc and once with clang. And that would be just overkill.

I think we already catch most clang-related problems with the clang jobs that we already have in our CI, so problems like the ones that you've tried to address here should be very, very rare. So I'd rather vote for not splitting the job here.

We can't possibly cope with the fully expanded matrix of what are theoretically possible combinations. Thus I think we should be guided by what is expected real world usage by platforms we target.

Quoted 5 lines

Essentially for any given distro we're testing on, our primary focus should be to use the toolchain that distro will build QEMU with.

IOW, for Windows and Linux distros our primary focus should be GCC, while for macOS, and *BSD, our focus should be CLang.

Sounds good.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Do we need a TCI job on macOS then?

TCI is only relevant if there is no native TCG host impl.

macOS only targets aarch64 and x86_64, both of which have TCG, so there is no reason to use TCI on macOS AFAICT

Yes, fine by me, but Wataru Ashihara reported the bug... ¯\_(ツ)_/¯

It doesn't look like they were using macOS - the message suggests Ubuntu host, and AFAIK, all Ubuntu architectures have support for TCG, so using TCI shouldn't have been required in the first place.

Quoted 6 lines

I guess we could benefit from a TCI job of some kind that uses CLang on at least 1 platform, since none exists.

This does yet again open up the question of whether we should be supporting TCI at all in this particular user's scenario though, since both KVM and TCG are available on Ubuntu x86 hosts already.

I understand Stefan envisions other use cases for TCI, which is why it is still maintained. See:
https://www.mail-archive.com/[email protected]/msg461131.html

I agree with your previous comment:

Quoted 4 lines

we should be guided by what is expected real world usage by platforms we target. Essentially for any given distro we're testing on, our primary focus should be to use the toolchain that distro will build QEMU with.

Quoted 7 lines

This rarely used config does not justify adding yet another CI job.

Thanks,

Phil.

Actually I use TCI also on macOS. Like the use case quoted by Philippe, there're even other reasons to use TCI:

1. Learning TCG ops.
2. Debugging QEMU with gdb. e.g. diagnose codegen or stepping into helper functions from tci.c:tcg_qemu_tb_exec().
3. Guest instruction tracing. TCI is faster than TCG or KVM when tracing the guest ops [1]. I guess qira is using TCI for this reason [2].

[1]: https://twitter.com/wata_ash/status/1352899988032942080
[2]: https://github.com/geohot/qira/blob/v1.3/tracers/qemu_build.sh#L55

#13 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

Am 23.01.21 um 09:59 schrieb Wataru Ashihara:

Quoted 11 lines

Actually I use TCI also on macOS. Like the use case quoted by Philippe, there're even other reasons to use TCI:

1. Learning TCG ops.
2. Debugging QEMU with gdb. e.g. diagnose codegen or stepping into helper functions from tci.c:tcg_qemu_tb_exec().
3. Guest instruction tracing. TCI is faster than TCG or KVM when tracing the guest ops [1]. I guess qira is using TCI for this reason [2].

[1]: https://twitter.com/wata_ash/status/1352899988032942080
[2]: https://github.com/geohot/qira/blob/v1.3/tracers/qemu_build.sh#L55

Yes, TCI can help a lot for debugging, especially also when porting TCG to a new host architecture.

If we had binaries which can switch from native to interpreted TCG, it could also be a reference implementation used for unit tests, comparing the results for each TCG opcode.

Using TCI with profiling like gprof is useful to count the frequency of the different TCG opcodes in practical scenarios and can be used to detect bottlenecks (and less frequent or unused opcodes) for native TCG, too.

Stefan

#14 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

Quoted 11 lines · Stefan Weil

Am 23.01.21 um 09:59 schrieb Wataru Ashihara:

Quoted 9 lines

Actually I use TCI also on macOS. Like the use case quoted by Philippe, there're even other reasons to use TCI:

1. Learning TCG ops.
2. Debugging QEMU with gdb. e.g. diagnose codegen or stepping into helper functions from tci.c:tcg_qemu_tb_exec().
3. Guest instruction tracing. TCI is faster than TCG or KVM when tracing the guest ops [1]. I guess qira is using TCI for this reason [2].

Quoted 6 lines
Quoted 2 lines

[1]: https://twitter.com/wata_ash/status/1352899988032942080
[2]: https://github.com/geohot/qira/blob/v1.3/tracers/qemu_build.sh#L55

Yes, TCI can help a lot for debugging, especially also when porting TCG to a new host architecture.

Indeed, Alistair used it to boostrap RISCV:
https://www.mail-archive.com/[email protected]/msg552643.html

Worth citing a comment Peter mentioned at the end of this thread:
"the interpreter [...] only works with a subset of host OS calling convention ABIs".
https://www.mail-archive.com/[email protected]/msg553077.html

Quoted 13 lines

If we had binaries which can switch from native to interpreted TCG, it could also be a reference implementation used for unit tests, comparing the results for each TCG opcode.

Using TCI with profiling like gprof is useful to count the frequency of the different TCG opcodes in practical scenarios and can be used to detect bottlenecks (and less frequent or unused opcodes) for native TCG, too.

Stefan

#15 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

In reply to Stefan Weil
Quoted 18 lines · Stefan Weil

Am 23.01.21 um 09:59 schrieb Wataru Ashihara:

Quoted 11 lines

Actually I use TCI also on macOS. Like the use case quoted by Philippe, there're even other reasons to use TCI:

1. Learning TCG ops.
2. Debugging QEMU with gdb. e.g. diagnose codegen or stepping into helper functions from tci.c:tcg_qemu_tb_exec().
3. Guest instruction tracing. TCI is faster than TCG or KVM when tracing the guest ops [1]. I guess qira is using TCI for this reason [2].

[1]: https://twitter.com/wata_ash/status/1352899988032942080
[2]: https://github.com/geohot/qira/blob/v1.3/tracers/qemu_build.sh#L55

Yes, TCI can help a lot for debugging, especially also when porting TCG to a new host architecture.

Quoted 8 lines

If we had binaries which can switch from native to interpreted TCG, it could also be a reference implementation used for unit tests, comparing the results for each TCG opcode.

Using TCI with profiling like gprof is useful to count the frequency of the different TCG opcodes in practical scenarios and can be used to detect bottlenecks (and less frequent or unused opcodes) for native TCG, too.

FWIW I had a bunch of JIT profiling changes that exposed the TCG op counts via the JIT profiler. I think I even enabled the op counting by default because it was fairly lightweight to add.

IOW I think more introspection can be brought into the core TCG code rather than relying on TCI to achieve it.

Signature · 1 line
Alex Bennée
#16 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

In reply to Wataru Ashihara
Quoted 74 lines · Wataru Ashihara
Quoted 73 lines · Philippe Mathieu-Daudé
Quoted 51 lines · Daniel P. Berrangé
Quoted 36 lines · Philippe Mathieu-Daudé
Quoted 35 lines · Daniel P. Berrangé
Quoted 34 lines · Philippe Mathieu-Daudé
Quoted 25 lines · Daniel P. Berrangé
Quoted 11 lines · Thomas Huth
Quoted 9 lines · Philippe Mathieu-Daudé

Split the current GCC build-tci job in 2, and use Clang compiler in the new job.

---
RFC in case someone have better idea to optimize can respin this patch.

  .gitlab-ci.yml | 22 ++++++++++++++++++++--
  1 file changed, 20 insertions(+), 2 deletions(-)
Quoted 8 lines

I'm not quite sure whether we should go down this road ... if we wanted to have full test coverage for clang, we'd need to duplicate *all* jobs to run them once with gcc and once with clang. And that would be just overkill.

I think we already catch most clang-related problems with the clang jobs that we already have in our CI, so problems like the ones that you've tried to address here should be very, very rare. So I'd rather vote for not splitting the job here.

We can't possibly cope with the fully expanded matrix of what are theoretically possible combinations. Thus I think we should be guided by what is expected real world usage by platforms we target.

Quoted 5 lines

Essentially for any given distro we're testing on, our primary focus should be to use the toolchain that distro will build QEMU with.

IOW, for Windows and Linux distros our primary focus should be GCC, while for macOS, and *BSD, our focus should be CLang.

Sounds good.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Do we need a TCI job on macOS then?

TCI is only relevant if there is no native TCG host impl.

macOS only targets aarch64 and x86_64, both of which have TCG, so there is no reason to use TCI on macOS AFAICT

Yes, fine by me, but Wataru Ashihara reported the bug... ¯\_(ツ)_/¯

It doesn't look like they were using macOS - the message suggests Ubuntu host, and AFAIK, all Ubuntu architectures have support for TCG, so using TCI shouldn't have been required in the first place.

Quoted 6 lines

I guess we could benefit from a TCI job of some kind that uses CLang on at least 1 platform, since none exists.

This does yet again open up the question of whether we should be supporting TCI at all in this particular user's scenario though, since both KVM and TCG are available on Ubuntu x86 hosts already.

I understand Stefan envisions other use cases for TCI, which is why it is still maintained. See:
https://www.mail-archive.com/[email protected]/msg461131.html

I agree with your previous comment:

Quoted 4 lines

we should be guided by what is expected real world usage by platforms we target. Essentially for any given distro we're testing on, our primary focus should be to use the toolchain that distro will build QEMU with.

This rarely used config does not justify adding yet another CI job.

Thanks,

Quoted 8 lines
Quoted 3 lines

Phil.

Actually I use TCI also on macOS. Like the use case quoted by Philippe, there're even other reasons to use TCI:

1. Learning TCG ops.

Except it's only a subset of ops. Really interesting newer ones using the TCGv_vec types are entirely absent.

Quoted 2 lines

2. Debugging QEMU with gdb. e.g. diagnose codegen or stepping into helper functions from tci.c:tcg_qemu_tb_exec().

I do this quite often with TCG so I'm curious as to what the difference is here?

Quoted 2 lines

3. Guest instruction tracing. TCI is faster than TCG or KVM when tracing the guest ops [1]. I guess qira is using TCI for this reason [2].

How are you doing instruction tracing with TCG? Using the plugin interface?

I think there probably is a roll for a *guest* interpreter given the amount of code that is translated only to be run once. However it would be a fairly large undertaking.

Quoted 2 lines

[1]: https://twitter.com/wata_ash/status/1352899988032942080
[2]: https://github.com/geohot/qira/blob/v1.3/tracers/qemu_build.sh#L55

Signature · 1 line
Alex Bennée
#17 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

In reply to Thomas Huth

Hi,

Quoted 4 lines · Thomas Huth
Quoted 3 lines · Philippe Mathieu-Daudé

Split the current GCC build-tci job in 2, and use Clang compiler in the new job.

Quoted 8 lines
Quoted 6 lines

---
RFC in case someone have better idea to optimize can respin this patch.

  .gitlab-ci.yml | 22 ++++++++++++++++++++--

  1 file changed, 20 insertions(+), 2 deletions(-)

I'm not quite sure whether we should go down this road ... if we wanted to have full test coverage for clang, we'd need to duplicate *all* jobs to run them once with gcc and once with clang. And that would be just overkill.

I agree with Thomas.

Quoted 3 lines

I think we already catch most clang-related problems with the clang jobs that we already have in our CI, so problems like the ones that you've tried to address here should be very, very rare. So I'd rather vote for not splitting the job here.

We got only one clang job on GitLab CI...

  build-clang:
    <<: *native_build_job_definition
    variables:
      IMAGE: fedora
      CONFIGURE_ARGS: --cc=clang --cxx=clang++
      TARGETS: alpha-softmmu arm-softmmu m68k-softmmu mips64-softmmu ppc-softmmu s390x-softmmu arm-linux-user
      MAKE_CHECK_ARGS: check

... and others on Travis:

  "Clang (user)"

  "Clang (main-softmmu)"

  "Clang (other-softmmu)"

  "[s390x] Clang (disable-tcg)"

So I've some questions:

 * Can we move those first three Travis jobs to Gitlab CI? (I can work on that)

 * Do you think they cover the most common problems with clang?

- Wainer

Quoted 3 lines

 Thomas

#18 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

Quoted 39 lines · Wainer dos Santos Moschetta

Hi,

Quoted 8 lines · Thomas Huth
Quoted 7 lines · Philippe Mathieu-Daudé

Split the current GCC build-tci job in 2, and use Clang compiler in the new job.

---
RFC in case someone have better idea to optimize can respin this patch.

Quoted 7 lines
Quoted 2 lines

  .gitlab-ci.yml | 22 ++++++++++++++++++++--

  1 file changed, 20 insertions(+), 2 deletions(-)

I'm not quite sure whether we should go down this road ... if we wanted to have full test coverage for clang, we'd need to duplicate *all* jobs to run them once with gcc and once with clang. And that would be just overkill.

I agree with Thomas.

Quoted 6 lines

I think we already catch most clang-related problems with the clang jobs that we already have in our CI, so problems like the ones that you've tried to address here should be very, very rare. So I'd rather vote for not splitting the job here.

We got only one clang job on GitLab CI...

  build-clang:
    <<: *native_build_job_definition
    variables:
      IMAGE: fedora
      CONFIGURE_ARGS: --cc=clang --cxx=clang++
      TARGETS: alpha-softmmu arm-softmmu m68k-softmmu mips64-softmmu ppc-softmmu s390x-softmmu arm-linux-user
      MAKE_CHECK_ARGS: check

Quoted 7 lines

... and others on Travis:

  "Clang (user)"

  "Clang (main-softmmu)"

  "Clang (other-softmmu)"

I guess these three overlap partially with the build-clang job.

Quoted 1 line

  "[s390x] Clang (disable-tcg)"

Don't forget the Cirrus CI jobs for freebsd and macOS will be using CLang too.

Quoted 5 lines

So I've some questions:

 * Can we move those first three Travis jobs to Gitlab CI? (I can work on that)

Yeah, if we move those three travis jobs they can replace the existing build-clang job. We don't neccesssarily need to keep them as three separate jobs - that split was just due to the Travis time limits. If a different split works better on GitLab we can do that.

Quoted 1 line

 * Do you think they cover the most common problems with clang?

Should do I think, especially in addition to the Cirrus CI jobs.

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#19 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

Quoted 46 lines · Daniel P. Berrangé
Quoted 45 lines · Wainer dos Santos Moschetta

Hi,

Quoted 8 lines · Thomas Huth
Quoted 7 lines · Philippe Mathieu-Daudé

Split the current GCC build-tci job in 2, and use Clang compiler in the new job.

---
RFC in case someone have better idea to optimize can respin this patch.

Quoted 7 lines
Quoted 2 lines
   .gitlab-ci.yml | 22 ++++++++++++++++++++--
   1 file changed, 20 insertions(+), 2 deletions(-)

I'm not quite sure whether we should go down this road ... if we wanted to have full test coverage for clang, we'd need to duplicate *all* jobs to run them once with gcc and once with clang. And that would be just overkill.

I agree with Thomas.

Quoted 6 lines

I think we already catch most clang-related problems with the clang jobs that we already have in our CI, so problems like the ones that you've tried to address here should be very, very rare. So I'd rather vote for not splitting the job here.

We got only one clang job on GitLab CI...

  build-clang:
    <<: *native_build_job_definition
    variables:
      IMAGE: fedora
      CONFIGURE_ARGS: --cc=clang --cxx=clang++
      TARGETS: alpha-softmmu arm-softmmu m68k-softmmu mips64-softmmu ppc-softmmu s390x-softmmu arm-linux-user
      MAKE_CHECK_ARGS: check

... and others on Travis:

  "Clang (user)"

  "Clang (main-softmmu)"

Quoted 8 lines
Quoted 1 line

  "Clang (other-softmmu)"

I guess these three overlap partially with the build-clang job.

Quoted 1 line

  "[s390x] Clang (disable-tcg)"

Don't forget the Cirrus CI jobs for freebsd and macOS will be using CLang too.

Right... we should work towards getting cirrus-run into the QEMU-CI, too, to finally have these in the gitlab-ci dashboard, too.

Quoted 10 lines
Quoted 5 lines

So I've some questions:

 * Can we move those first three Travis jobs to Gitlab CI? (I can work on
that)

Yeah, if we move those three travis jobs they can replace the existing build-clang job. We don't neccesssarily need to keep them as three separate jobs - that split was just due to the Travis time limits. If a different split works better on GitLab we can do that.

Well, if we really want to increase the amount clang jobs, one of them should likely use TCI, as Phillippe suggested.

Quoted 3 lines
Quoted 1 line

 * Do you think they cover the most common problems with clang?

Should do I think, especially in addition to the Cirrus CI jobs.

I concur.

Thomas

#20 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

Quoted 64 lines · Thomas Huth
Quoted 46 lines · Daniel P. Berrangé
Quoted 45 lines · Wainer dos Santos Moschetta

Hi,

Quoted 8 lines · Thomas Huth
Quoted 7 lines · Philippe Mathieu-Daudé

Split the current GCC build-tci job in 2, and use Clang compiler in the new job.

---
RFC in case someone have better idea to optimize can respin this patch.

Quoted 7 lines
Quoted 2 lines

   .gitlab-ci.yml | 22 ++++++++++++++++++++--

   1 file changed, 20 insertions(+), 2 deletions(-)

I'm not quite sure whether we should go down this road ... if we wanted to have full test coverage for clang, we'd need to duplicate *all* jobs to run them once with gcc and once with clang. And that would be just overkill.

I agree with Thomas.

Quoted 6 lines

I think we already catch most clang-related problems with the clang jobs that we already have in our CI, so problems like the ones that you've tried to address here should be very, very rare. So I'd rather vote for not splitting the job here.

We got only one clang job on GitLab CI...

   build-clang:
     <<: *native_build_job_definition
     variables:
       IMAGE: fedora
       CONFIGURE_ARGS: --cc=clang --cxx=clang++
       TARGETS: alpha-softmmu arm-softmmu m68k-softmmu mips64-softmmu ppc-softmmu s390x-softmmu arm-linux-user
       MAKE_CHECK_ARGS: check

... and others on Travis:

   "Clang (user)"

   "Clang (main-softmmu)"

Quoted 8 lines
Quoted 1 line

   "Clang (other-softmmu)"

I guess these three overlap partially with the build-clang job.

Quoted 1 line

   "[s390x] Clang (disable-tcg)"

Don't forget the  Cirrus CI jobs for freebsd and macOS will be using  CLang too.

Right... we should work towards getting cirrus-run into the QEMU-CI, too, to finally have these in the gitlab-ci dashboard, too.

Quoted 6 lines
Quoted 5 lines

So I've some questions:

  * Can we move those first three Travis jobs to Gitlab CI? (I can work on that)

Quoted 6 lines
Quoted 4 lines

Yeah, if we move those three travis jobs they can replace the existing build-clang job. We don't neccesssarily need to keep them as three separate jobs - that split was just due to the Travis time limits. If a different split works better on GitLab we can do that.

Well, if we really want to increase the amount clang jobs, one of them should likely use TCI, as Phillippe suggested.

Ok, got it. I won't touch on those jobs.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

  * Do you think they cover the most common problems with clang?

Should do I think, especially in addition to the Cirrus CI jobs.

I concur.

Great. Thanks for the inputs.

- Wainer

Quoted 3 lines

 Thomas

#21 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

Quoted 66 lines · Wainer dos Santos Moschetta
Quoted 64 lines · Thomas Huth
Quoted 46 lines · Daniel P. Berrangé
Quoted 45 lines · Wainer dos Santos Moschetta

Hi,

Quoted 8 lines · Thomas Huth
Quoted 7 lines · Philippe Mathieu-Daudé

Split the current GCC build-tci job in 2, and use Clang compiler in the new job.

---
RFC in case someone have better idea to optimize can respin this patch.

Quoted 7 lines
Quoted 2 lines

   .gitlab-ci.yml | 22 ++++++++++++++++++++--

   1 file changed, 20 insertions(+), 2 deletions(-)

I'm not quite sure whether we should go down this road ... if we wanted to have full test coverage for clang, we'd need to duplicate *all* jobs to run them once with gcc and once with clang. And that would be just overkill.

I agree with Thomas.

Quoted 6 lines

I think we already catch most clang-related problems with the clang jobs that we already have in our CI, so problems like the ones that you've tried to address here should be very, very rare. So I'd rather vote for not splitting the job here.

We got only one clang job on GitLab CI...

   build-clang:
     <<: *native_build_job_definition
     variables:
       IMAGE: fedora
       CONFIGURE_ARGS: --cc=clang --cxx=clang++
       TARGETS: alpha-softmmu arm-softmmu m68k-softmmu mips64-softmmu ppc-softmmu s390x-softmmu arm-linux-user
       MAKE_CHECK_ARGS: check

... and others on Travis:

   "Clang (user)"

   "Clang (main-softmmu)"

Quoted 8 lines
Quoted 1 line

   "Clang (other-softmmu)"

I guess these three overlap partially with the build-clang job.

Quoted 1 line

   "[s390x] Clang (disable-tcg)"

Don't forget the  Cirrus CI jobs for freebsd and macOS will be using  CLang too.

Right... we should work towards getting cirrus-run into the QEMU-CI, too, to finally have these in the gitlab-ci dashboard, too.

Quoted 6 lines
Quoted 5 lines

So I've some questions:

  * Can we move those first three Travis jobs to Gitlab CI? (I can work on that)

Quoted 7 lines
Quoted 6 lines
Quoted 4 lines

Yeah, if we move those three travis jobs they can replace the existing build-clang job. We don't neccesssarily need to keep them as three separate jobs - that split was just due to the Travis time limits. If a different split works better on GitLab we can do that.

Well, if we really want to increase the amount clang jobs, one of them should likely use TCI, as Phillippe suggested.

Ok, got it. I won't touch on those jobs.

I didn't meant my comment as a "no", but rather as a "needs further discussion first" ...

So here's my suggestion:

- Keep the current build-tci job as it is

- Add a build-clang-user job that compiles with clang and --disable-system

- Add a "build-clang-system 2" job that compiles with clang and --enable-tcg-interpreter and uses more or less the same targets as the "build-tci" job. Maybe add the avr-softmmu target here now, too, since it now also has a qtest with TCG (boot-serial-test)

- Rename the current "build-clang" job to "build-clang-system 1" and remove the arm-linux-user target and all the targets that are already part of the "build-clang-system 2" / "build-tci" from that job. Then add some other softmmu targets to that job (but take care that it does not exceed the 1h run time limit, so likely not all remaining targets can be added here)

- If we feel confident that we got enough test coverage there (together with the clang-based jobs on Cirrus-CI), finally remove the three x86 clang jobs from travis.yml.

What do you think? Could you work on such a patch (or patch series), Wainer?

Thomas

#22 lore raw

Re: [RFC PATCH 2/2] gitlab-ci: Add a job building TCI with Clang

Hi Thomas,

Quoted 97 lines · Thomas Huth
Quoted 66 lines · Wainer dos Santos Moschetta
Quoted 64 lines · Thomas Huth
Quoted 46 lines · Daniel P. Berrangé
Quoted 45 lines · Wainer dos Santos Moschetta

Hi,

Quoted 8 lines · Thomas Huth
Quoted 7 lines · Philippe Mathieu-Daudé

Split the current GCC build-tci job in 2, and use Clang compiler in the new job.

---
RFC in case someone have better idea to optimize can respin this patch.

Quoted 7 lines
Quoted 2 lines

   .gitlab-ci.yml | 22 ++++++++++++++++++++--

   1 file changed, 20 insertions(+), 2 deletions(-)

I'm not quite sure whether we should go down this road ... if we wanted to have full test coverage for clang, we'd need to duplicate *all* jobs to run them once with gcc and once with clang. And that would be just overkill.

I agree with Thomas.

Quoted 6 lines

I think we already catch most clang-related problems with the clang jobs that we already have in our CI, so problems like the ones that you've tried to address here should be very, very rare. So I'd rather vote for not splitting the job here.

We got only one clang job on GitLab CI...

   build-clang:
     <<: *native_build_job_definition
     variables:
       IMAGE: fedora
       CONFIGURE_ARGS: --cc=clang --cxx=clang++
       TARGETS: alpha-softmmu arm-softmmu m68k-softmmu mips64-softmmu ppc-softmmu s390x-softmmu arm-linux-user
       MAKE_CHECK_ARGS: check

... and others on Travis:

   "Clang (user)"

   "Clang (main-softmmu)"

Quoted 8 lines
Quoted 1 line

   "Clang (other-softmmu)"

I guess these three overlap partially with the build-clang job.

Quoted 1 line

   "[s390x] Clang (disable-tcg)"

Don't forget the  Cirrus CI jobs for freebsd and macOS will be using  CLang too.

Right... we should work towards getting cirrus-run into the QEMU-CI, too, to finally have these in the gitlab-ci dashboard, too.

Quoted 6 lines
Quoted 5 lines

So I've some questions:

  * Can we move those first three Travis jobs to Gitlab CI? (I can work on that)

Quoted 7 lines
Quoted 6 lines
Quoted 4 lines

Yeah, if we move those three travis jobs they can replace the existing build-clang job. We don't neccesssarily need to keep them as three separate jobs - that split was just due to the Travis time limits. If a different split works better on GitLab we can do that.

Well, if we really want to increase the amount clang jobs, one of them should likely use TCI, as Phillippe suggested.

Ok, got it. I won't touch on those jobs.

I didn't meant my comment as a "no", but rather as a "needs further discussion first" ...

So here's my suggestion:

- Keep the current build-tci job as it is

- Add a build-clang-user job that compiles with clang and --disable-system

- Add a "build-clang-system 2" job that compiles with clang and --enable-tcg-interpreter and uses more or less the same targets as the "build-tci" job. Maybe add the avr-softmmu target here now, too, since it now also has a qtest with TCG (boot-serial-test)

- Rename the current "build-clang" job to "build-clang-system 1" and remove the arm-linux-user target and all the targets that are already part of the "build-clang-system 2" / "build-tci" from that job. Then add some other softmmu targets to that job (but take care that it does not exceed the 1h run time limit, so likely not all remaining targets can be added here)

Quoted 5 lines

- If we feel confident that we got enough test coverage there (together with the clang-based jobs on Cirrus-CI), finally remove the three x86 clang jobs from travis.yml.

What do you think? Could you work on such a patch (or patch series), Wainer?

It looks reasonable to me. I will work on a patch series based on your suggestions so further discussion can be done on concrete changes.

Thanks!

- Wainer

Quoted 3 lines

 Thomas