-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
cc-wrapper: when merging gcc32 and gcc64, merge libgcc as well #230470
Merged
Conversation
This file contains 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
ghost
requested review from
matthewbauer,
RaitoBezarius and
Ericson2314
as code owners
May 7, 2023 08:37
ghost
mentioned this pull request
May 7, 2023
ghost
requested a review
from trofi
May 7, 2023 08:51
ofborg
bot
requested review from
rrbutani,
sternenseemann,
dtzWill,
lovek323,
primeos and
alyssais
May 7, 2023 08:54
ofborg
bot
added
10.rebuild-darwin: 0
This PR does not cause any packages to rebuild on Darwin
10.rebuild-linux: 1-10
labels
May 7, 2023
trofi
approved these changes
May 7, 2023
mweinelt
added
the
12.approvals: 1
This PR was reviewed and approved by one reputable person
label
May 7, 2023
RaitoBezarius
approved these changes
May 7, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LLVM: LGTM.
mweinelt
added
12.approvals: 2
This PR was reviewed and approved by two reputable people
and removed
12.approvals: 1
This PR was reviewed and approved by one reputable person
labels
May 7, 2023
Our gcc_multi and glibc_multi expressions merge together a 32-bit-targeted and 64-bit-targeted gcc. However they do not thread through the passthru.libgcc from these merged gccs. This commit corrects that. It also extends passthru.libgcc to allow a *list* rather than just a single outpath. Resolves part of #221891 (at least getting it back to the error message it gave before).
The phoney gcc that we construct for multilib was missing the `langCC` attribute, which `cc-wrapper` needs in order to decide whether or not to add gcc's `libstdc++` headers as an `-isystem` for `clang`.
The phoney gcc that we construct for multilib was missing the `$out/include/c++` directory which `cc-wrapper` needs to pass as an `-isystem` to `clang`. Closes #221891
ghost
added
the
0.kind: ZHF Fixes
Fixes during the Zero Hydra Failures (ZHF) campaign
label
May 9, 2023
trofi
approved these changes
May 9, 2023
This pull request was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
0.kind: ZHF Fixes
Fixes during the Zero Hydra Failures (ZHF) campaign
10.rebuild-darwin: 0
This PR does not cause any packages to rebuild on Darwin
10.rebuild-linux: 1-10
12.approvals: 2
This PR was reviewed and approved by two reputable people
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.
Description of changes
Our gcc_multi and glibc_multi expressions merge together a 32-bit-targeted and 64-bit-targeted gcc. However they do not thread through the passthru.libgcc from these merged gccs.
This commit corrects that.
It also extends passthru.libgcc to allow a list rather than just a single outpath.
Resolves part of #221891 (at least getting it back to the error message it gave before).Edit: pushed two more commits; this now closes #221891.
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/
)