mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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:
parent
e768e4e97f
commit
b2ee53d5ae
1 changed files with 6 additions and 1 deletions
|
@ -706,7 +706,12 @@ (define* (make-guile-static guile patches)
|
||||||
;; When `configure' checks for ltdl availability, it
|
;; When `configure' checks for ltdl availability, it
|
||||||
;; doesn't try to link using libtool, and thus fails
|
;; doesn't try to link using libtool, and thus fails
|
||||||
;; because of a missing -ldl. Work around that.
|
;; 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)
|
((#:phases phases '%standard-phases)
|
||||||
`(modify-phases ,phases
|
`(modify-phases ,phases
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue