gcc: remove aligned_alloc hack on Darwin#226089
gcc: remove aligned_alloc hack on Darwin#226089eliasnaur wants to merge 1 commit intoNixOS:stagingfrom
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#stdenvsuccessfully. https://github.com/eliasnaur/nixpkgs includes this PR: eliasnaur@b420b22. |
|
Oh, sorry, I meant |
|
Yes, this: $ nix build github:eliasnaur/nixpkgs/master#gcccompleted 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 = trueset 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/)