-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
gnu-config broke powerpc64-unknown-linux-elfvN config parsing #115312
Copy link
Copy link
Closed
Labels
0.kind: bugSomething is brokenSomething is broken0.kind: regressionSomething that worked before working no longerSomething that worked before working no longer6.topic: cross-compilationBuilding packages on a different platform than they will be used onBuilding packages on a different platform than they will be used on6.topic: exoticExotic hardware or software platformExotic hardware or software platform
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken0.kind: regressionSomething that worked before working no longerSomething that worked before working no longer6.topic: cross-compilationBuilding packages on a different platform than they will be used onBuilding packages on a different platform than they will be used on6.topic: exoticExotic hardware or software platformExotic hardware or software platform
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
f22e410 broke parsing of powerpc64 abi-specific configs
powerpc64-unknown-linux-elfv1andpowerpc64-unknown-linux-elfv2. Previously these ad hoc ELF ABI specifiers passed through fine. Since https://git.savannah.gnu.org/cgit/config.git/commit/?id=5e531d391852a54e7fab2d8ff55625fca514b305 (cc @Ericson2314) they error with:(https://hydra.nixos.org/build/137824567)
It's possible this only worked due to gnu-config being permissive with its parsing. The
-elfv2abi suffix is just a convention I came up with for powerpc64 weirdness, so I'm open to changing the way this is specified, if there is a more established convention for this.To Reproduce
nix-build . --arg crossSystem '{ config = "powerpc64-unknown-linux-elfv2"; }' -A stdenv.cc.libc