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

Matthias Baesken mbaesken at openjdk.org
Tue Apr 29 13:29:53 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

Thanks for the reviews !

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

PR Comment: https://git.openjdk.org/jdk/pull/24924#issuecomment-2838910357


More information about the build-dev mailing list