Repository navigation
linux: Makes the -dev output reproducible - #57100
Merged
Merged
Conversation
Member
Author
|
Fails with 4.20, I'm thinking they changed just enough not to be an issue. |
Member
Author
|
With |
Member
Author
|
@GrahamcOfBorg build linux_latest |
Contributor
|
@GrahamcOfBorg build linux_latest |
Member
|
please rebase and test again |
Member
Author
|
Just rebased, built locally. Re-ran with --check and they all passed. |
thiagokokada
pushed a commit
to thiagokokada/nixpkgs
that referenced
this pull request
Oct 9, 2026
This was fixed in 4.16 with [e847f6aaf68f6156a5e9b26afe1a7316b9ab697e], as was observed for 4.20 in the [original PR]. [e847f6aaf68f6156a5e9b26afe1a7316b9ab697e]: <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e847f6aaf68f6156a5e9b26afe1a7316b9ab697e> [original PR]: <NixOS#57100>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation for this change
Makes the
-devoutput of the kernel reproducible.The (temporary) file has been spotted by r13y.com
This file is, in turn, generated by a poor cleanup under
try-runfrom the Makefiles. The particular one is this one:It was found via using
strace(and a good guess). The underlyingcccall will callcc1which will use-MDwith the filename modified to be*.d, meaningtry-runwill not clean it up.The file name is different each run, and cannot be derived. Thus the patterned
rm.Things done
sandboxinnix.confon non-NixOS)cc @grahamc