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

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] 6+ messages in thread

end of thread, other threads:[~2024-08-14 22:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-14 17:11 [PATCH 0/4] build qemu with gcc and tsan Pierrick Bouvier
2024-08-14 17:11 ` [PATCH 1/4] meson: hide tsan related warnings Pierrick Bouvier
2024-08-14 17:11 ` [PATCH 2/4] target/i386: fix build warning (gcc-12 -fsanitize=thread) Pierrick Bouvier
2024-08-14 17:11 ` [PATCH 3/4] target/s390x: " Pierrick Bouvier
2024-08-14 17:11 ` [PATCH 4/4] docs/devel: update tsan build documentation Pierrick Bouvier
2024-08-14 22:43 ` [PATCH 0/4] build qemu with gcc and tsan 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).