qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] build qemu with gcc and tsan
@ 2024-08-14 22:41 Pierrick Bouvier
  2024-08-14 22:41 ` [PATCH v2 1/4] meson: hide tsan related warnings Pierrick Bouvier
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Pierrick Bouvier @ 2024-08-14 22:41 UTC (permalink / raw)
  To: qemu-devel
  Cc: Beraldo Leal, David Hildenbrand, Thomas Huth, Marcelo Tosatti,
	Philippe Mathieu-Daudé, Paolo Bonzini, kvm,
	Wainer dos Santos Moschetta, qemu-s390x, Daniel P. Berrangé,
	Marc-André Lureau, Richard Henderson, Alex Bennée,
	Ilya Leoshkevich, Pierrick Bouvier

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.

v2
--

- forgot to signoff commits

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



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-08-16 17:55 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-14 22:41 [PATCH v2 0/4] build qemu with gcc and tsan Pierrick Bouvier
2024-08-14 22:41 ` [PATCH v2 1/4] meson: hide tsan related warnings Pierrick Bouvier
2024-08-15  9:50   ` Thomas Huth
2024-08-15 17:57     ` Pierrick Bouvier
2024-08-15 10:12   ` Peter Maydell
2024-08-15 11:05     ` Daniel P. Berrangé
2024-08-15 17:43       ` Pierrick Bouvier
2024-08-15 17:54       ` Peter Maydell
2024-08-15 17:58         ` Pierrick Bouvier
2024-08-16  5:44         ` Thomas Huth
2024-08-16  8:44           ` Daniel P. Berrangé
2024-08-14 22:41 ` [PATCH v2 2/4] target/i386: fix build warning (gcc-12 -fsanitize=thread) Pierrick Bouvier
2024-08-14 22:47   ` Richard Henderson
2024-08-15 17:54     ` Pierrick Bouvier
2024-08-15  9:49   ` Thomas Huth
2024-08-16 10:59   ` Philippe Mathieu-Daudé
2024-08-16 17:54     ` Pierrick Bouvier
2024-08-14 22:41 ` [PATCH v2 3/4] target/s390x: " Pierrick Bouvier
2024-08-14 22:57   ` Ilya Leoshkevich
2024-08-14 22:41 ` [PATCH v2 4/4] docs/devel: update tsan build documentation Pierrick Bouvier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).