Skip to content
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

gnu-config: Update, allowing hacks to be removed #40040

Merged
merged 4 commits into from May 14, 2018

Conversation

Ericson2314
Copy link
Member

Motivation for this change

gnu-config failed to parse certain ARM cpu types and most 4-component configs, so I fixed it upstream. Now after updating it here, we should be able to always pass --build and --host to binutils and GCC like other platforms, and also support more ARM cpu types ourselves.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@Ericson2314 Ericson2314 requested a review from dezgeg May 6, 2018 19:26
@Ericson2314 Ericson2314 requested a review from nbp as a code owner May 6, 2018 19:26
@GrahamcOfBorg GrahamcOfBorg added the 6.topic: stdenv Standard environment label May 6, 2018
if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
then []
else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it runtime-tested that this fixes it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No it is not. Unless we have some CI that does this, I was hoping you might :).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only other issue I remember is ld picking a wrong emulation. If this also doesn't solve that we have the means to force it from nix now.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC the LD emulation thing was the actual thing that prevented it from working.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also as far as I know we are using the same triplets that other distros do, or maybe that was one of the things to double-check - IIRC gnu-efi had some problems that I had to work around on ARM. I can still try to build this though once some other builds finish.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=8f50e6eddb95 is the culprit. Looks like they meant to blacklist odd-end arm vendors, so unknown is being caught by mistake.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

diff --git a/gcc/config.gcc b/gcc/config.gcc
index 7f5ba50d4b2..0acd953f119 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -254,6 +254,7 @@ esac
 case ${target} in
  # Avoid special cases that are not obsolete
    arm*-*-*eabi*                       \
+ | arm*-unknown-*                      \
  )
        ;;
    arm*-wince-pe*                      \

I'll submit

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure the real problem isn't that your quadruplet is missing the *eabi* part? What do other distros do?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(There is an older 'OABI' ABI which has been dropped by GCC by now, I think).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dezgeg oh I see, interesting.

@@ -69,8 +69,13 @@ rec {
cpuTypes = with significantBytes; setTypes types.openCpuType {
arm = { bits = 32; significantByte = littleEndian; family = "arm"; };
armv5tel = { bits = 32; significantByte = littleEndian; family = "arm"; };
armv6a = { bits = 32; significantByte = littleEndian; family = "arm"; };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How are the R- and M- parts tested given that they probably don't run Linux at all or without a nommu-configured libc etc.?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I merely wanted to use gccCrossStageStatic. This does allow gcc and binutils to configure.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also built binutils.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

                                 Dload  Upload   Total   Spent    Left  Speed
100 44166  100 44166    0     0   479k      0 --:--:-- --:--:-- --:--:--  479k

trying http://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=b75cdc942a6172f63b34faf642b8c797239f6776
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 36408  100 36408    0     0   790k      0 --:--:-- --:--:-- --:--:--  790k
building '/nix/store/nz02d9q9klqbdiw3wvfqnjq61c6s91kl-gnu-config-2016-12-31.drv'...
/nix/store/8saavdcm9vj4gmp4gvrnhlfd75q8nyas-binutils-wrapper-2.30
/nix/store/gxslhcarmkgcpbw09xadhp96nh1s2c9i-gnu-config-2016-12-31

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

cannot build derivation '/nix/store/rvk6yh0kyrrs66k0kcpk2icl277cp2ha-perl-5.24.3.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/4srnildb84qkgs47567mfravi3fv4c9w-openssl-1.0.2o.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/md6v1brvqkp3q41bzz0mgbdz5fapdnyp-pkg-config-0.29.2.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/8nwz1lpzf7fb97y5ia9m19d7dkbgw0k1-libssh2-1.8.0.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/2l8aalbck3qc36v4r9f1yfrpq63y6n02-nghttp2-1.24.0.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/k8wdn0sl1krzvhv9f5qx67f046nm0hnl-curl-7.59.0.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/x1zalfc66giih8f1krkxm8sgnms153wn-config.guess?id=b75cdc942a6172f63b34faf642b8c797239f6776.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/ncaci8cqaz42jykrvx9b2p2qzsj7lpb6-config.sub?id=b75cdc942a6172f63b34faf642b8c797239f6776.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/sxqib4pcamxdz4i4afkmp9y1gcmgn4jg-gnu-config-2016-12-31.drv': 4 dependencies couldn't be built
error: build of '/nix/store/782calp2wbdyrq2hqg5yv9xq92zkvaqn-binutils-wrapper-2.30.drv', '/nix/store/sxqib4pcamxdz4i4afkmp9y1gcmgn4jg-gnu-config-2016-12-31.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/py8knivm02i2kzrcd2idyrz1g20c9hx9-curl-7.59.0-devdoc
gzipping man pages under /nix/store/py8knivm02i2kzrcd2idyrz1g20c9hx9-curl-7.59.0-devdoc/share/man/
patching script interpreter paths in /nix/store/py8knivm02i2kzrcd2idyrz1g20c9hx9-curl-7.59.0-devdoc
checking for references to /build in /nix/store/py8knivm02i2kzrcd2idyrz1g20c9hx9-curl-7.59.0-devdoc...
shrinking RPATHs of ELF executables and libraries in /nix/store/b5wsgg7r7l9m12j9gc3k78mad4ixma34-curl-7.59.0-debug
patching script interpreter paths in /nix/store/b5wsgg7r7l9m12j9gc3k78mad4ixma34-curl-7.59.0-debug
checking for references to /build in /nix/store/b5wsgg7r7l9m12j9gc3k78mad4ixma34-curl-7.59.0-debug...
building '/nix/store/wid28dcdcx7p71nj5kjdjg6ir881lh1m-gnu-config-2016-12-31.drv'...
/nix/store/407vqprpayapafi3jgjpyn2s3snbhld5-binutils-wrapper-2.30
/nix/store/xnzmxzyq3ahkj1ksd2p3rzyrgfsl22fn-gnu-config-2016-12-31

@Ericson2314 Ericson2314 force-pushed the gnu-config-arm branch 2 times, most recently from eca653b to 189614e Compare May 9, 2018 22:59
@Ericson2314
Copy link
Member Author

@dezgeg OK I prohibited arm*-*-*-gnu. That solves that!

@dezgeg
Copy link
Contributor

dezgeg commented May 10, 2018

Well, now I get that error message on nix-build -A hello --argstr system armv7l-linux. Aka things that used to work fine are broken.

@Ericson2314
Copy link
Member Author

Ericson2314 commented May 10, 2018

@dezgeg ah thanks, I'll change the defaulting. Would gnueabi or gnueabihf be a better default?

@Ericson2314 Ericson2314 force-pushed the gnu-config-arm branch 2 times, most recently from bd04b0c to b3a67c0 Compare May 10, 2018 19:09
@Ericson2314
Copy link
Member Author

Doing the lib changes in #40297

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

cannot build derivation '/nix/store/slabx6dhiw9mcn0p6ikm7pwj7qqpllyq-perl-5.24.3.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/l17ys2spwhfdfnk6spkw824wkws846l2-openssl-1.0.2o.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/7viz0mf1cjn6a5qy5hbli61b3csy8vnr-pkg-config-0.29.2.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/abm5950f4xpmnz46wivnnnf08gdm2fns-libssh2-1.8.0.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/vkl8h651x788pcjv09ym49hq2si4rdhf-nghttp2-1.24.0.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/0xpq42ahwbgrg5iijv02pm4yrrk75i5w-curl-7.59.0.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/s3r2gg233k0sfd0p1sdy9wvqpc52l7kr-config.guess?id=b75cdc942a6172f63b34faf642b8c797239f6776.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/jr74ck5ic60l9y0cs4bksnl56zj0xicl-config.sub?id=b75cdc942a6172f63b34faf642b8c797239f6776.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/h0lb6pyhs9sa5m536qai8dy9frcydand-gnu-config-2016-12-31.drv': 4 dependencies couldn't be built
error: build of '/nix/store/h0lb6pyhs9sa5m536qai8dy9frcydand-gnu-config-2016-12-31.drv', '/nix/store/nhq6iw64lfnslbdp7y24zinyhm7cy87k-binutils-wrapper-2.30.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

trying http://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=b75cdc942a6172f63b34faf642b8c797239f6776
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 36408  100 36408    0     0   190k      0 --:--:-- --:--:-- --:--:--  190k
100 44166  100 44166    0     0   138k      0 --:--:-- --:--:-- --:--:--  138k
building '/nix/store/lqhmipxdv7d04fbbqyjwzda6j38wiisr-gnu-config-2016-12-31.drv'...
/nix/store/66nxlik567z73rk0blg8zypwda9i3wxh-binutils-wrapper-2.30
/nix/store/6gbpiyv4xqrv0rza1v9rzcxkr3f0w2hs-gnu-config-2016-12-31

@Ericson2314 Ericson2314 changed the base branch from staging to master May 10, 2018 20:38
@Ericson2314 Ericson2314 changed the base branch from master to staging May 10, 2018 20:38
@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

trying http://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=b75cdc942a6172f63b34faf642b8c797239f6776
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
                                 Dload  Upload   Total   Spent    Left  Speed
100 36408  100 36408    0     0   195k      0 --:--:-- --:--:-- --:--:--  194k
100 44166  100 44166    0     0   209k      0 --:--:-- --:--:-- --:--:--  208k
building '/nix/store/nhxfkcplpq7k26z0k72f4c9v8djm6rs2-gnu-config-2016-12-31.drv'...
/nix/store/85000sjspshwiiz2mrzs7fin7n7ygc18-binutils-wrapper-2.30
/nix/store/s0y4m93amg876szdjknb273fr979xdxk-gnu-config-2016-12-31

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

                                 Dload  Upload   Total   Spent    Left  Speed

trying http://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=b75cdc942a6172f63b34faf642b8c797239f6776
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 36408  100 36408    0     0  80548      0 --:--:-- --:--:-- --:--:-- 80370
100 44166  100 44166    0     0  79866      0 --:--:-- --:--:-- --:--:-- 79722
building '/nix/store/fvrhrf0hbg3dvqqzkmg5csymp4ir9n8d-gnu-config-2016-12-31.drv'...
/nix/store/w8c8szci956bi10m6fh8ad802qij6w3h-binutils-wrapper-2.30
/nix/store/s77lj02gpy4c284c46dpwh68sanhqqxp-gnu-config-2016-12-31

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

these derivations will be built:
  /nix/store/1m0h9y7kv1nibdxymibsc8ibd2bn7p8k-gnu-config-2016-12-31.drv
building '/nix/store/1m0h9y7kv1nibdxymibsc8ibd2bn7p8k-gnu-config-2016-12-31.drv'...
/nix/store/4gabwknfj1g1gl2l6a9aqfmhxmsc5id2-binutils-wrapper-2.30
/nix/store/i63rczdr4jxi9ggg40i2clizqb3s25gm-gnu-config-2016-12-31

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

these derivations will be built:
  /nix/store/lqhmipxdv7d04fbbqyjwzda6j38wiisr-gnu-config-2016-12-31.drv
building '/nix/store/lqhmipxdv7d04fbbqyjwzda6j38wiisr-gnu-config-2016-12-31.drv'...
/nix/store/66nxlik567z73rk0blg8zypwda9i3wxh-binutils-wrapper-2.30
/nix/store/6gbpiyv4xqrv0rza1v9rzcxkr3f0w2hs-gnu-config-2016-12-31

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

checking for references to /build in /nix/store/69va4a5rv06djxp0xbgz69yijz816ih5-curl-7.59.0-man...
shrinking RPATHs of ELF executables and libraries in /nix/store/9aiajblymralpnm83595dpn2cxqigxj0-curl-7.59.0-devdoc
gzipping man pages under /nix/store/9aiajblymralpnm83595dpn2cxqigxj0-curl-7.59.0-devdoc/share/man/
patching script interpreter paths in /nix/store/9aiajblymralpnm83595dpn2cxqigxj0-curl-7.59.0-devdoc
checking for references to /build in /nix/store/9aiajblymralpnm83595dpn2cxqigxj0-curl-7.59.0-devdoc...
shrinking RPATHs of ELF executables and libraries in /nix/store/21r9yamxkijzkgq91myni1yvixjqcyyq-curl-7.59.0-debug
patching script interpreter paths in /nix/store/21r9yamxkijzkgq91myni1yvixjqcyyq-curl-7.59.0-debug
checking for references to /build in /nix/store/21r9yamxkijzkgq91myni1yvixjqcyyq-curl-7.59.0-debug...
/nix/store/4gabwknfj1g1gl2l6a9aqfmhxmsc5id2-binutils-wrapper-2.30
/nix/store/i63rczdr4jxi9ggg40i2clizqb3s25gm-gnu-config-2016-12-31

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

cannot build derivation '/nix/store/x0ja55qa3f2l182jjz8k4jm5c9yq86kq-hook.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/v2nd5xf52cbjws0a5x8b68lr69mm3biz-ICU-osx-10.10.5.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/3wi39h7x65mkf0gmiq6565hc47a52pxj-cctools-binutils-darwin.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/d8rfn2wqw4sahmpbj5wwnr4n23wr4sw2-gnutar-1.30.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/mqpapgsgr2gck01mg46ynvgqc2vd9qf2-CF-osx-10.10.5.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/rkw10sig3v21av7sngixzg03w3r8glg5-cctools-binutils-darwin-wrapper.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/avcs5cc52vcfnd7gh9mxifcfggsyza8x-clang-wrapper-5.0.2.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/8hpvpr0nmry7l8c21wwr9rwrfj2wydxm-stdenv-darwin.drv': 35 dependencies couldn't be built
cannot build derivation '/nix/store/h0lb6pyhs9sa5m536qai8dy9frcydand-gnu-config-2016-12-31.drv': 2 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/h0lb6pyhs9sa5m536qai8dy9frcydand-gnu-config-2016-12-31.drv', '/nix/store/nhq6iw64lfnslbdp7y24zinyhm7cy87k-binutils-wrapper-2.30.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

strip is /nix/store/gfgczbs0cy0blibb0acv39cayq7qbplg-bootstrap-tools/bin/strip
stripping (with command strip and flags -S) in /nix/store/3kazm2nx9przqn88xspzih0mxdj49z88-findutils-4.6.0/libexec  /nix/store/3kazm2nx9przqn88xspzih0mxdj49z88-findutils-4.6.0/bin
checking for references to /build in /nix/store/3kazm2nx9przqn88xspzih0mxdj49z88-findutils-4.6.0...
shrinking RPATHs of ELF executables and libraries in /nix/store/9dszx6qhgyvdqrq8qbdl175jiqpngl1v-findutils-4.6.0-info
strip is /nix/store/gfgczbs0cy0blibb0acv39cayq7qbplg-bootstrap-tools/bin/strip
checking for references to /build in /nix/store/9dszx6qhgyvdqrq8qbdl175jiqpngl1v-findutils-4.6.0-info...
building '/nix/store/18m9q1ryiydcqd8bxhn6lqagzshq6vl2-stdenv-linux.drv'...
building '/nix/store/5cy6x2zng00xxbczhxmpxq5arvxgmxn9-gnu-config-2016-12-31.drv'...
/nix/store/yyk0k61pkajzgw99xld2ckr7y1xsbr0f-binutils-wrapper-2.30
/nix/store/1c85lmnvq20f5yq91dpzaw9sa2pyyj8f-gnu-config-2016-12-31

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

/nix/store/66nxlik567z73rk0blg8zypwda9i3wxh-binutils-wrapper-2.30
/nix/store/6gbpiyv4xqrv0rza1v9rzcxkr3f0w2hs-gnu-config-2016-12-31

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

cannot build derivation '/nix/store/s386k92m2nibg3a00p1rxav8fgf373ah-perl-5.24.3.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/pggahlh4wgs54m062xq3800g96gllkkc-openssl-1.0.2o.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/z4lp5ppw97f8g0jk30i3kicl3g649dmh-pkg-config-0.29.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/xx69mwg4m5kfy86bwilv9lvx9bc2qnlk-libssh2-1.8.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/x7lb60ckgcmdvn3n0x6gxr60y8b2l9x1-nghttp2-1.24.0.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/cvs22wh5vkn7pnndjhqikl1pxy68rmi0-curl-7.59.0.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/gx2ljly1d17p1bffa20f5rkcg2s9yqz9-config.guess?id=b75cdc942a6172f63b34faf642b8c797239f6776.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/4nk9z7hycwrkx6c9fkkx7qv95qaqpb1x-config.sub?id=b75cdc942a6172f63b34faf642b8c797239f6776.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/snm0q4vs2bymjd2bygn9wxkxq7b2gvk6-gnu-config-2016-12-31.drv': 3 dependencies couldn't be built
error: build of '/nix/store/snm0q4vs2bymjd2bygn9wxkxq7b2gvk6-gnu-config-2016-12-31.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/9aiajblymralpnm83595dpn2cxqigxj0-curl-7.59.0-devdoc
gzipping man pages under /nix/store/9aiajblymralpnm83595dpn2cxqigxj0-curl-7.59.0-devdoc/share/man/
patching script interpreter paths in /nix/store/9aiajblymralpnm83595dpn2cxqigxj0-curl-7.59.0-devdoc
checking for references to /build in /nix/store/9aiajblymralpnm83595dpn2cxqigxj0-curl-7.59.0-devdoc...
shrinking RPATHs of ELF executables and libraries in /nix/store/21r9yamxkijzkgq91myni1yvixjqcyyq-curl-7.59.0-debug
patching script interpreter paths in /nix/store/21r9yamxkijzkgq91myni1yvixjqcyyq-curl-7.59.0-debug
checking for references to /build in /nix/store/21r9yamxkijzkgq91myni1yvixjqcyyq-curl-7.59.0-debug...
building '/nix/store/1m0h9y7kv1nibdxymibsc8ibd2bn7p8k-gnu-config-2016-12-31.drv'...
/nix/store/4gabwknfj1g1gl2l6a9aqfmhxmsc5id2-binutils-wrapper-2.30
/nix/store/i63rczdr4jxi9ggg40i2clizqb3s25gm-gnu-config-2016-12-31

@dezgeg
Copy link
Contributor

dezgeg commented May 13, 2018

Build-testing this version now...

@dezgeg
Copy link
Contributor

dezgeg commented May 14, 2018

This one builds stdenv now at least.

@Ericson2314
Copy link
Member Author

Ericson2314 commented May 14, 2018

Great, Thanks so much for testing! I might rebase again but I'll merge today.

Not just Aarch64. Other non-x86 platforms might be old enough, but I am
about to update gnu-config to handle things better across the board.
…xception""

And there's more reverts too. The previous commmit
d838afbc9376bdadb8c690eb00b425f3eeccdf2d to gnu-config finally solves
it!

This reverts commit 3ed545a.
@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

/nix/store/66nxlik567z73rk0blg8zypwda9i3wxh-binutils-wrapper-2.30
/nix/store/6gbpiyv4xqrv0rza1v9rzcxkr3f0w2hs-gnu-config-2016-12-31

@Ericson2314 Ericson2314 merged commit d00cc12 into NixOS:staging May 14, 2018
@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

                                 Dload  Upload   Total   Spent    Left  Speed

trying http://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=b75cdc942a6172f63b34faf642b8c797239f6776
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 36408  100 36408    0     0  89674      0 --:--:-- --:--:-- --:--:-- 89674
100 44166  100 44166    0     0  74604      0 --:--:-- --:--:-- --:--:-- 74604
building '/nix/store/7y4n3mj294bi35i18yb4ck4m346kdpf1-gnu-config-2016-12-31.drv'...
/nix/store/fjibavxgm2vj45vyxn3vkgzglhh598fd-binutils-wrapper-2.30
/nix/store/q01d3alfzlzckhdprxf1lyff68i5kfnp-gnu-config-2016-12-31

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: binutils, gnu-config

Partial log (click to expand)

cannot build derivation '/nix/store/zd4akdn8i2p5yw3lw7dp2lxjgr3gaxqf-pkg-config-0.29.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/rh1wza313d3c53wpb1qp54lh3691dmxy-openssl-1.0.2o.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/sxw290nkmnhq4l5agsv2fn03q2n2i97z-libkrb5-1.15.2.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/kwg9p7hy2fy1fpa88clynn01j8ia15gy-libssh2-1.8.0.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/qmzhxg91byns1d4mrbqknzx9zynywcp0-nghttp2-1.24.0.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/2ws7qqjwg6j4h4a3176g5ikijrb9vwj1-curl-7.59.0.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/f2aywwxvjp1igpy4431f7ly2n6ijc1dc-config.guess?id=b75cdc942a6172f63b34faf642b8c797239f6776.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/xdaj58767pq1cjjr9zvr3ygp8aprn3m4-config.sub?id=b75cdc942a6172f63b34faf642b8c797239f6776.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/1m0h9y7kv1nibdxymibsc8ibd2bn7p8k-gnu-config-2016-12-31.drv': 4 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/1m0h9y7kv1nibdxymibsc8ibd2bn7p8k-gnu-config-2016-12-31.drv', '/nix/store/qkdzyxyb0v510yb43lh0xw1c2qwbhi8y-binutils-wrapper-2.30.drv' failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants