On Tue, 5 May 2026 13:41:08 GMT, Hao Sun <[email protected]> wrote: >> Anton Artemov has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8320353: Fixed build issue on aarch64 and riscv64-debug > > FYI > Using the new commit, JDK **fastdebug** build on linux-aarch64 with GCC 13 > fails with the following error. > > In this time, the warning is raised when compiling file `jvmtiTagMap.cpp` > > > In file included from > /tmp/work/jdk-src/src/hotspot/share/runtime/atomicAccess.hpp:859, > > from > /tmp/work/jdk-src/src/hotspot/share/runtime/atomic.hpp:31, > > from > /tmp/work/jdk-src/src/hotspot/share/utilities/exceptions.hpp:30, > from > /tmp/work/jdk-src/src/hotspot/share/oops/metadata.hpp:28, > > from /tmp/work/jdk-src/src/hotspot/share/oops/oop.hpp:34, > from > /tmp/work/jdk-src/src/hotspot/share/runtime/handles.hpp:29, > > from > /tmp/work/jdk-src/src/hotspot/share/classfile/vmClasses.hpp:30, > > from > /tmp/work/jdk-src/src/hotspot/share/classfile/javaClasses.hpp:28, > > from > /tmp/work/jdk-src/src/hotspot/share/classfile/javaClasses.inline.hpp:28, > > from > /tmp/work/jdk-src/src/hotspot/share/precompiled/precompiled.hpp:32: > > In member function ‘void AtomicAccess::PlatformOrderedStore<byte_size, > RELEASE_X>::operator()(volatile T*, T) const [with T = unsigned int; long > unsigned int byte_size = 4]’, > inlined from ‘void AtomicAccess::StoreImpl<T, T, PlatformOp, typename > std::enable_if<PrimitiveConversions::Translate<T>::value, > void>::type>::operator()(volatile T*, T) const > [with T = JavaThreadState; PlatformOp = AtomicAccess::PlatformOrderedStore<4, > RELEASE_X>]’ at > /tmp/work/jdk-src/src/hotspot/share/runtime/atomicAccess.hpp:605 > :17, > > > inlined from ‘static void AtomicAccess::release_store(volatile D*, T) > [with D = JavaThreadState; T = JavaThreadState]’ at > /tmp/work/jdk-src/src/hotspot/sh > are/runtime/atomicA...
@shqking I know now why I missed that part, I was compiling with GCC14, which works just fine. With GCC13, however, I got the same problem as you posted. I fixed it now. ------------- PR Comment: https://git.openjdk.org/jdk/pull/31025#issuecomment-4387127199
