-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
binutils: Apply patches from 2.30 branch #41042
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
Conversation
Can we fetchpatch? |
Probably yes but that would also mean that we would need to get all patches in the right order. So in my opinion it's better to patch concrete problems for now. |
Hmm Ok. I gues just add a note with all the code. Shouldn't this go to staging? |
What do you mean with the note? It should go everywhere where binutils 2.30 is used, why do you ask? |
Failure on x86_64-linux (full log) Attempted: binutils Partial log (click to expand)
|
@ThomasMader I mean next to the patches in |
I thought about doing b) but haven't done it because there was already a patch for 2.30 with just the link to the bug, so I figured it's normal to go through all patches on each version bump and remove the unneeded ones. I didn't do a) because of the same reason. I just used the same style which was already used in the file. |
Success on aarch64-linux (full log) Attempted: binutils Partial log (click to expand)
|
Well, at least people can blame and find this PR. So that just leaves whether this should go to staging right? |
We can also keep that PR unmerged and get it merged only if there are really other packages with the same problem. As of now I suspect that tilix isn't building because of this problem but that can be easily verified. |
I think these patches address security issues mentioned in #41748. If you don't mind, checking and adding additional patches that address those CVEs would be great. (we might as well fix them while we're at it!) If merging to master it'd be good to at least have someone sanity check a few builds and monitor Hydra for the fallout. Maybe new jobset? cc @shlevy since was involved in last binutils bump. |
I can revive the binutils-2.30 jobset if we freshen up that branch... I'd really like to see if we can use fetchpatch, though. |
Ping! :) |
Sorry I have only infrequent access to internet for now. I might take a look when I go back home. |
No worries, thanks! Ping'ing the thread itself (as opposed to trying to bring it to attention elsewhere) is mostly about helping ensure this isn't left incomplete only because it was forgotten about, which is all too easy to do :). And giving a small amount of encouragement that at least someone is interested in this :). Thanks for putting this together, and do what you can when you can. Take care! |
Closing this as there is an open PR for binutils 2.31.1: #49324 |
Motivation for this change
This fixes #40397.
Because I already had those other patches I thought it is better to commit them with the two patches which fix the strip issue.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)