-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Both gccCrossStageStatic and gccCrossStageFinal don't build #16014
Comments
This is fixed by #15867 which I hope to integrate soonish. |
@dezgeg I'm having trouble with building both pkgsCross.ubootZybo.crossDrv and pkgsCross.linux_4_1.crossDrv and was wondering if those were also regressions. |
I can build U-Boot (for Wandboard) with #15867 successfully, never tried kernel builds but I think someone successfully used them ~6 months ago or so. |
I'm getting this error message when trying to build U-Boot. I can't find any recent changes to while evaluating the attribute ‘ubootWandboard.crossDrv’ at /home/dvc/nixpkgs/pkgs/top-level/all-packages.nix:11296:41:
while evaluating the attribute ‘ubootWandboard’ at /home/dvc/nixpkgs/pkgs/misc/uboot/default.nix:97:3:
while evaluating ‘buildUBoot’ at /home/dvc/nixpkgs/pkgs/misc/uboot/default.nix:4:16, called from /home/dvc/nixpkgs/pkgs/misc/uboot/default.nix:97:20:
while evaluating ‘mkDerivation’ at /home/dvc/nixpkgs/pkgs/stdenv/adapters.nix:60:22, called from /home/dvc/nixpkgs/pkgs/misc/uboot/default.nix:10:12:
while evaluating ‘mkDerivation’ at /home/dvc/nixpkgs/pkgs/stdenv/generic/default.nix:95:5, called from /home/dvc/nixpkgs/pkgs/stdenv/adapters.nix:80:25:
while evaluating ‘throwEvalHelp’ at /home/dvc/nixpkgs/pkgs/stdenv/generic/default.nix:120:23, called from /home/dvc/nixpkgs/pkgs/stdenv/generic/default.nix:169:21:
Package ‘uboot-wandboard_defconfig-2016.01’ in ‘/home/dvc/nixpkgs/pkgs/misc/uboot/default.nix:46’ is not supported on ‘x86_64-linux’, refusing to evaluate.
a) For `nixos-rebuild` you can set
{ nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.
b) For `nix-env`, `nix-build` or any other Nix command you can add
{ allowBroken = true; }
to ~/.nixpkgs/config.nix. |
Turns out that allowing broken is the solution... |
I think cross compiling has been working for a while now (at least the bootstrap tool jobs I added at http://hydra.nixos.org/jobset/nixpkgs/cross-trunk#tabs-jobs still work). |
Issue description
gccCrossStageStatic complains about infinite recursion and can be worked around with this patch:
gccCrossStageFinal fails with unrecognized file format when attempting to strip debug symbols. I think this commit is d5bb6a1 the problem. Still testing, will take a while to verify.
Steps to reproduce
Technical details
The text was updated successfully, but these errors were encountered: