guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/27: gnu: guile-static: Disable JIT on ARMv7.


From: guix-commits
Subject: 07/27: gnu: guile-static: Disable JIT on ARMv7.
Date: Fri, 29 May 2020 04:43:32 -0400 (EDT)

janneke pushed a commit to branch wip-hurd-vm
in repository guix.

commit def4245c8ea39c52ab97ba08d2edd6a21883b677
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed May 27 23:57:41 2020 +0200

    gnu: guile-static: Disable JIT on ARMv7.
    
    * gnu/packages/make-bootstrap.scm (make-guile-static): Pass
    "--disable-jit" when 'target-arm32?' is true.
---
 gnu/packages/make-bootstrap.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index fe86f81..b2d3e2a 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]