summary refs log tree commit diff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-10-04 10:35:22 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-10-06 22:01:01 +0200
commitfc37b4afb29095e222f7ddd3fb3df1ad196926a3 (patch)
tree7b4426e4edcbb287985c4ecf96f5905134682ecf /gnu/packages/java.scm
parentff810d21a5a070484a5ef39b3570c93c1fb55f53 (diff)
downloadguix-fc37b4afb29095e222f7ddd3fb3df1ad196926a3.tar.gz
gnu: jamvm-1-bootstrap: Fix segfault in bootstrap JVM.
* gnu/packages/java.scm (jamvm-1-bootstrap)[arguments]: Add configure flags:
--disable-int-caching, --enable-runtime-reloc-checks, and --enable-ffi.
[inputs]: Add libffi.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 6090dcd514..aa624b4c28 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -186,10 +186,14 @@ language.")
     (arguments
      `(#:configure-flags
        (list (string-append "--with-classpath-install-dir="
-                            (assoc-ref %build-inputs "classpath")))))
+                            (assoc-ref %build-inputs "classpath"))
+             "--disable-int-caching"
+             "--enable-runtime-reloc-checks"
+             "--enable-ffi")))
     (inputs
      `(("classpath" ,classpath-bootstrap)
        ("jikes" ,jikes)
+       ("libffi" ,libffi)
        ("zlib" ,zlib)))
     (home-page "http://jamvm.sourceforge.net/")
     (synopsis "Small Java Virtual Machine")