RFR: 8354686: [AIX] now ubsan is possible

Joachim Kern jkern at openjdk.org
Tue Apr 15 18:54:56 UTC 2025


With the introduction of the open XL 17.1.2.13 Compiler and the runtime 17.1.3 as minimum requirement ubsan is supported for AIX now.
Unfortunately there has to be some adoptions.
- Currently the test for vptr does not work and produces crashes when active, so we have to deactivate it. (If fixed by IBM there will be a follow up JBS)
- ubsan introduces so much new symbols to every executable that we have to link with -bbictoc.
- The llvm_symbolizer is not found out of the box, so we have to provide the full qualified llvm_symbolizer path in the __ubsan_default_options() function.

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

Commit messages:
 - JDK-8354686

Changes: https://git.openjdk.org/jdk/pull/24667/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24667&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8354686
  Stats: 13 lines in 2 files changed: 12 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/24667.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24667/head:pull/24667

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


More information about the build-dev mailing list