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

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


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24924/files
  - new: https://git.openjdk.org/jdk/pull/24924/files/dbfcece2..72bec244

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24924&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24924&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/24924.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24924/head:pull/24924

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


More information about the build-dev mailing list