* bug#47720: bsnes build might be not reproducible
@ 2021-04-12 8:01 Nicolò Balzarotti
2021-06-08 8:27 ` Efraim Flashner
0 siblings, 1 reply; 2+ messages in thread
From: Nicolò Balzarotti @ 2021-04-12 8:01 UTC (permalink / raw)
To: 47720
[-- Attachment #1: Type: text/plain, Size: 571 bytes --]
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!
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-bsnes-Disable-march-native.patch --]
[-- Type: text/x-patch, Size: 899 bytes --]
From 2707ecb0c39cd731344cb1f68d17662b7272b415 Mon Sep 17 00:00:00 2001
From: nixo <nicolo@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#47720: bsnes build might be not reproducible
2021-04-12 8:01 bug#47720: bsnes build might be not reproducible Nicolò Balzarotti
@ 2021-06-08 8:27 ` Efraim Flashner
0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2021-06-08 8:27 UTC (permalink / raw)
To: Nicolò Balzarotti; +Cc: 47720-done
[-- Attachment #1: Type: text/plain, Size: 270 bytes --]
Seems this patch fell through the cracks. Patch pushed!
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-08 8:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-12 8:01 bug#47720: bsnes build might be not reproducible Nicolò Balzarotti
2021-06-08 8:27 ` Efraim Flashner
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).