All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Bump min compiler versions again
@ 2026-09-15  8:52 Daniel P. Berrangé
  2026-09-15  8:52 ` [PATCH v2 1/5] tests/vm: drop redundant '; ' at end of each shell command Daniel P. Berrangé via qemu development
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Daniel P. Berrangé @ 2026-09-15  8:52 UTC (permalink / raw)
  To: qemu-devel
  Cc: Alex Bennée, Marc-André Lureau, Paolo Bonzini,
	Kyle Evans, Warner Losh, Daniel P. Berrangé,
	Pierrick Bouvier

With the security policy we want to rely on usage of
the -ftrivial-auto-var-init=zero flag to declare
bugs "not a CVE" if they rely on uninitialized stack
variables.

This arg is only supported by  CLang 17 or GCC 12 though,
both of which are beyond our current min versions.

This series bumps both CLang and GCC to enable this.

The GCC bump is technically something we shouldn't do per
our platform support matrix, as the system compiler in our
targetted releases of NetBSD, remains GCC 10.4

This series considers it reasonable to bend the rules
slightly, as NetBSD does have new enough CLang, and also
ships newer GCC as non-system compilers.

Also historically the macOS XCode versions reported by
clang did not appear to align with upstream CLang versions
so we checked versions separately for macOS.

With this set of patches we happen to end up on 17.0 for
both upstream CLang and macOS Clang, and this makes me
wonder if we can rely on aligned versions going forward ?

Latest XCode 26.6 apparently reports clang 21.0.0 which
appears to be a match for a modern llvm release.

Daniel P. Berrangé (5):
  tests/vm: drop redundant ';' at end of each shell command
  meson: simplify clang version checks
  meson: bump min XCode CLang to 17.0
  meson: bump min upstream CLang to 17.0
  meson: bump min GCC to 12.0

 meson.build     | 12 ++++++------
 tests/vm/netbsd | 17 +++++++++++------
 2 files changed, 17 insertions(+), 12 deletions(-)

-- 
2.55.0



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

end of thread, other threads:[~2026-09-15 14:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-15  8:52 [PATCH v2 0/5] Bump min compiler versions again Daniel P. Berrangé
2026-09-15  8:52 ` [PATCH v2 1/5] tests/vm: drop redundant '; ' at end of each shell command Daniel P. Berrangé via qemu development
2026-09-15  8:52 ` [PATCH v2 2/5] meson: simplify clang version checks Daniel P. Berrangé
2026-09-15  8:52 ` [PATCH v2 3/5] meson: bump min XCode CLang to 17.0 Daniel P. Berrangé
2026-09-15  8:52 ` [PATCH v2 4/5] meson: bump min upstream " Daniel P. Berrangé
2026-09-15  8:52 ` [PATCH v2 5/5] meson: bump min GCC to 12.0 Daniel P. Berrangé
2026-09-15 14:53 ` [PATCH v2 0/5] Bump min compiler versions again Richard Henderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.