RFR: 8360791: [ubsan] Adjust signal handling when using clang
Magnus Ihse Bursie
ihse at openjdk.org
Fri Jun 27 21:22:23 UTC 2025
On Fri, 27 Jun 2025 19:11:28 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> I agree, this does not seem to be limited to clang, unless the signal handling stuff differs in ubsan in different compilers.
>
>> I agree, this does not seem to be limited to clang, unless the signal handling stuff differs in ubsan in different compilers.
>
> I only see issues with clang (on macOS and AIX) ; the Linux platforms using gcc are fine.
This does not seem to be something related to compiler. I guess there might be other environmental factors determining if you encounter this as a problem or not. Given that we know that we do these things with signals, on all unix platforms, then it makes sense to tell ubsan about it.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26015#discussion_r2172882228
More information about the build-dev
mailing list