gnu: guile-static: Disable JIT on ARMv7.

* gnu/packages/make-bootstrap.scm (make-guile-static): Pass
"--disable-jit" when 'target-arm32?' is true.
This commit is contained in:
Ludovic Courtès 2020-05-27 23:57:41 +02:00
parent e768e4e97f
commit b2ee53d5ae
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 1 deletions

View File

@ -706,7 +706,12 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
;; When `configure' checks for ltdl availability, it
;; doesn't try to link using libtool, and thus fails
;; because of a missing -ldl. Work around that.
''("LDFLAGS=-ldl"))
;; XXX: On ARMv7, disable JIT: it causes crashes with 3.0.2,
;; possibly related to <https://bugs.gnu.org/40737>.
(if (target-arm32?)
''("LDFLAGS=-ldl" "--disable-jit")
''("LDFLAGS=-ldl")))
((#:phases phases '%standard-phases)
`(modify-phases ,phases