RFR: JDK-8300531: MSVC CFlags look suspicious [v9]
Justin King
jcking at openjdk.org
Thu Feb 16 04:23:42 UTC 2023
On Wed, 15 Feb 2023 21:21:47 GMT, Justin King <jcking at openjdk.org> wrote:
>> Update MSVC CFlags to be more consistent with other compilers. Also disables RTTI in a simliar manner to GCC/Clang for the JVM.
>
> Justin King has updated the pull request incrementally with one additional commit since the last revision:
>
> Revert usage of /GR-
>
> Signed-off-by: Justin King <jcking at google.com>
Disabling RTTI seems to prevent serviceability from locating threads on Windows. As the test that failed isn't printing threads at all. My current hypothesis is MSVC isn't exporting some symbols now that RTTI is disabled, and either DbgHelp or DbgEng needs it. I'll see if I can track it down.
-------------
PR: https://git.openjdk.org/jdk/pull/12073
More information about the build-dev
mailing list