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

gcc-snapshot: revive and update to latest 8 snapshot #41781

Closed
wants to merge 1 commit into from

Conversation

dtzWill
Copy link
Member

@dtzWill dtzWill commented Jun 10, 2018

Needed to build using a relatively new GCC
for some testing, might as well use the
existing expression and share in case useful to folks.

Seems to work. :)

  • Tested using sandboxing (nix.useSandbox on NixOS, or option 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.

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: gcc-snapshot

Partial log (click to expand)

make[3]: *** [../../../gcc-8-20180608/libgcc/shared-object.mk:36: avx_savms64_s.o] Error 1
make[3]: Leaving directory '/private/tmp/nix-build-gcc-8-20180608.drv-0/build/x86_64-apple-darwin/libgcc'
make[2]: *** [Makefile:16352: all-stage1-target-libgcc] Error 2
make[2]: Leaving directory '/private/tmp/nix-build-gcc-8-20180608.drv-0/build'
make[1]: *** [Makefile:20872: stage1-bubble] Error 2
make[1]: Leaving directory '/private/tmp/nix-build-gcc-8-20180608.drv-0/build'
make: *** [Makefile:21177: bootstrap] Error 2
builder for '/nix/store/s02wwfa7wbhrxd6j8nq34q7lrd8r4z5c-gcc-8-20180608.drv' failed with exit code 2
cannot build derivation '/nix/store/5b288l0fzxc69a0hq8d2p9zhk1m2qk7w-gcc-wrapper-8-20180608.drv': 1 dependencies couldn't be built
error: build of '/nix/store/5b288l0fzxc69a0hq8d2p9zhk1m2qk7w-gcc-wrapper-8-20180608.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: gcc-snapshot

Partial log (click to expand)

unpacking sources
patching sources
configuring
no configure script, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/la42wvc79gngc5mibb6w5zn8rdlxbajk-gcc-wrapper-8-20180608
patching script interpreter paths in /nix/store/la42wvc79gngc5mibb6w5zn8rdlxbajk-gcc-wrapper-8-20180608
checking for references to /build in /nix/store/la42wvc79gngc5mibb6w5zn8rdlxbajk-gcc-wrapper-8-20180608...
/nix/store/la42wvc79gngc5mibb6w5zn8rdlxbajk-gcc-wrapper-8-20180608

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: gcc-snapshot

Partial log (click to expand)

patching sources
updateAutotoolsGnuConfigScriptsPhase
configuring
no configure script, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/rfcrfx6hax06bkpzcya24j9ahr1kqcvd-gcc-wrapper-8-20180608
patching script interpreter paths in /nix/store/rfcrfx6hax06bkpzcya24j9ahr1kqcvd-gcc-wrapper-8-20180608
checking for references to /build in /nix/store/rfcrfx6hax06bkpzcya24j9ahr1kqcvd-gcc-wrapper-8-20180608...
/nix/store/rfcrfx6hax06bkpzcya24j9ahr1kqcvd-gcc-wrapper-8-20180608

@matthewbauer
Copy link
Member

Have any idea what --gstabs is about? It's happening on gcc8 as well.

@dtzWill
Copy link
Member Author

dtzWill commented Jun 11, 2018

I wonder if linux encounters the same problem if building with clang? I'll take a look...

@dtzWill
Copy link
Member Author

dtzWill commented Jun 17, 2018

Nevermind-- too many variants already and don't want to mislead folks into believing this will be more maintained than it is.

@dtzWill dtzWill closed this Jun 17, 2018
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

3 participants