Hi all-
Now that we’ve done the 19.1 branch, I believe it is time again that we discuss what ‘minimum’ compiler version we sh ould support as our host compilers. See the current list here: Getting Started with the LLVM System — LLVM 20.0.0git documentation
At least for the GCC version, the GCC7 branch is a little problematic for us, see here: Unable to use clang header with GCC <9.3 with `-Werror` · Issue #109192 · llvm/llvm-project · GitHub
One thing to note: This was NOT caught by any buildbots, despite being committed in May. So this shows that we don’t have any buildbots for GCC7.
As a part of this, I’d like to get a good idea of what our current buildbot compiler versions are? It seems foolish for us to list supported host compilers that we don’t actually TEST.
As far as versions, the above shows that we should consider at least the GCC8.4 as our minimum version. Based on that, I’m going to make my proposal as follows, though if someone has reason one way or another on any of the compilers, I’d love to hear them. Additionally, I’d like to see us start having buildbots for our minimum version (and presence of existing buildbot versions would, IMO, be extremely motivating for setting these versions).
GCC: 8.5, May 2021 release date (latest of the GCC 8 branch). Looks like all major distributions have at least this version.
Clang: 11.1.0, February 2021 release date. This is the most similar date-wise to the GCC proposal above, otherwise no real motivation
Apple Clang 13.4.1, June 2022 release date: No reason, other than it is 3 versions of XCode-old. I don’t have good visibility into what LLVM/Clang this is based on, but timeframe wise seems appropriate.
Visual Studio 2019 16.10.4, released July 2021: This is the latest version of the VS 2019 branch, anything newer looks to be VS2022. That said, with as easy as updating Visual Studio IS, I might suggest we consider 2022.
So: Request for Comments