Repository navigation
[Backport staging-26.05] gccgo: fix build from minimal-bootstrap.gnugrep-static - #532032
Merged
Merged
Conversation
gccgo is built by overriding gcc from stdenv stage3. At this stage of stdenv, when minimal-bootstrap is used as the bootstrap seed, the grep package is actually gnugrep-static from minimal-bootstrap. This package was accidentally missing egrep and fgrep. Now, the gcc configure system is capable of detecting that grep -E works as an egrep substitute. Still, a few makefiles were using egrep directly rather than grep -E. This ultimately broke the gccgo build in a subtle way. (cherry picked from commit 23eb9d2)
Gskartwii
force-pushed
the
fix-gccgo-staging-26.05
branch
from
June 15, 2026 17:21
a06c094 to
16796ca
Compare
nixpkgs-commit-check
Bot
dismissed
their stale review
June 15, 2026 17:23
Review dismissed automatically
nixpkgs-ci
Bot
requested review from
06kellyjac,
Artturin,
Ericson2314,
alejandrosame,
emilytrau,
pyrox0 and
siraben
June 15, 2026 17:31
4 tasks done
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.
Manual backport of #531305.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.