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 g1_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 1239 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:283:57: error: 'atomic_memory_order' has not been declared 283 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~ src/hotspot/share/oops/oop.hpp:283:85: error: 'memory_order_conservative' was not declared in this scope 283 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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:283:57: error: 'atomic_memory_order' has not been declared 283 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~ src/hotspot/share/oops/oop.hpp:283:85: error: 'memory_order_conservative' was not declared in this scope 283 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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); } | ^~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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/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); } | ^~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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); } | ^~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/abstractInterpreter_riscv.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:283:57: error: 'atomic_memory_order' has not been declared 283 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~ src/hotspot/share/oops/oop.hpp:283:85: error: 'memory_order_conservative' was not declared in this scope 283 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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/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); } | ^~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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/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/utilities/growableArray.hpp:30, 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/array.hpp:28, from src/hotspot/share/oops/annotations.hpp:28, from src/hotspot/share/classfile/classFileParser.hpp:29, from src/hotspot/share/oops/inlineKlass.hpp:28, from src/hotspot/share/oops/accessBackend.hpp:32, from src/hotspot/share/oops/accessBackend.inline.hpp:28, from src/hotspot/share/oops/accessBackend.cpp:26: 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:283:57: error: 'atomic_memory_order' has not been declared 283 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~ src/hotspot/share/oops/oop.hpp:283:85: error: 'memory_order_conservative' was not declared in this scope 283 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/hotspot/share/utilities/growableArray.hpp:486:24: error: 'Array' does not name a type; did you mean 'jarray'? 486 | void appendAll(const Array* l) { | ^~~~~ | jarray src/hotspot/share/utilities/growableArray.hpp:486:29: error: expected ',' or '...' before '<' token 486 | void appendAll(const Array* l) { | ^ src/hotspot/share/utilities/growableArray.hpp: In member function 'void GrowableArrayWithAllocator::appendAll(int)': src/hotspot/share/utilities/growableArray.hpp:487:25: error: 'l' was not declared in this scope 487 | for (int i = 0; i < l->length(); i++) { | ^ In file included from src/hotspot/share/oops/accessBackend.cpp:28: src/hotspot/share/oops/oop.inline.hpp: At global scope: 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:292:5: error: no declaration matches 'oopDesc* oopDesc::forward_to_atomic(oop, markWord, atomic_memory_order)' 292 | oop oopDesc::forward_to_atomic(oop p, markWord compare, atomic_memory_order order) { | ^~~~~~~ src/hotspot/share/oops/oop.hpp:283:14: note: candidate is: 'oopDesc* oopDesc::forward_to_atomic(oop, markWord, int)' 283 | 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:170: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/altHashing.o] Error 1 gmake[3]: *** [lib/CompileJvm.gmk:170: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/accessFlags.o] Error 1 gmake[3]: *** [lib/CompileJvm.gmk:170: /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/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); } | ^~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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/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); } | ^~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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/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); } | ^~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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/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:283:57: error: 'atomic_memory_order' has not been declared 283 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~ src/hotspot/share/oops/oop.hpp:283:85: error: 'memory_order_conservative' was not declared in this scope 283 | inline oop forward_to_atomic(oop p, markWord compare, atomic_memory_order order = memory_order_conservative); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/hotspot/share/oops/objArrayOop.inline.hpp:32, from src/hotspot/share/cds/archiveBuilder.cpp:51: 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:292:5: error: no declaration matches 'oopDesc* oopDesc::forward_to_atomic(oop, markWord, atomic_memory_order)' 292 | oop oopDesc::forward_to_atomic(oop p, markWord compare, atomic_memory_order order) { | ^~~~~~~ src/hotspot/share/oops/oop.hpp:283:14: note: candidate is: 'oopDesc* oopDesc::forward_to_atomic(oop, markWord, int)' 283 | 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:170: /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/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); } | ^~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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/oops/klass.hpp:33, 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); } | ^~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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/share/asm/assembler.inline.hpp:28, from src/hotspot/cpu/riscv/macroAssembler_riscv.hpp:30, 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); } | ^~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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/share/asm/assembler.inline.hpp:28, from src/hotspot/cpu/riscv/macroAssembler_riscv.hpp:30, 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); } | ^~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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/share/asm/assembler.inline.hpp:28, from src/hotspot/cpu/riscv/macroAssembler_riscv.hpp:30, 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); } | ^~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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/share/asm/assembler.inline.hpp:28, from src/hotspot/cpu/riscv/macroAssembler_riscv.hpp:30, 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/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/cpu/riscv/macroAssembler_riscv.hpp:30, 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); } | ^~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /home/buildbot/worker/build-jdkX-valhalla/build/build/linux-riscv64-server-slowdebug/hotspot/variant-server/libjvm/objs/ad_riscv_clone.o] Error 1 gmake[3]: *** [lib/CompileJvm.gmk:170: /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/share/asm/assembler.inline.hpp:28, from src/hotspot/cpu/riscv/macroAssembler_riscv.hpp:30, 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); } | ^~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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/share/asm/assembler.inline.hpp:28, from src/hotspot/cpu/riscv/macroAssembler_riscv.hpp:30, 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); } | ^~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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/share/asm/assembler.inline.hpp:28, from src/hotspot/cpu/riscv/macroAssembler_riscv.hpp:30, 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); } | ^~~~~~ /home/buildbot/worker/build-jdkX-valhalla/build/src/hotspot/cpu/riscv/riscv.ad: At global scope: /home/buildbot/worker/build-jdkX-valhalla/build/src/hotspot/cpu/riscv/riscv.ad:1471:6: error: no declaration matches 'uint MachPrologNode::size(PhaseRegAlloc*) const' 1471 | uint MachPrologNode::size(PhaseRegAlloc* ra_) const | ^~~~~~~~~~~~~~ /home/buildbot/worker/build-jdkX-valhalla/build/src/hotspot/cpu/riscv/riscv.ad:1471:6: note: no functions named 'uint MachPrologNode::size(PhaseRegAlloc*) const' In file included from ad_riscv.hpp:37: src/hotspot/share/opto/machnode.hpp:541:7: note: 'class MachPrologNode' defined here 541 | class MachPrologNode : public MachIdealNode { | ^~~~~~~~~~~~~~ /home/buildbot/worker/build-jdkX-valhalla/build/src/hotspot/cpu/riscv/riscv.ad:1537:6: error: no declaration matches 'uint MachEpilogNode::size(PhaseRegAlloc*) const' 1537 | uint MachEpilogNode::size(PhaseRegAlloc *ra_) const { | ^~~~~~~~~~~~~~ /home/buildbot/worker/build-jdkX-valhalla/build/src/hotspot/cpu/riscv/riscv.ad:1537:6: note: no functions named 'uint MachEpilogNode::size(PhaseRegAlloc*) const' src/hotspot/share/opto/machnode.hpp:563:7: note: 'class MachEpilogNode' defined here 563 | class MachEpilogNode : public MachIdealNode { | ^~~~~~~~~~~~~~ /home/buildbot/worker/build-jdkX-valhalla/build/src/hotspot/cpu/riscv/riscv.ad:1847:6: error: no declaration matches 'uint MachUEPNode::size(PhaseRegAlloc*) const' 1847 | uint MachUEPNode::size(PhaseRegAlloc* ra_) const | ^~~~~~~~~~~ /home/buildbot/worker/build-jdkX-valhalla/build/src/hotspot/cpu/riscv/riscv.ad:1847:6: note: no functions named 'uint MachUEPNode::size(PhaseRegAlloc*) const' src/hotspot/share/opto/machnode.hpp:528:7: note: 'class MachUEPNode' defined here 528 | class MachUEPNode : public MachIdealNode { | ^~~~~~~~~~~ gmake[3]: *** [lib/CompileJvm.gmk:170: /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:245: hotspot-server-libs] Error 2 ERROR: Build failed for target 'hotspot' in configuration 'linux-riscv64-server-slowdebug' (exit code 2) ----- Build times ------- Start 2024-12-05 15:24:22 End 2024-12-05 15:24:31 00:00:09 TOTAL -------------------------