Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GNU compiler toolchain is used in runtime for native build validation. The LLVM toolchain is default one to build the shipping product.
Currently we are using gcc9 from
centos-7
image, which we install from YUM packages when building the prereq image for two purposes:Therefore, it is non-trivial to upgrade gcc independently, as first we need to wait fro
devtoolset
to pick up the GNU version, then we need to make sure our custom llvm toolchain's build is intact.This PR adds gcc 11 leg based on official library layer (https://hub.docker.com/_/gcc), which uses Debian 11 (buillseye) for gcc 11. In future, we can add
src/debian/{version}/gcc/Dockerfile
when needed, without affecting anything else.