-
Bug
-
Resolution: Won't Fix
-
P3
-
11
-
None
Try this on Linux x86_64 with, say, jvm-variants=zero:
$ sh ./configure --with-debug-level=fastdebug --with-boot-jdk=/home/shade/Install/jdkX-b185/ --disable-precompiled-headers --with-jvm-variants=zero
$ LOG=info make images
Building target 'images' in configuration 'linux-x86_64-normal-zero-fastdebug'
Building JVM variant 'zero' with features 'cds cmsgc dtrace g1gc jni-check jvmti management nmt parallelgc serialgc services vm-structs zero'
<completes fine>
Now add --openjdk-target=x86_64-linux-gnu:
$ sh ./configure --with-debug-level=fastdebug --with-boot-jdk=/home/shade/Install/jdkX-b185/ --disable-precompiled-headers --with-jvm-variants=zero --openjdk-target=x86_64-linux-gnu
$ LOG=info make images
Building target 'images' in configuration 'linux-x86_64-normal-zero-fastdebug'
Building JVM variant 'zero' with features 'cds cmsgc dtrace g1gc jni-check jvmti management nmt parallelgc serialgc services vm-structs zero'
Processing hotspot
Building JVM variant 'server' with features 'compiler1 compiler2 cmsgc g1gc parallelgc serialgc jni-check jvmti management nmt services vm-structs cds dtrace jvmci aot graal'
Processing hotspot
Compiling library_call.cpp (for libjvm.so)
/home/shade/trunks/jdk-jdk/src/hotspot/share/opto/macroArrayCopy.cpp: In member function 'Node* PhaseMacroExpand::generate_arraycopy(ArrayCopyNode*, AllocateArrayNode*, Node**, MergeMemNode*, Node**, const TypePtr*, BasicType, Node*, Node*, Node*, Node*, Node*, bool, bool, RegionNode*)':
/home/shade/trunks/jdk-jdk/src/hotspot/share/opto/macroArrayCopy.cpp:553:24: error: incomplete type 'BarrierSet' used in nested name specifier
BarrierSetC2* bs = BarrierSet::barrier_set()->barrier_set_c2();
^
/home/shade/trunks/jdk-jdk/src/hotspot/share/opto/library_call.cpp: In member function 'bool LibraryCallKit::inline_native_clone(bool)':
/home/shade/trunks/jdk-jdk/src/hotspot/share/opto/library_call.cpp:4272:26: error: incomplete type 'BarrierSet' used in nested name specifier
BarrierSetC2* bs = BarrierSet::barrier_set()->barrier_set_c2();
^
Why does it think that "server" buildjdk is missing compiler2?
$ sh ./configure --with-debug-level=fastdebug --with-boot-jdk=/home/shade/Install/jdkX-b185/ --disable-precompiled-headers --with-jvm-variants=zero
$ LOG=info make images
Building target 'images' in configuration 'linux-x86_64-normal-zero-fastdebug'
Building JVM variant 'zero' with features 'cds cmsgc dtrace g1gc jni-check jvmti management nmt parallelgc serialgc services vm-structs zero'
<completes fine>
Now add --openjdk-target=x86_64-linux-gnu:
$ sh ./configure --with-debug-level=fastdebug --with-boot-jdk=/home/shade/Install/jdkX-b185/ --disable-precompiled-headers --with-jvm-variants=zero --openjdk-target=x86_64-linux-gnu
$ LOG=info make images
Building target 'images' in configuration 'linux-x86_64-normal-zero-fastdebug'
Building JVM variant 'zero' with features 'cds cmsgc dtrace g1gc jni-check jvmti management nmt parallelgc serialgc services vm-structs zero'
Processing hotspot
Building JVM variant 'server' with features 'compiler1 compiler2 cmsgc g1gc parallelgc serialgc jni-check jvmti management nmt services vm-structs cds dtrace jvmci aot graal'
Processing hotspot
Compiling library_call.cpp (for libjvm.so)
/home/shade/trunks/jdk-jdk/src/hotspot/share/opto/macroArrayCopy.cpp: In member function 'Node* PhaseMacroExpand::generate_arraycopy(ArrayCopyNode*, AllocateArrayNode*, Node**, MergeMemNode*, Node**, const TypePtr*, BasicType, Node*, Node*, Node*, Node*, Node*, bool, bool, RegionNode*)':
/home/shade/trunks/jdk-jdk/src/hotspot/share/opto/macroArrayCopy.cpp:553:24: error: incomplete type 'BarrierSet' used in nested name specifier
BarrierSetC2* bs = BarrierSet::barrier_set()->barrier_set_c2();
^
/home/shade/trunks/jdk-jdk/src/hotspot/share/opto/library_call.cpp: In member function 'bool LibraryCallKit::inline_native_clone(bool)':
/home/shade/trunks/jdk-jdk/src/hotspot/share/opto/library_call.cpp:4272:26: error: incomplete type 'BarrierSet' used in nested name specifier
BarrierSetC2* bs = BarrierSet::barrier_set()->barrier_set_c2();
^
Why does it think that "server" buildjdk is missing compiler2?
- relates to
-
JDK-8203787 Hotspot build broken on linux-sparc after 8202377
-
- Resolved
-