graalvm / labs-openjdk-17 Goto Github PK
View Code? Open in Web Editor NEWBased on JDK 17 with included support for libgraal and GraalVM CE.
License: GNU General Public License v2.0
Based on JDK 17 with included support for libgraal and GraalVM CE.
License: GNU General Public License v2.0
I'm trying to build latest tag jvmci-22.1-b05
on Apple M1, but it fails with:
=== Output from failing command(s) repeated here ===
* For target support_interim-jmods_support__create_java.base.jmod_exec:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (assembler_aarch64.hpp:248), pid=56946, tid=9987
# guarantee(val < (1ULL << nbits)) failed: Field too big for insn
#
# JRE version: (17.0.3) (build )
# Java VM: OpenJDK 64-Bit Server VM (17.0.3+0-jvmci-22.1-b05, mixed mode, emulated-client, sharing, tiered, compressed oops, compressed class ptrs, serial gc, bsd-aarch64)
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /opt/labs-openjdk-17/make/hs_err_pid56946.log
#
#
* For target support_interim-jmods_support__create_java.logging.jmod_exec:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (assembler_aarch64.hpp:248), pid=56929, tid=10243
# guarantee(val < (1ULL << nbits)) failed: Field too big for insn
#
# JRE version: (17.0.3) (build )
# Java VM: OpenJDK 64-Bit Server VM (17.0.3+0-jvmci-22.1-b05, mixed mode, emulated-client, sharing, tiered, compressed oops, compressed class ptrs, serial gc, bsd-aarch64)
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /opt/labs-openjdk-17/make/hs_err_pid56929.log
#
#
* All command lines available in /opt/labs-openjdk-17/build/labsjdk/make-support/failure-logs.
=== End of repeated output ===
No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See doc/building.html#troubleshooting for assistance.
gmake[3]: Leaving directory '/opt/labs-openjdk-17'
make[2]: *** [/opt/labs-openjdk-17/make/Init.gmk:315: main] Error 2
make[2]: Leaving directory '/opt/labs-openjdk-17'
make[1]: *** [/opt/labs-openjdk-17/make/Init.gmk:186: graal-builder-image] Error 2
make[1]: Leaving directory '/opt/labs-openjdk-17'
make: *** [labs17.makefile:27: /opt/labs-17/bin/java] Error 2
I'm using the following commands:
> bash configure \
> --disable-warnings-as-errors \
> --openjdk-target=aarch64-apple-darwin \
> --with-boot-jdk=$(boot_java_home) \
> --with-conf-name=$(conf_name) \
> --with-zlib=system \
> --with-version-pre= \
> --with-version-opt=$$(git log --decorate | grep -E 'tag: jvmci-\d+\.\d+-b\d+' | sed 's/.*(\(tag: .*\))/\1/g' | tr ',' '\n' | grep 'tag:' | sed 's/.*tag: \(jvmci-[^,)]*\).*/\1/g' | sort -nr | head -1)
> make CONF=$(conf_name) graal-builder-image
The boot JDK is a locally build of jdk17u-dev, which built fine on M1:
checking Boot JDK version... openjdk version "17.0.4-internal" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4-internal+0-adhoc.g.jdk17u-dev) OpenJDK 64-Bit Server VM (build 17.0.4-internal+0-adhoc.g.jdk17u-dev, mixed mode, sharing)
Any ideas what could be going on?
I see there are some darwin aarch64 builds here, but there's no clues in the github workflows on how those builds are configured/created. The only workflows in this repo are from the standard JDK setup.
Btw, I've also tried using the latest JDK 17 release as boot JDK and it behaves the same way.
I've attached a zip file with build output, crash files and command information.
Trying to build 81cb416.
chrisseaton@Chriss-MacBook-Pro labs-openjdk-17 % JVMCI_VERSION=$(git log --decorate | grep -E 'tag: jvmci-\d+\.\d+-b\d+' | sed 's/.*(\(tag: .*\))/\1/g' | tr ',' '\n' | grep 'tag:' | sed 's/.*tag: \(jvmci-[^,)]*\).*/\1/g' | sort -nr | head -1)
chrisseaton@Chriss-MacBook-Pro labs-openjdk-17 % sh configure --with-conf-name=labsjdk \
--enable-aot=no \
--with-version-opt=$JVMCI_VERSION \
--with-version-pre= \
'--with-vendor-name=GraalVM Community' \
--with-vendor-url=https://www.graalvm.org/ \
--with-vendor-bug-url=https://github.com/oracle/graal/issues \
--with-vendor-vm-bug-url=https://github.com/oracle/graal/issues
Runnable configure script is not present
Generating runnable configure script at /Users/chrisseaton/Documents/graalvm/labs-openjdk-17/build/.configure-support/generated-configure.sh
Using autoconf at /opt/homebrew/bin/autoconf [autoconf (GNU Autoconf) 2.71]
stdin:227: warning: AC_CHECK_HEADERS($HEADERS_TO_CHECK): you should use literals
./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from...
/Users/chrisseaton/Documents/graalvm/labs-openjdk-17/make/autoconf/libraries.m4:95: LIB_SETUP_LIBRARIES is expanded from...
stdin:227: the top level
configure: error: unrecognized options: --enable-aot
configure exiting with result code 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.