-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
gcc: remove aligned_alloc hack on Darwin #226089
Conversation
In a similar vein as PR NixOS#226048 this hack doesn't seem necessary anymore and introduces build differences across linux/darwin.
Really? |
I built nix build github:eliasnaur/nixpkgs/master#stdenv successfully. https://github.com/eliasnaur/nixpkgs includes this PR: eliasnaur@b420b22. |
Oh, sorry, I meant
|
Yes, this: $ nix build github:eliasnaur/nixpkgs/master#gcc completed successfully on an x86_64-darwin macbook running macOS 13.2.1. |
Nice. |
If I understand the comment the idea is to unconditionally disable the feature to make sure the final result does not depend on macos host. Do all macos versions now implement |
Good points. I prepared #226290 which is a compromise: non-cross I must admit I'm surprised this is even an issue: why doesn't a cross |
It has more to do with limited |
Superseded by #226290. |
In a similar vein as PR #226048 this hack doesn't seem necessary anymore and introduces build differences for cross-compilation depending on build platform.
Description of changes
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/
)