CI: use ubuntu 24.04 over ubuntu 20.04 in linux tiles builds #75992
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.
Summary
Build "Use the newer ubuntu24.04 image in Linux tiles builds"
Purpose of change
Please do not merge until people had time to review this.
Fixes #54886
Fixes #73667
This hopefully fixes those arcane and cursed issues. GCC 9 is unsupported anyways.
Special thanks to
#gcc
on libera.chat. Your mystic ways fascinate me.Describe the solution
CC @akrieger.
So why am I doing this?
I tried compiling gcc9 myself on Arch but after 10h of gcc failing to build because of random reasons, I stopped. I also spent 6h of compiling cdda over and over and over again with different flags because I initially thought that the Arch Linux flag defaults may interfere with that heap overflow because e.g FORTIFY_SOURCE may prevent them. No change in behavior when I disabled all of them to have a completely plain default build.
The wise folks in
#gcc
eventually pointed me at the fact that I am using completely a different compiler version than you. So I unsuccessfully tried to compile gcc9 and then went to say fuck it, lets just make the CI use a newer version of gcc and that works.Describe alternatives you've considered
Testing
CI in my fork built it successfully. It runs and does not crash.
The only thing I am worried about is that on Arch, I need
-Wno-error=maybe-uninitialized
. I do not know what part in the chain complained about this specifically and because it compiled just fine on the CI, it might not apply to us at all.Additional context