-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
23
-
x86_64
-
windows_10
ADDITIONAL SYSTEM INFORMATION :
Win10 22H2
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30153
Cygwin: 3.5.0-1.x86_64
A DESCRIPTION OF THE PROBLEM :
HotSpot refuses to build with whole program optimization enabled (/GL flag set).
REGRESSION : Last worked in version 17.0.10
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
git clone https://github.com/openjdk/jdk.git
bash configure --with-jvm-variants=server --disable-jvm-feature-jvmci --disable-jvm-feature-vm-structs --disable-jvm-feature-jvmti --disable-jvm-feature-jfr --disable-jvm-feature-services --disable-jvm-feature-cds --disable-jvm-feature-jni-check --with-native-debug-symbols=none --with-external-symbols-in-bundles=none --with-extra-cflags='/GL' --with-extra-cxxflags='/GL' --with-extra-ldflags='/LTCG' --with-target-bits=64
make hotspot
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
HotSpot builds.
ACTUAL -
HotSpot refuses to build:
java.obj : error LNK2001: unresolved external symbol "public: static void __cdecl CodeCache::print_internals(void)" (?print_internals@CodeCache@@SAXXZ)
d:\openjdk\build\windows-x86_64-server-release\support\modules_libs\java.base\server\jvm.dll : fatal error LNK1120: 1 unresolved externals
make[3]: *** [lib/CompileJvm.gmk:170: /cygdrive/d/openjdk/build/windows-x86_64-server-release/support/modules_libs/java.base/server/jvm.dll] Error 1
make[2]: *** [make/Main.gmk:253: hotspot-server-libs] Error 2
FREQUENCY : always
Win10 22H2
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30153
Cygwin: 3.5.0-1.x86_64
A DESCRIPTION OF THE PROBLEM :
HotSpot refuses to build with whole program optimization enabled (/GL flag set).
REGRESSION : Last worked in version 17.0.10
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
git clone https://github.com/openjdk/jdk.git
bash configure --with-jvm-variants=server --disable-jvm-feature-jvmci --disable-jvm-feature-vm-structs --disable-jvm-feature-jvmti --disable-jvm-feature-jfr --disable-jvm-feature-services --disable-jvm-feature-cds --disable-jvm-feature-jni-check --with-native-debug-symbols=none --with-external-symbols-in-bundles=none --with-extra-cflags='/GL' --with-extra-cxxflags='/GL' --with-extra-ldflags='/LTCG' --with-target-bits=64
make hotspot
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
HotSpot builds.
ACTUAL -
HotSpot refuses to build:
java.obj : error LNK2001: unresolved external symbol "public: static void __cdecl CodeCache::print_internals(void)" (?print_internals@CodeCache@@SAXXZ)
d:\openjdk\build\windows-x86_64-server-release\support\modules_libs\java.base\server\jvm.dll : fatal error LNK1120: 1 unresolved externals
make[3]: *** [lib/CompileJvm.gmk:170: /cygdrive/d/openjdk/build/windows-x86_64-server-release/support/modules_libs/java.base/server/jvm.dll] Error 1
make[2]: *** [make/Main.gmk:253: hotspot-server-libs] Error 2
FREQUENCY : always
- relates to
-
JDK-8328275 CodeCache::print_internals should not be called in PRODUCT code
- Resolved