gnu: guile-static: Disable JIT on ARMv7.
authorLudovic Courtès <ludo@gnu.org>
Wed, 27 May 2020 21:57:41 +0000 (23:57 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 6 Jun 2020 21:28:49 +0000 (23:28 +0200)
* gnu/packages/make-bootstrap.scm (make-guile-static): Pass
"--disable-jit" when 'target-arm32?' is true.

gnu/packages/make-bootstrap.scm

index fe86f81..b2d3e2a 100644 (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