Hi guix, I get an 'Illegal instruction' error when running bsnes (on my X200).
$ guix environment --ad-hoc bsnes $ bsnes Illegal instruction The makefile contains this: https://github.com/bsnes-emu/bsnes/blob/4ea984b6886ecb61afc26c177eeced77e8582a44/bsnes/GNUmakefile#L17 (march=native when local) I tried to patch it, but I don't know how to check if this is fixed. I attach the patch here, on my laptop applied over 073b12d70d I get guix hash -r /gnu/store/h2k0la0cyilfj7y7vm9r2zs1vi3wkiwy-bsnes-115 0298ajc60qpjhllyqv8gdb503bzg0rcd7pvigq22h7gm58d0g0sd Thanks!
>From 2707ecb0c39cd731344cb1f68d17662b7272b415 Mon Sep 17 00:00:00 2001 From: nixo <nic...@nixo.xyz> Date: Mon, 12 Apr 2021 09:42:13 +0200 Subject: [PATCH] gnu: bsnes: Disable march=native --- gnu/packages/emulators.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 8482f679e2..09d6095a7d 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -1955,6 +1955,8 @@ from various forks of Gens, and improved platform portability.") (build-system gnu-build-system) (arguments `(#:make-flags (list "-C" "bsnes" + ;; Remove march=native + "local=false" (string-append "prefix=" (assoc-ref %outputs "out"))) #:tests? #f ; No tests. #:phases (modify-phases %standard-phases -- 2.31.1