Adjust CentOS 4.18+ Kernels to use GCC 9 #276
Merged
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.
What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
We have a lot of failures for CentOS 4.18.x kernels. It seems that the image selector defaults them to GCC 8. I bumped them up to the GCC 9 image, and now it works locally. For example:
^ works now :)
Which issue(s) this PR fixes:
Fixes # N/A
Special notes for your reviewer:
I only adjusted this in the CentOS builder, unsure this is universally true for all 4.18.x kernels. Also the change may be working because using GCC 9 bumps the builder image up to the GCC 9 image, which is based on bullseye rather than buster. Buster's build image has older versions of cpio/rpm2cpio, which had lower limits on how big rpms could be to unpack. Bullseye's version of these packages for managing rpms allows for bigger rpm file sizes.
Either way, the builds work now haha.
Does this PR introduce a user-facing change?:
Not really.