On Tue, Mar 10, 2026 at 11:06:00PM +0000, nia wrote: > On Tue, Mar 10, 2026 at 04:47:30PM +0100, Thomas Huth wrote: > > According to that URL from NetBSD that I posted above, they are still using > > LLVM 10.0 in NetBSD 10 ... which is also our current minimum version of > > Clang, so I assume we're still stuck with Clang v10 for a while? > > Since I was CCed in this discussion - can I ask why qemu is targeting > compiler versions instead of C standard revisions?
QEMU has a general policies for 3rd dependencies that we will target a certain subset of OS distro releases as supportable build platforms. Essentially this means the most recent major release, and the previous major release for upto 2 years overlap, or until vendor EOLs (whichever comes first). This is documented here: https://www.qemu.org/docs/master/about/build-platforms.html The setting of min compiler versions falls out of this policy, in the same way we set min versions of libraries. These min versions then let us decide what features we can assume to always exist - a desired GNU C standard version would be inferred from the compiler min version. With regards, Daniel -- |: https://berrange.com ~~ https://hachyderm.io/@berrange :| |: https://libvirt.org ~~ https://entangle-photo.org :| |: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
