[PATCH 0/4] build qemu with gcc and tsan

Pierrick Bouvier posted 4 patches 1 year, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240814171152.575634-1-pierrick.bouvier@linaro.org
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>
There is a newer version of this series
docs/devel/testing.rst       | 26 ++++++++++++++++++++++----
meson.build                  | 10 +++++++++-
target/i386/kvm/kvm.c        |  4 ++--
target/s390x/tcg/translate.c |  1 -
4 files changed, 33 insertions(+), 8 deletions(-)
[PATCH 0/4] build qemu with gcc and tsan
Posted by Pierrick Bouvier 1 year, 5 months ago
While working on a concurrency bug, I gave a try to tsan builds for QEMU. I
noticed it didn't build out of the box with recent gcc, so I fixed compilation.
In more, updated documentation to explain how to build a sanitized glib to avoid
false positives related to glib synchronisation primitives.

Pierrick Bouvier (4):
  meson: hide tsan related warnings
  target/i386: fix build warning (gcc-12 -fsanitize=thread)
  target/s390x: fix build warning (gcc-12 -fsanitize=thread)
  docs/devel: update tsan build documentation

 docs/devel/testing.rst       | 26 ++++++++++++++++++++++----
 meson.build                  | 10 +++++++++-
 target/i386/kvm/kvm.c        |  4 ++--
 target/s390x/tcg/translate.c |  1 -
 4 files changed, 33 insertions(+), 8 deletions(-)

-- 
2.39.2
Re: [PATCH 0/4] build qemu with gcc and tsan
Posted by Pierrick Bouvier 1 year, 5 months ago
Sent v2 (forgot to signoff commits).

On 8/14/24 10:11, Pierrick Bouvier wrote:
> While working on a concurrency bug, I gave a try to tsan builds for QEMU. I
> noticed it didn't build out of the box with recent gcc, so I fixed compilation.
> In more, updated documentation to explain how to build a sanitized glib to avoid
> false positives related to glib synchronisation primitives.
> 
> Pierrick Bouvier (4):
>    meson: hide tsan related warnings
>    target/i386: fix build warning (gcc-12 -fsanitize=thread)
>    target/s390x: fix build warning (gcc-12 -fsanitize=thread)
>    docs/devel: update tsan build documentation
> 
>   docs/devel/testing.rst       | 26 ++++++++++++++++++++++----
>   meson.build                  | 10 +++++++++-
>   target/i386/kvm/kvm.c        |  4 ++--
>   target/s390x/tcg/translate.c |  1 -
>   4 files changed, 33 insertions(+), 8 deletions(-)
>