Building target 'hotspot' in configuration 'linux-riscv64-server-slowdebug' Compiling up to 1 files for BUILD_TOOLS_HOTSPOT Copying support/modules_include/java.base/jni.h Copying support/modules_include/java.base/jvmticmlr.h Copying support/modules_include/java.base/linux/jni_md.h Adding -server KNOWN to jvm.cfg Adding -client IGNORE to jvm.cfg Copying support/modules_conf/java.base/sdp/sdp.conf.template Copying support/modules_legal/common/LICENSE Copying support/modules_legal/common/ASSEMBLY_EXCEPTION Copying support/modules_legal/common/ADDITIONAL_LICENSE_INFO Copying support/modules_legal/java.base/aes.md Copying support/modules_legal/java.base/asm.md Copying support/modules_legal/java.base/c-libutl.md Copying support/modules_legal/java.base/cldr.md Copying support/modules_legal/java.base/icu.md Copying support/modules_legal/java.base/public_suffix.md Copying support/modules_legal/java.base/siphash.md Copying support/modules_legal/java.base/unicode.md Copying support/modules_legal/java.base/zlib.md Processing classfile_constants.h Copying jdk/include/jni.h Copying jdk/include/jvmticmlr.h Copying jdk/include/linux/jni_md.h Copying jdk/conf/security/java.policy Copying jdk/conf/net.properties Copying jdk/conf/sdp/sdp.conf.template Creating symlink jdk/lib/jvm.cfg Creating symlink jdk/lib/security/default.policy Copying jdk/include/classfile_constants.h Building JVM variant 'server' with features 'cds compiler1 compiler2 epsilongc g1gc jfr jni-check jvmci jvmti management parallelgc serialgc services shenandoahgc vm-structs zgc' Generating JFR header files Creating hotspot/variant-server/tools/adlc/adlc from 13 file(s) Preprocessing adlc files riscv.ad riscv_v.ad riscv_b.ad shenandoah_riscv.ad x_riscv.ad z_riscv.ad Compiling up to 2 files for BUILD_JVMTI_TOOLS Processing hotspot Compiling adlArena.cpp (for adlc) Compiling adlparse.cpp (for adlc) Compiling archDesc.cpp (for adlc) Compiling dfa.cpp (for adlc) Compiling dict2.cpp (for adlc) Compiling filebuff.cpp (for adlc) Compiling forms.cpp (for adlc) Compiling formsopt.cpp (for adlc) Compiling formssel.cpp (for adlc) Compiling main.cpp (for adlc) Compiling opcodes.cpp (for adlc) Compiling output_c.cpp (for adlc) Compiling output_h.cpp (for adlc) Linking adlc Generating jvmti file jvmtiEnter.cpp Generating jvmti file jvmtiEnterTrace.cpp Generating jvmti file jvmtiEnv.hpp Generating jvmti file jvmti.h Generating jvmti file jvmti.html Generating adlc files Postprocessing adlc file ad_riscv.cpp Postprocessing adlc file ad_riscv.hpp Postprocessing adlc file ad_riscv_clone.cpp Postprocessing adlc file ad_riscv_expand.cpp Postprocessing adlc file ad_riscv_format.cpp Postprocessing adlc file ad_riscv_gen.cpp Postprocessing adlc file ad_riscv_misc.cpp Postprocessing adlc file ad_riscv_peephole.cpp Postprocessing adlc file ad_riscv_pipeline.cpp Postprocessing adlc file adGlobals_riscv.hpp Postprocessing adlc file dfa_riscv.cpp Copying support/modules_include/java.base/jvmti.h Creating support/modules_libs/java.base/server/libjvm.so from 1227 file(s) Compiling abstractCompiler.cpp (for libjvm.so) Compiling abstractDisassembler.cpp (for libjvm.so) Compiling abstractInterpreter.cpp (for libjvm.so) Compiling abstractInterpreter_riscv.cpp (for libjvm.so) Compiling accessBackend.cpp (for libjvm.so) Compiling accessBarrierSupport.cpp (for libjvm.so) Compiling accessFlags.cpp (for libjvm.so) Compiling ad_riscv.cpp (for libjvm.so) Compiling ad_riscv_clone.cpp (for libjvm.so) Compiling ad_riscv_expand.cpp (for libjvm.so) Compiling ad_riscv_format.cpp (for libjvm.so) Compiling ad_riscv_gen.cpp (for libjvm.so) Compiling ad_riscv_misc.cpp (for libjvm.so) Compiling ad_riscv_peephole.cpp (for libjvm.so) Compiling ad_riscv_pipeline.cpp (for libjvm.so) Compiling adaptiveSizePolicy.cpp (for libjvm.so) Compiling addnode.cpp (for libjvm.so) Compiling ageTable.cpp (for libjvm.so) Compiling ageTableTracer.cpp (for libjvm.so) Compiling allocTracer.cpp (for libjvm.so) Compiling allocation.cpp (for libjvm.so) Compiling altHashing.cpp (for libjvm.so) Compiling annotations.cpp (for libjvm.so) Compiling archiveBuilder.cpp (for libjvm.so) Compiling archiveHeapLoader.cpp (for libjvm.so) In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/logging/logOutputList.hpp:29, from src/hotspot/share/logging/logTagSet.hpp:29, from src/hotspot/share/logging/log.hpp:29, from src/hotspot/share/gc/shared/adaptiveSizePolicy.cpp:29: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/utilities/growableArray.hpp:30: src/hotspot/share/oops/oop.hpp: At global scope: src/hotspot/share/oops/oop.hpp:89:70: error: 'atomic_memory_order' has not been declared 89 | inline markWord cas_set_mark(markWord new_mark, markWord old_mark, atomic_memory_order order); | ^~~~~~~~~~~~~~~~~~~ src/hotspot/share/oops/oop.hpp:281:57: error: 'atomic_memory_order' has not been declared 281 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~ src/hotspot/share/oops/oop.hpp:281:85: error: 'memory_order_conservative' was not declared in this scope 281 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/adaptiveSizePolicy.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/memory/allocation.inline.hpp:30, from src/hotspot/share/memory/allocation.cpp:27: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/utilities/growableArray.hpp:30: src/hotspot/share/oops/oop.hpp: At global scope: src/hotspot/share/oops/oop.hpp:89:70: error: 'atomic_memory_order' has not been declared 89 | inline markWord cas_set_mark(markWord new_mark, markWord old_mark, atomic_memory_order order); | ^~~~~~~~~~~~~~~~~~~ src/hotspot/share/oops/oop.hpp:281:57: error: 'atomic_memory_order' has not been declared 281 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~ src/hotspot/share/oops/oop.hpp:281:85: error: 'memory_order_conservative' was not declared in this scope 281 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from src/hotspot/share/memory/allocation.cpp:26: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/allocation.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/runtime/handles.hpp:29, from src/hotspot/share/ci/ciMetadata.hpp:30, from src/hotspot/share/ci/ciType.hpp:28, from src/hotspot/share/ci/ciKlass.hpp:28, from src/hotspot/share/ci/ciArrayKlass.hpp:28, from src/hotspot/share/ci/ciArray.hpp:28, from src/hotspot/share/ci/compilerInterface.hpp:28, from src/hotspot/share/compiler/abstractCompiler.hpp:28, from src/hotspot/share/compiler/abstractCompiler.cpp:25: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from src/hotspot/share/ci/ciBaseObject.hpp:29, from src/hotspot/share/ci/ciMetadata.hpp:28: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/abstractCompiler.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/memory/allocation.inline.hpp:30, from src/hotspot/share/opto/addnode.cpp:26: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/utilities/growableArray.hpp:30: src/hotspot/share/oops/oop.hpp: At global scope: src/hotspot/share/oops/oop.hpp:89:70: error: 'atomic_memory_order' has not been declared 89 | inline markWord cas_set_mark(markWord new_mark, markWord old_mark, atomic_memory_order order); | ^~~~~~~~~~~~~~~~~~~ src/hotspot/share/oops/oop.hpp:281:57: error: 'atomic_memory_order' has not been declared 281 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~ src/hotspot/share/oops/oop.hpp:281:85: error: 'memory_order_conservative' was not declared in this scope 281 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from src/hotspot/share/memory/allocation.inline.hpp:28: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/addnode.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/runtime/handles.hpp:29, from src/hotspot/share/code/oopRecorder.hpp:28, from src/hotspot/share/asm/codeBuffer.hpp:28, from src/hotspot/share/asm/assembler.hpp:28, from src/hotspot/share/asm/assembler.inline.hpp:28, from src/hotspot/share/compiler/abstractDisassembler.cpp:30: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from src/hotspot/share/memory/arena.hpp:28, from src/hotspot/share/runtime/handles.hpp:28: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from src/hotspot/share/gc/z/zHeap.inline.hpp:30, from src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from src/hotspot/share/oops/access.inline.hpp:31, from src/hotspot/share/memory/iterator.inline.hpp:32, from src/hotspot/share/oops/oop.inline.hpp:31, from src/hotspot/share/compiler/abstractDisassembler.cpp:32: src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/abstractDisassembler.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/runtime/handles.hpp:29, from src/hotspot/share/code/oopRecorder.hpp:28, from src/hotspot/share/asm/codeBuffer.hpp:28, from src/hotspot/share/code/stubs.hpp:28, from src/hotspot/share/interpreter/interpreter.hpp:28, from src/hotspot/cpu/riscv/abstractInterpreter_riscv.cpp:28: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from src/hotspot/share/memory/arena.hpp:28, from src/hotspot/share/runtime/handles.hpp:28: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from src/hotspot/share/gc/z/zHeap.inline.hpp:30, from src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from src/hotspot/share/oops/access.inline.hpp:31, from src/hotspot/share/memory/iterator.inline.hpp:32, from src/hotspot/share/oops/oop.inline.hpp:31, from src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from src/hotspot/share/oops/klass.inline.hpp:30, from src/hotspot/cpu/riscv/abstractInterpreter_riscv.cpp:30: src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/runtime/handles.hpp:29, from src/hotspot/share/classfile/vmClasses.hpp:30, from src/hotspot/share/classfile/javaClasses.hpp:28, from src/hotspot/share/classfile/javaClasses.inline.hpp:28, from src/hotspot/share/gc/shared/accessBarrierSupport.cpp:26: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/metaprogramming/primitiveConversions.hpp:30, from src/hotspot/share/utilities/enumIterator.hpp:32, from src/hotspot/share/classfile/vmClassID.hpp:29, from src/hotspot/share/classfile/vmClasses.hpp:28: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from src/hotspot/share/gc/z/zHeap.inline.hpp:30, from src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from src/hotspot/share/oops/access.inline.hpp:31, from src/hotspot/share/classfile/javaClasses.inline.hpp:31: src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/abstractInterpreter_riscv.o] Error 1 gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/accessBarrierSupport.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/oops/oop.inline.hpp:28, from src/hotspot/share/utilities/accessFlags.cpp:26: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from src/hotspot/share/memory/iterator.hpp:28, from src/hotspot/share/oops/oop.hpp:28: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from src/hotspot/share/gc/z/zHeap.inline.hpp:30, from src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from src/hotspot/share/oops/access.inline.hpp:31, from src/hotspot/share/memory/iterator.inline.hpp:32, from src/hotspot/share/oops/oop.inline.hpp:31: src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/accessFlags.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/oops/arrayOop.hpp:28, from src/hotspot/share/oops/accessBackend.inline.hpp:31, from src/hotspot/share/oops/accessBackend.cpp:26: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from src/hotspot/share/oops/accessBackend.hpp:29, from src/hotspot/share/oops/accessBackend.inline.hpp:28: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from src/hotspot/share/gc/z/zHeap.inline.hpp:30, from src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from src/hotspot/share/oops/access.inline.hpp:31, from src/hotspot/share/memory/iterator.inline.hpp:32, from src/hotspot/share/oops/oop.inline.hpp:31, from src/hotspot/share/oops/accessBackend.cpp:28: src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/accessBackend.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/gc/shared/ageTable.hpp:30, from src/hotspot/share/gc/shared/ageTable.inline.hpp:28, from src/hotspot/share/gc/shared/ageTable.cpp:26: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from src/hotspot/share/gc/shared/ageTable.hpp:28: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from src/hotspot/share/gc/z/zHeap.inline.hpp:30, from src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from src/hotspot/share/oops/access.inline.hpp:31, from src/hotspot/share/memory/iterator.inline.hpp:32, from src/hotspot/share/oops/oop.inline.hpp:31, from src/hotspot/share/gc/shared/ageTable.inline.hpp:30: src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/ageTable.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/runtime/handles.hpp:29, from src/hotspot/share/classfile/vmClasses.hpp:30, from src/hotspot/share/classfile/altHashing.cpp:48: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/classfile/altHashing.hpp:30, from src/hotspot/share/classfile/altHashing.cpp:47: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from src/hotspot/share/gc/z/zHeap.inline.hpp:30, from src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from src/hotspot/share/oops/access.inline.hpp:31, from src/hotspot/share/memory/iterator.inline.hpp:32, from src/hotspot/share/oops/oop.inline.hpp:31, from src/hotspot/share/classfile/classLoaderData.inline.hpp:32, from src/hotspot/share/oops/klass.inline.hpp:30, from src/hotspot/share/classfile/altHashing.cpp:49: src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/altHashing.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/oops/weakHandle.hpp:28, from src/hotspot/share/classfile/classLoaderData.hpp:30, from src/hotspot/share/oops/annotations.cpp:26: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from src/hotspot/share/classfile/classLoaderData.hpp:28: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from src/hotspot/share/gc/z/zHeap.inline.hpp:30, from src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from src/hotspot/share/oops/access.inline.hpp:31, from src/hotspot/share/oops/typeArrayOop.inline.hpp:30, from src/hotspot/share/oops/annotations.cpp:33: src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/annotations.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/runtime/handles.hpp:29, from src/hotspot/share/code/oopRecorder.hpp:28, from src/hotspot/share/asm/codeBuffer.hpp:28, from src/hotspot/share/asm/assembler.hpp:28, from src/hotspot/share/asm/macroAssembler.hpp:28, from src/hotspot/share/interpreter/abstractInterpreter.cpp:26: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from src/hotspot/share/memory/arena.hpp:28, from src/hotspot/share/runtime/handles.hpp:28: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from src/hotspot/share/gc/z/zHeap.inline.hpp:30, from src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from src/hotspot/share/oops/access.inline.hpp:31, from src/hotspot/share/oops/oopHandle.inline.hpp:30, from src/hotspot/share/oops/cpCache.inline.hpp:30, from src/hotspot/share/oops/constantPool.inline.hpp:30, from src/hotspot/share/interpreter/abstractInterpreter.cpp:39: src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/abstractInterpreter.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/logging/logOutputList.hpp:29, from src/hotspot/share/logging/logTagSet.hpp:29, from src/hotspot/share/logging/log.hpp:29, from src/hotspot/share/cds/archiveUtils.hpp:29, from src/hotspot/share/cds/archiveBuilder.hpp:28, from src/hotspot/share/cds/archiveBuilder.cpp:26: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/utilities/growableArray.hpp:30: src/hotspot/share/oops/oop.hpp: At global scope: src/hotspot/share/oops/oop.hpp:89:70: error: 'atomic_memory_order' has not been declared 89 | inline markWord cas_set_mark(markWord new_mark, markWord old_mark, atomic_memory_order order); | ^~~~~~~~~~~~~~~~~~~ src/hotspot/share/oops/oop.hpp:281:57: error: 'atomic_memory_order' has not been declared 281 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~ src/hotspot/share/oops/oop.hpp:281:85: error: 'memory_order_conservative' was not declared in this scope 281 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from src/hotspot/share/cds/serializeClosure.hpp:28, from src/hotspot/share/cds/archiveUtils.hpp:28: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from src/hotspot/share/gc/z/zHeap.inline.hpp:30, from src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from src/hotspot/share/oops/access.inline.hpp:31, from src/hotspot/share/memory/iterator.inline.hpp:32, from src/hotspot/share/oops/oop.inline.hpp:31, from src/hotspot/share/oops/objArrayOop.inline.hpp:32, from src/hotspot/share/cds/archiveBuilder.cpp:50: src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' src/hotspot/share/oops/oop.inline.hpp:81:10: error: no declaration matches 'markWord oopDesc::cas_set_mark(markWord, markWord, atomic_memory_order)' 81 | markWord oopDesc::cas_set_mark(markWord new_mark, markWord old_mark, atomic_memory_order order) { | ^~~~~~~ src/hotspot/share/oops/oop.hpp:89:19: note: candidates are: 'markWord oopDesc::cas_set_mark(markWord, markWord, int)' 89 | inline markWord cas_set_mark(markWord new_mark, markWord old_mark, atomic_memory_order order); | ^~~~~~~~~~~~ src/hotspot/share/oops/oop.inline.hpp:77:10: note: 'markWord oopDesc::cas_set_mark(markWord, markWord)' 77 | markWord oopDesc::cas_set_mark(markWord new_mark, markWord old_mark) { | ^~~~~~~ src/hotspot/share/oops/oop.hpp:61:7: note: 'class oopDesc' defined here 61 | class oopDesc { | ^~~~~~~ src/hotspot/share/oops/oop.inline.hpp:293:5: error: no declaration matches 'oopDesc* oopDesc::forward_to_atomic(oop, markWord, atomic_memory_order)' 293 | oop oopDesc::forward_to_atomic(oop p, markWord compare, atomic_memory_order order) { | ^~~~~~~ src/hotspot/share/oops/oop.hpp:281:14: note: candidate is: 'oopDesc* oopDesc::forward_to_atomic(oop, markWord, int)' 281 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~ src/hotspot/share/oops/oop.hpp:61:7: note: 'class oopDesc' defined here 61 | class oopDesc { | ^~~~~~~ src/hotspot/share/oops/oop.hpp:89:19: warning: inline function 'markWord oopDesc::cas_set_mark(markWord, markWord, int)' used but never defined 89 | inline markWord cas_set_mark(markWord new_mark, markWord old_mark, atomic_memory_order order); | ^~~~~~~~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/archiveBuilder.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/oops/klass.hpp:32, from build/linux-riscv64-server-slowdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:6, from src/hotspot/share/jfr/jfrEvents.hpp:32, from src/hotspot/share/gc/shared/ageTableTracer.cpp:28: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/gc/shared/ageTableTracer.hpp:29, from src/hotspot/share/gc/shared/ageTableTracer.cpp:26: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from src/hotspot/share/gc/z/zHeap.inline.hpp:30, from src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from src/hotspot/share/oops/access.inline.hpp:31, from src/hotspot/share/oops/oopHandle.inline.hpp:30, from src/hotspot/share/runtime/javaThread.inline.hpp:35, from src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from build/linux-riscv64-server-slowdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12: src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/ageTableTracer.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/runtime/handles.hpp:29, from src/hotspot/share/code/oopRecorder.hpp:28, from src/hotspot/share/asm/codeBuffer.hpp:28, from src/hotspot/share/asm/assembler.hpp:28, from src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ad_riscv_clone.cpp:30: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/ad_riscv_clone.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/runtime/handles.hpp:29, from src/hotspot/share/gc/shared/allocTracer.hpp:29, from src/hotspot/share/gc/shared/allocTracer.cpp:26: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from src/hotspot/share/memory/arena.hpp:28, from src/hotspot/share/runtime/handles.hpp:28: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from src/hotspot/share/gc/z/zHeap.inline.hpp:30, from src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from src/hotspot/share/oops/access.inline.hpp:31, from src/hotspot/share/oops/oopHandle.inline.hpp:30, from src/hotspot/share/runtime/javaThread.inline.hpp:35, from src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:36, from src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp:31, from src/hotspot/share/jfr/writers/jfrEventWriterHost.hpp:28, from src/hotspot/share/jfr/writers/jfrEventWriterHost.inline.hpp:28, from src/hotspot/share/jfr/writers/jfrNativeEventWriter.hpp:30, from src/hotspot/share/jfr/recorder/service/jfrEvent.hpp:33, from build/linux-riscv64-server-slowdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp:12, from src/hotspot/share/jfr/jfrEvents.hpp:32, from src/hotspot/share/gc/shared/allocTracer.cpp:27: src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/allocTracer.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/runtime/handles.hpp:29, from src/hotspot/share/code/oopRecorder.hpp:28, from src/hotspot/share/asm/codeBuffer.hpp:28, from src/hotspot/share/asm/assembler.hpp:28, from src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ad_riscv_peephole.cpp:30: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/ad_riscv_peephole.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/runtime/handles.hpp:29, from src/hotspot/share/code/oopRecorder.hpp:28, from src/hotspot/share/asm/codeBuffer.hpp:28, from src/hotspot/share/asm/assembler.hpp:28, from src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ad_riscv_misc.cpp:30: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/ad_riscv_misc.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/runtime/handles.hpp:29, from src/hotspot/share/code/oopRecorder.hpp:28, from src/hotspot/share/asm/codeBuffer.hpp:28, from src/hotspot/share/asm/assembler.hpp:28, from src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ad_riscv_expand.cpp:30: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/ad_riscv_expand.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/runtime/handles.hpp:29, from src/hotspot/share/code/oopRecorder.hpp:28, from src/hotspot/share/asm/codeBuffer.hpp:28, from src/hotspot/share/asm/assembler.hpp:28, from src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ad_riscv_pipeline.cpp:30: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/ad_riscv_pipeline.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/runtime/handles.hpp:29, from src/hotspot/share/code/oopRecorder.hpp:28, from src/hotspot/share/asm/codeBuffer.hpp:28, from src/hotspot/share/asm/assembler.hpp:28, from src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ad_riscv_gen.cpp:30: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/ad_riscv_gen.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/runtime/handles.hpp:29, from src/hotspot/share/code/oopRecorder.hpp:28, from src/hotspot/share/asm/codeBuffer.hpp:28, from src/hotspot/share/asm/assembler.hpp:28, from src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ad_riscv_format.cpp:30: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/ad_riscv_format.o] Error 1 In file included from src/hotspot/share/utilities/growableArray.hpp:29, from src/hotspot/cpu/riscv/vm_version_riscv.hpp:35, from src/hotspot/share/runtime/vm_version.hpp:30, from src/hotspot/share/runtime/orderAccess.hpp:29, from src/hotspot/share/runtime/atomic.hpp:31, from src/hotspot/share/oops/oop.hpp:34, from src/hotspot/share/runtime/handles.hpp:29, from src/hotspot/share/code/oopRecorder.hpp:28, from src/hotspot/share/asm/codeBuffer.hpp:28, from src/hotspot/share/asm/assembler.hpp:28, from src/hotspot/cpu/riscv/nativeInst_riscv.hpp:30, from src/hotspot/share/code/nativeInst.hpp:30, from ad_riscv.hpp:35, from ad_riscv.cpp:31: src/hotspot/share/oops/array.hpp: In member function 'T Array::at_acquire(int)': src/hotspot/share/oops/array.hpp:131:49: error: 'Atomic' has not been declared 131 | T at_acquire(const int i) { return Atomic::load_acquire(adr_at(i)); } | ^~~~~~ src/hotspot/share/oops/array.hpp: In member function 'void Array::release_at_put(int, T)': src/hotspot/share/oops/array.hpp:132:42: error: 'Atomic' has not been declared 132 | void release_at_put(int i, T x) { Atomic::release_store(adr_at(i), x); } | ^~~~~~ In file included from src/hotspot/share/memory/allocation.hpp:30, from ad_riscv.hpp:33: src/hotspot/share/utilities/linkedlist.hpp: At global scope: src/hotspot/share/utilities/linkedlist.hpp:85:15: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the '< >' 85 | NONCOPYABLE(LinkedList); | ^~~~~~~~~~~~~ src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro 'NONCOPYABLE' 87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */ | ^ In file included from src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30, from src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32, from src/hotspot/share/gc/z/zHeap.inline.hpp:30, from src/hotspot/share/gc/z/zGeneration.inline.hpp:30, from src/hotspot/share/gc/z/zBarrier.inline.hpp:30, from src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31, from src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44, from src/hotspot/share/oops/access.inline.hpp:31, from src/hotspot/share/memory/iterator.inline.hpp:32, from src/hotspot/share/oops/oop.inline.hpp:31, from src/hotspot/share/gc/shared/collectedHeap.inline.hpp:31, from ad_riscv.cpp:38: src/hotspot/share/gc/z/zArray.inline.hpp:99:21: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor] 99 | ZActivatedArray::~ZActivatedArray() { | ^ src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the '< >' /home/buildbot/worker/build-jdkX-valhalla/build/src/hotspot/cpu/riscv/riscv.ad:1452:6: error: no declaration matches 'uint MachPrologNode::size(PhaseRegAlloc*) const' 1452 | uint MachPrologNode::size(PhaseRegAlloc* ra_) const | ^~~~~~~~~~~~~~ /home/buildbot/worker/build-jdkX-valhalla/build/src/hotspot/cpu/riscv/riscv.ad:1452:6: note: no functions named 'uint MachPrologNode::size(PhaseRegAlloc*) const' In file included from ad_riscv.hpp:37: src/hotspot/share/opto/machnode.hpp:542:7: note: 'class MachPrologNode' defined here 542 | class MachPrologNode : public MachIdealNode { | ^~~~~~~~~~~~~~ /home/buildbot/worker/build-jdkX-valhalla/build/src/hotspot/cpu/riscv/riscv.ad:1519:6: error: no declaration matches 'uint MachEpilogNode::size(PhaseRegAlloc*) const' 1519 | uint MachEpilogNode::size(PhaseRegAlloc *ra_) const { | ^~~~~~~~~~~~~~ /home/buildbot/worker/build-jdkX-valhalla/build/src/hotspot/cpu/riscv/riscv.ad:1519:6: note: no functions named 'uint MachEpilogNode::size(PhaseRegAlloc*) const' src/hotspot/share/opto/machnode.hpp:564:7: note: 'class MachEpilogNode' defined here 564 | class MachEpilogNode : public MachIdealNode { | ^~~~~~~~~~~~~~ /home/buildbot/worker/build-jdkX-valhalla/build/src/hotspot/cpu/riscv/riscv.ad:1834:6: error: no declaration matches 'uint MachUEPNode::size(PhaseRegAlloc*) const' 1834 | uint MachUEPNode::size(PhaseRegAlloc* ra_) const | ^~~~~~~~~~~ /home/buildbot/worker/build-jdkX-valhalla/build/src/hotspot/cpu/riscv/riscv.ad:1834:6: note: no functions named 'uint MachUEPNode::size(PhaseRegAlloc*) const' src/hotspot/share/opto/machnode.hpp:529:7: note: 'class MachUEPNode' defined here 529 | class MachUEPNode : public MachIdealNode { | ^~~~~~~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:166: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/ad_riscv.o] Error 1 gmake[2]: *** [make/Main.gmk:253: hotspot-server-libs] Error 2 ERROR: Build failed for target 'hotspot' in configuration 'linux-riscv64-server-slowdebug' (exit code 2) ----- Build times ------- Start 2024-09-04 10:31:11 End 2024-09-04 10:31:19 00:00:08 TOTAL -------------------------