On Wed, 6 May 2026 10:30:05 GMT, Anton Artemov <[email protected]> wrote:
>> 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/... > > @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. @toxaart FYI. I tried the following JDK builds with the latest commit on linux+aarch64 using GCC-13.3.0, and all passed. - release - fastdebug - optimized - client - minimal - zero - --with-jvm-features=-compiler2 - --with-jvm-features=-compiler1 ------------- PR Comment: https://git.openjdk.org/jdk/pull/31025#issuecomment-4393039596
