-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[staging] go: upgrade bootstrap to 1.18 #241776
Conversation
Tested with ipfs/kubo and keybase. Causes the following rebuilds 2404 packages updated
|
@ofborg build go_1_18.tests go_1_19.tests go_1_20.tests |
darwin is failing, as almost all the time when targeting staging, due to a missing lvm in cache which times out when building from source on ofborg. |
Are you sure about the "security" label? The bootstrap compiler should only be used during... bootstrapping, so the main security impact should be dropping CVEs from outputs of tools like vulnix? |
This has strong "checking a box" feels for me. I looked at a couple of the 9.8'ers and I am pretty sure they aren't applicable to any of the code in the Go tree.. Is there more information about where it's impacted? Perhaps
|
Yeah, agree there isn't any benefit from this but didn't really have any technical reasons to reject it. |
I also wanted to change bootstrap version but I stopped after reading golang/go#44505 it contains reasoning for not adopting 1.18 as bootstrap for 1.20 also current master still uses 1.17 as bootstrap that being said, I don't object this PR |
Honestly yeah a bit of anxiety from having those listed in my As for why 1.18 that is the minimum version still supported on Nix and recently EOLed so that major version wont be updating often. (Different from 1.19/1.20 still receiving patch releases)
I would say that is no longer applicable since 1.18 is EOL (and would hope most issues were fixed) + self bootstrapping of go upstream has stronger assurance requirements (trusting trust) than nix binary bootstrapping not part of stdenv (trusted binary to compile the upstream compiler that is not further used to keep bootstrapping) |
Here is the result of a recent (wink wink, nudge nudge #242640)
Others can correct me if I am wrong - but the bootstrap stuff is outside of the EOL constraints because you always need to be able to bootstrap (that's why 1.4 release will never go away). I am not terribly opposed to this going in - biggest concern I have is that it will cause build churn for no real benefit. Other than that, I build stable versions of Go using tip pretty frequently (for weird OSs) without issue. Shrug :D |
We're now using 1.21 to bootstrap Both Closing this as the churn isn't really worth it but thanks anyway for the PR. |
Description of changes
Current 1.16/1.17 bootstrapping dates to at least before
Changes vulnix entries from:
Addresses
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)