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

View file

@ -706,7 +706,12 @@ (define* (make-guile-static guile patches)
;; 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