Mac生成openJDK 9时的问题

时间:2018-07-01 13:28:03

标签: java macos

我遵循此link的说明,尝试在我的macbook pro上构建openJDK 9。但是在制作的最后一步,检测到SIGILL错误,有人可以告诉我这是怎么回事吗?


Updating support/modules_libs/java.base/server/libjvm.dylib due to 1 file(s)
clang: warning: libstdc++ is deprecated; move to libc++ [-Wdeprecated]
clang: warning: libstdc++ is deprecated; move to libc++ [-Wdeprecated]
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x000000010814ab37, pid=16495, tid=9731
#
# JRE version: OpenJDK Runtime Environment (9.0) (fastdebug build 9-internal+0-adhoc.rapbot.jdk9)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 9-internal+0-adhoc.rapbot.jdk9, mixed mode, tiered, compressed oops, serial gc, bsd-amd64)
# Problematic frame:
# V  [libjvm.dylib+0x94ab37]  PerfDataManager::destroy()+0xc1
#
# 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:
# /Users/rapbot/jdk9/make/hs_err_pid16495.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

[error occurred during error reporting (), id 0x4]

make[3]: *** [/Users/rapbot/jdk9/build/macosx-x86_64-normal-server-fastdebug/jdk/_packages_attribute.done] Abort trap: 6
make[2]: *** [exploded-image-optimize] Error 2

ERROR: Build failed for target 'default (exploded-image)' in configuration 'macosx-x86_64-normal-server-fastdebug' (exit code 2) 

No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See common/doc/building.html#troubleshooting for assistance.

0 个答案:

没有答案