You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently use Clang 13.0.1, which has a number of problems we have to work around, including but not limited to:
Intermittent crashes when compiling C code containing variable-length arrays
consteval is broken
Incompatible with libstdc++'s coroutines
I think it makes sense to break our package version freeze to update Clang, as when we transition to using distro-provided compilers, we will almost certainly be transitioning to a version newer than 13, and updating our Clang package will make that transition easier.
Here's a table of the versions of Clang and GCC available on the distributions we support:
Ignoring Ubuntu 20.04 (as we are unlikely to transition to distro-provided compilers before April), I think updating to Clang 15 is the best candidate for helping to ease the transition to distro-provided compilers.
Unfortunately, we will still need to build Clang with GCC 10 (11 on Debian 12 and EL9) as the latest version of libstdc++ available on Debian 11 is 10.2.1.
I don't consider this a super high priority at the moment, but would love to hear people's thoughts.
Also, a quick note on the transition to distro-provided compilers: While the default GCC (and therefore the default set of libstdc++ headers) for EL8 is 8.5, EL8's clang is actually built with GCC 13, meaning we won't have to worry about EL8's Clang defaulting to a relatively ancient version of libstdc++.
The text was updated successfully, but these errors were encountered:
We currently use Clang 13.0.1, which has a number of problems we have to work around, including but not limited to:
consteval
is brokenI think it makes sense to break our package version freeze to update Clang, as when we transition to using distro-provided compilers, we will almost certainly be transitioning to a version newer than 13, and updating our Clang package will make that transition easier.
Here's a table of the versions of Clang and GCC available on the distributions we support:
Ignoring Ubuntu 20.04 (as we are unlikely to transition to distro-provided compilers before April), I think updating to Clang 15 is the best candidate for helping to ease the transition to distro-provided compilers.
Unfortunately, we will still need to build Clang with GCC 10 (11 on Debian 12 and EL9) as the latest version of libstdc++ available on Debian 11 is 10.2.1.
I don't consider this a super high priority at the moment, but would love to hear people's thoughts.
Also, a quick note on the transition to distro-provided compilers: While the default GCC (and therefore the default set of libstdc++ headers) for EL8 is 8.5, EL8's clang is actually built with GCC 13, meaning we won't have to worry about EL8's Clang defaulting to a relatively ancient version of libstdc++.
The text was updated successfully, but these errors were encountered: