RFR: 8368250: [AIX] now ubsan vptr check is also possible (follow up of JDK-8354686) [v2]

Joachim Kern jkern at openjdk.org
Thu Sep 25 15:45:31 UTC 2025


On Thu, 25 Sep 2025 13:48:22 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> Looks like we get now ALWAYS ` -Wl,-bcdtors:mbr::s` into the AIX link flags, is that observation correct? So the change does not only touch ubsan but all linkage on this platform ? What are the pros and cons ?

I got the advice from IBM, that we should use this link flag in any case. We just missed it in the initial porting to the new clang based Compiler.

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

PR Comment: https://git.openjdk.org/jdk/pull/27468#issuecomment-3334805925


More information about the build-dev mailing list