-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
cc <file> -o /dev/null fails on aarch64-darwin #154203
Copy link
Copy link
Open
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: darwinRunning or building packages on DarwinRunning or building packages on Darwin
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: darwinRunning or building packages on DarwinRunning or building packages on Darwin
Fields
Give feedbackNo fields configured for issues without a type.
I noticed OfBorg failing to build oil-dev on aarch64-darwin.
It's failing on a ~sanity-check Oil's
configurescript is performing. I think I've successfully boiled the failing check down to a nix-shell oneliner that works on x86_64-darwin but fails on aarch64-darwin as below:I'm not really familiar with anything at this level, but dropping
-o /dev/nullcauses the invocation to work, and it seems plausible that the post-link-sign-hook trying to codesign /dev/null could cause trouble.I don't know what the appropriate fix is, but I see where
/dev/nullwould get picked up and set to$linkerOutput:nixpkgs/pkgs/build-support/bintools-wrapper/ld-wrapper.sh
Lines 165 to 181 in 538a698
@thefloweringash