Skip to content

glibc: Fix building with musl on GCC 8#71480

Merged
nh2 merged 1 commit intoNixOS:masterfrom
nh2:glibc-musl-gcc8-werror-fixes
Oct 31, 2019
Merged

glibc: Fix building with musl on GCC 8#71480
nh2 merged 1 commit intoNixOS:masterfrom
nh2:glibc-musl-gcc8-werror-fixes

Conversation

@nh2
Copy link
Contributor

@nh2 nh2 commented Oct 21, 2019

Motivation for this change

See

This commit takes care to not change the derivation for non-musl builds.

Things done
  • 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 nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @matthewbauer @edolstra

@nh2 nh2 requested a review from matthewbauer October 21, 2019 01:22
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Oct 21, 2019
@FRidh
Copy link
Member

FRidh commented Oct 21, 2019

please include the motivation in the commit message directly instead of pointing to a place that may have an explanation.

GCC 8 introduced new warnings that were picked up by -Werror;
this commit makes them non-errors until fixed upstream.

See

* NixOS#68244 (comment)
* nh2/static-haskell-nix#56

This commit takes care to not change the derivation for non-musl builds.
@nh2 nh2 force-pushed the glibc-musl-gcc8-werror-fixes branch from 1ec1339 to 08ec575 Compare October 30, 2019 12:42
@nh2
Copy link
Contributor Author

nh2 commented Oct 30, 2019

please include the motivation in the commit message directly instead of pointing to a place that may have an explanation.

@FRidh 👍 Done.

@nh2 nh2 merged commit def9d09 into NixOS:master Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants