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

Matthias Baesken mbaesken at openjdk.org
Fri Sep 26 07:14:17 UTC 2025


On Thu, 25 Sep 2025 15:42:58 GMT, Joachim Kern <jkern 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.

So what does the added flag (especially in the 'normal' non-sanitizer enabled builds) and what's the benefit we get from it (so far we lived happily without it).

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

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


More information about the build-dev mailing list