Integrated: 8368250: [AIX] now ubsan vptr check is also possible (follow up of JDK-8354686)
Joachim Kern
jkern at openjdk.org
Fri Sep 26 12:18:28 UTC 2025
On Wed, 24 Sep 2025 13:23:00 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.
This pull request has now been integrated.
Changeset: f0e1078c
Author: Joachim Kern <jkern at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/f0e1078c7175b3f930502a6079feff86aa53b669
Stats: 9 lines in 3 files changed: 5 ins; 0 del; 4 mod
8368250: [AIX] now ubsan vptr check is also possible (follow up of JDK-8354686)
Reviewed-by: erikj, stuefe, mbaesken
-------------
PR: https://git.openjdk.org/jdk/pull/27468
More information about the build-dev
mailing list