[2020-06-25T18:08:39,838Z] Compiling 2543 files for java.desktop
[2020-06-25T18:08:56,669Z] t:/workspace/open/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp(3773): error C2220: the following warning is treated as an error
[2020-06-25T18:08:56,669Z] t:/workspace/open/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp(3773): warning C4146: unary minus operator applied to unsigned type, result still unsigned
[2020-06-25T18:08:56,669Z] t:/workspace/open/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp(3815): warning C4146: unary minus operator applied to unsigned type, result still unsigned
[2020-06-25T18:08:56,810Z] lib/CompileJvm.gmk:149: recipe for target '/cygdrive/t/workspace/build/windows-x64-debug/hotspot/variant-server/libjvm/objs/sharedRuntime_x86_64.obj' failed
[2020-06-25T18:08:56,810Z] make[3]: *** [/cygdrive/t/workspace/build/windows-x64-debug/hotspot/variant-server/libjvm/objs/sharedRuntime_x86_64.obj] Error 1
[2020-06-25T18:08:56,810Z] make[3]: *** Waiting for unfinished jobs....
[2020-06-25T18:08:58,939Z] make/Main.gmk:259: recipe for target 'hotspot-server-libs' failed
[2020-06-25T18:08:58,939Z] make[2]: *** [hotspot-server-libs] Error 2
[2020-06-25T18:08:58,939Z] make[2]: *** Waiting for unfinished jobs....
Here's the "broken" code:
src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp:
L3773: assert(inv * n[0] == -1ULL, "broken inverse in Montgomery multiply");
L3815: assert(inv * n[0] == -1ULL, "broken inverse in Montgomery square");
The last changeset applied to src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp is:
changeset: 59937:bf2cdc10fabe
user: stooke
date: Thu Jun 25 14:19:37 2020 +0100
summary: 8243114: Implement montgomery{Multiply,Square}intrinsics on Windows