Skip to content
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

wrapCC should use buildPackages #42601

Closed
matthewbauer opened this issue Jun 26, 2018 · 2 comments
Closed

wrapCC should use buildPackages #42601

matthewbauer opened this issue Jun 26, 2018 · 2 comments
Labels
6.topic: cross-compilation Building packages on a different platform than they will be used on

Comments

@matthewbauer
Copy link
Member

Issue description

Currently we don't have good support for cross compiling when we use wrapCC. We should ensure that buildPackages is always used correctly here.

/cc @Ericson2314

@Ericson2314
Copy link
Member

Right now, compilers and binutils are wrapped with libraries from the next stage (targetPackages), and stdenvs take all their tools from the previous stage (buildPackages). For the moment I think it's easiest to continue with that. But a super early cross attempt of mine #21268 put the wrapper in the middle stage instead.

Once libc is not special I was thinking it would be a good time to revisit such things.

@stale
Copy link

stale bot commented Jun 4, 2020

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 4, 2020
@Ericson2314 Ericson2314 added the 6.topic: cross-compilation Building packages on a different platform than they will be used on label Jun 4, 2020
@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: cross-compilation Building packages on a different platform than they will be used on
Projects
None yet
Development

No branches or pull requests

2 participants