Integrated: 8355594: Warnings occur when building with clang and enabling ubsan

Matthias Baesken mbaesken at openjdk.org
Tue Apr 29 13:29:54 UTC 2025


On Mon, 28 Apr 2025 15:22:50 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]

This pull request has now been integrated.

Changeset: 9f42ff89
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9f42ff8960c740fa6ae5be21677b874463c7f500
Stats:     4 lines in 1 file changed: 3 ins; 0 del; 1 mod

8355594: Warnings occur when building with clang and enabling ubsan

Reviewed-by: erikj, jkern, ihse

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

PR: https://git.openjdk.org/jdk/pull/24924


More information about the build-dev mailing list