Coder Social home page Coder Social logo

graalvm / labs-openjdk-17 Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 21.0 961.58 MB

Based on JDK 17 with included support for libgraal and GraalVM CE.

License: GNU General Public License v2.0

CMake 0.01% Python 0.05% Makefile 0.01% Shell 0.18% JavaScript 0.02% Jsonnet 0.01% M4 0.14% sed 0.01% Roff 0.17% HTML 0.34% CSS 0.01% Java 77.12% XSLT 0.25% Batchfile 0.01% Perl 0.01% C++ 13.26% C 5.99% DTrace 0.01% Assembly 2.45% GDB 0.01%

labs-openjdk-17's People

Contributors

chrishegarty avatar cl4es avatar coleenp avatar dfuch avatar erikj79 avatar goelin avatar hns avatar iignatev avatar iklam avatar jddarcy avatar jesperirl avatar jonathan-gibbons avatar lahodaj avatar magicus avatar mbaesken avatar mcimadamore avatar mrserb avatar naotoj avatar pliden avatar prrace avatar prsadhuk avatar rwestrel avatar seanjmullan avatar shipilev avatar stefank avatar sundararajana avatar tobihartmann avatar wangweij avatar xueleifan avatar zhengyu123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

labs-openjdk-17's Issues

"Field too big for insn" error building on Apple M1

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.

labsjdk-build-crash.tar.gz

unrecognized options: --enable-aot

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.