-
Bug
-
Resolution: Fixed
-
P4
-
25, 26
-
master
Configure with '--with-jvm-variants=minimal --with-debug-level=slowdebug'.
Error message:
...
Compiling up to 136 files for BUILD_java.compiler.interim
Creating support/modules_libs/java.base/minimal/libjvm.so from 628 file(s)
/opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /home/aoqi/work/openjdk/jdk/build/linux-x86_64-minimal-slowdebug/hotspot/variant-minimal/libjvm/objs/macroAssembler_x86.o: in function `AOTCodeCache::is_on_for_dump()':
/home/aoqi/work/openjdk/jdk/src/hotspot/share/code/aotCodeCache.hpp:383: undefined reference to `AOTCodeCache::_cache'
collect2: error: ld returned 1 exit status
gmake[3]: *** [lib/CompileJvm.gmk:175: /home/aoqi/work/openjdk/jdk/build/linux-x86_64-minimal-slowdebug/support/modules_libs/java.base/minimal/libjvm.so] Error 1
gmake[2]: *** [make/Main.gmk:242: hotspot-minimal-libs] Error 1
gmake[2]: *** Waiting for unfinished jobs....
Error message:
...
Compiling up to 136 files for BUILD_java.compiler.interim
Creating support/modules_libs/java.base/minimal/libjvm.so from 628 file(s)
/opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /home/aoqi/work/openjdk/jdk/build/linux-x86_64-minimal-slowdebug/hotspot/variant-minimal/libjvm/objs/macroAssembler_x86.o: in function `AOTCodeCache::is_on_for_dump()':
/home/aoqi/work/openjdk/jdk/src/hotspot/share/code/aotCodeCache.hpp:383: undefined reference to `AOTCodeCache::_cache'
collect2: error: ld returned 1 exit status
gmake[3]: *** [lib/CompileJvm.gmk:175: /home/aoqi/work/openjdk/jdk/build/linux-x86_64-minimal-slowdebug/support/modules_libs/java.base/minimal/libjvm.so] Error 1
gmake[2]: *** [make/Main.gmk:242: hotspot-minimal-libs] Error 1
gmake[2]: *** Waiting for unfinished jobs....
- caused by
-
JDK-8354887 Preserve runtime blobs in AOT code cache
-
- Resolved
-
- duplicates
-
JDK-8363894 Minimal build fails with slowdebug builds after JDK-8354887
-
- Closed
-
- links to
-
Commit(master) openjdk/jdk/2da0cdad
-
Review(master) openjdk/jdk/26436