RFR: 8355594: Warnings occur when building with clang and enabling ubsan [v2]

Matthias Baesken mbaesken at openjdk.org
Tue Apr 29 09:05:08 UTC 2025


On Mon, 28 Apr 2025 19:25:55 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

>> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Sort flags
>
> make/autoconf/jdk-options.m4 line 525:
> 
>> 523:   UBSAN_CFLAGS="$UBSAN_CHECKS -Wno-array-bounds -fno-omit-frame-pointer -DUNDEFINED_BEHAVIOR_SANITIZER"
>> 524:   if test "x$TOOLCHAIN_TYPE" = "xgcc"; then
>> 525:     UBSAN_CFLAGS="$UBSAN_CFLAGS -Wno-stringop-truncation -Wno-format-overflow -Wno-stringop-overflow"
> 
> Just for the sake of my sanity, can you reorder the `-Wno-*` options in alphabetical order?

Done !  Need a re-review now .

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24924#discussion_r2065839527


More information about the build-dev mailing list