RFR: 8345016: [ASAN] java.c false positive ‘%s’ directive argument is null [-Werror=format-truncation=]

SendaoYan syan at openjdk.org
Fri Dec 13 09:47:36 UTC 2024


On Wed, 4 Dec 2024 15:42:33 GMT, SendaoYan <syan at openjdk.org> wrote:

>> Hello @sendaoYan, what exact version of `gcc` is this?
>
>> Hello @sendaoYan, what exact version of `gcc` is this?
> 
> Hi, the gcc version is gcc14.2.0
> 
> 
>> gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/home/yansendao/software/gcc/gcc-14.2.0-binary/bin/../libexec/gcc/x86_64-pc-linux-gnu/14.2.0/lto-wrapper
> Target: x86_64-pc-linux-gnu
> Configured with: configure --prefix=/home/yansendao/git/tone-matrix-compiler/csmith/gcc-14.2.0/../gcc-14.2.0-binary --disable-multilib --enable-languages=c,c++,objc,obj-c++,fortran,lto
> Thread model: posix
> Supported LTO compression algorithms: zlib
> gcc version 14.2.0 (GCC)

> Hello @sendaoYan, can you add a bit more details to the JBS issue to explain what commands were used to configure and build the JDK that resulted in the build failure?

Sorry for missed the configure command. I have updated the jbs description.


> The build succeeded without any errors.

Can you try with add configure options `--enable-asan --enable-ubsan`

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22546#issuecomment-2541011299


More information about the core-libs-dev mailing list