From fc37b4afb29095e222f7ddd3fb3df1ad196926a3 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 4 Oct 2019 10:35:22 +0200 Subject: [PATCH] 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. --- gnu/packages/java.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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")