libnftnl: Enable parallel building. Disable -fortify when cross-compiling with Clang#195975
libnftnl: Enable parallel building. Disable -fortify when cross-compiling with Clang#195975peperunas wants to merge 2 commits intoNixOS:stagingfrom
Conversation
|
This has to target staging due to the mass rebuilds. |
There was a problem hiding this comment.
You sure this isn't an exported symbol and we're not changing the ABI by doing this?
There was a problem hiding this comment.
Also, have you checked this can't be solved by simply doing hardeningDisable = lib.optional stdenv.cc.isClang "fortify"?
I would check but I'm unable to reproduce your problem - don't know how you're building things but pkgsLLVM.libnftnl builds for me without problems.
There was a problem hiding this comment.
Absolutely @risicle; thank you for your suggestion.
I have also added an extra check to make sure we are cross-compiling.
20aa343 to
0bd67a1
Compare
0bd67a1 to
de4090d
Compare
de4090d to
e40905c
Compare
|
Result of 296 packages marked as broken and skipped:
|
|
No longer seems to be an issue on current master, and the package builds quick enough even without parallel building. |
Description of changes
This issue is part of a series of bugfixes to improve the i686 cross-compilation pipeline.
Tracking issue: #195967
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes