Skip to content

Commit

Permalink
memtest86plus: disable all hardening
Browse files Browse the repository at this point in the history
With hardening enabled it reports errors on known-good memory modules
on my Thinkpad X230 (Ivy Bridge). It's the same bug as reported in
https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bug/1071209 but
memtest86+ fails on test NixOS#9 instead of test NixOS#7 (because NixOS#7 in 4.20
became NixOS#9 in 5.01) and with all the addresses multiplied by 2 (I guess
the bug was reported for i686, and I test on x86_64, it was 2012 after
all).
  • Loading branch information
oxij committed Apr 22, 2018
1 parent e0c9a25 commit 1fb6bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/tools/misc/memtest86+/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ stdenv.mkDerivation rec {

NIX_CFLAGS_COMPILE = "-I. -std=gnu90";

hardeningDisable = [ "fortify" "stackprotector" "pic" ];
hardeningDisable = [ "all" ];

buildFlags = "memtest.bin";

Expand Down

0 comments on commit 1fb6bc4

Please sign in to comment.