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 12:06:49 UTC 2025
On Thu, 25 Sep 2025 07:40:03 GMT, Joachim Kern <jkern at openjdk.org> wrote:
>> After [JDK-8354686](https://bugs.openjdk.org/browse/JDK-8354686) the ubsan vptr checks still did not work. We finally found out, that they only work, if all linkage units are linked with the C++ compiler frontend as linker, especially the main executables (java, javac, ...) which are linked with the C compiler frontend.
>> So for a ubsan enabled build on AIX we let everything link with the C++ compiler frontend.
>> Background: The C++ compiler frontend inherently adds special static libraries which the C compiler does not. This results in missing symbols when trying to start a program and its shared libraries, when they were linked in mixed mode.
>
> Joachim Kern has updated the pull request incrementally with one additional commit since the last revision:
>
> indentation and typo
Marked as reviewed by mbaesken (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27468#pullrequestreview-3271944238
More information about the build-dev
mailing list