nixpkgs/pkgs/os-specific
Joachim Fasting 865f7a14b4
Revert "Revert "linux-hardened: Disable GCC_PLUGIN_RANDSTRUCT""
This reverts commit c68e8b05f005381ac1caf51bb28282b70242b77b.

RANDSTRUCT currently fails to work with out-of-tree modules, as
evinced by
c68e8b05f0 (commitcomment-31850284)
and https://github.com/NixOS/nixpkgs/issues/53522.

Specifically, loading out-of-tree modules results in modsym version
mismatches, as in
   spl: version magic '4.20.0 SMP mod_unload modversions RANDSTRUCT_PLUGIN
from the issue above.

A working hypothesis is that the randstruct seed is not carried over when
building out-of-tree modules but more investigation is needed here.

Closes https://github.com/NixOS/nixpkgs/issues/53522
2019-01-07 19:50:12 +01:00
..
bsd netbsd: misc cleanups 2018-10-07 22:33:18 -05:00
darwin darwin.adv_cmds: fix build 2019-01-04 10:28:22 -06:00
linux Revert "Revert "linux-hardened: Disable GCC_PLUGIN_RANDSTRUCT"" 2019-01-07 19:50:12 +01:00
windows treewide: Remove usage of remaining redundant platform compatability stuff 2018-08-30 17:20:32 -04:00