On Fri, 17 Apr 2026 09:09:33 GMT, Matthias Baesken <[email protected]> wrote:
> > It's a weird GCC bug. See the previous discussion in [1]. > > Hi, is there a link to a GCC bug (e.g. GNU bugzilla) causing this ? > https://bugs.openjdk.org/browse/JDK-8320212 looks indeed similar > (`atomic_linux_zero.hpp:147:16: error: 'long unsigned int > __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of > size 0 overflows the destination [-Werror=stringop-overflow=`]) >From the discussion >[here](https://github.com/openjdk/jdk/pull/26067#issuecomment-3030839463), it >was pointed out that currently there is no GCC bug report for this issue. The >most related one is about sanitizer, i.e. >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113775 > > Any idea why we see this only on Linux aarch64 (we use the same GCC 14 > version on Linux ppc64le and Linux x86_64 too) ? I'm afraid I have no idea. And I suppose it's not AArch64 specific issue. E.g. riscv has the similar warning. See https://bugs.openjdk.org/browse/JDK-8360306 ------------- PR Comment: https://git.openjdk.org/jdk/pull/30784#issuecomment-4268523740
