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

Erik Joelsson erikj at openjdk.org
Tue Apr 29 13:05:48 UTC 2025


On Tue, 29 Apr 2025 09:05:07 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> When building ubsan-enabled binaries with the clang toolchain (e.g. on AIX or Linux), we get the following warnings :
>> 
>> 
>> warning: unknown warning option '-Wno-stringop-truncation'; did you mean '-Wno-string-concatenation'? [-Wunknown-warning-option]
>> warning: unknown warning option '-Wno-format-overflow'; did you mean '-Wno-shift-overflow'? [-Wunknown-warning-option]
>> warning: unknown warning option '-Wno-stringop-overflow'; did you mean '-Wno-shift-overflow'? [-Wunknown-warning-option]
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Sort flags

Marked as reviewed by erikj (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/24924#pullrequestreview-2803359916


More information about the build-dev mailing list