Build from the current HEAD fails
Arkadiusz Gasiński
jigga at jigga.pl
Sat Sep 26 18:11:56 UTC 2020
Hi,
I'm getting the following errors when building from the current HEAD:
ERROR: Build failed for target 'images' in configuration
'macosx-x86_64-server-release' (exit code 2)
Stopping sjavac server
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_sharedRuntime.o:
src/hotspot/share/runtime/sharedRuntime.cpp:2869:85: error: expression does
not compute the number of elements in this array; element type is 'double',
not 'relocInfo' [-Werror,-Wsizeof-array-div]
buffer.insts()->initialize_shared_locs((relocInfo*)locs_buf,
sizeof(locs_buf) / sizeof(relocInfo));
~~~~~~~~ ^
src/hotspot/share/runtime/sharedRuntime.cpp:2867:14: note: array 'locs_buf'
declared here
double locs_buf[20];
^
src/hotspot/share/runtime/sharedRuntime.cpp:2869:85: note: place
parentheses around the 'sizeof(relocInfo)' expression to silence this
warning
buffer.insts()->initialize_shared_locs((relocInfo*)locs_buf,
sizeof(locs_buf) / sizeof(relocInfo));
^
src/hotspot/share/runtime/sharedRuntime.cpp:2876:97: error: expression does
not compute the number of elements in this array; element type is 'double',
not 'relocInfo' [-Werror,-Wsizeof-array-div]
buffer.stubs()->initialize_shared_locs((relocInfo*)stubs_locs_buf,
sizeof(stubs_locs_buf) / sizeof(relocInfo));
~~~~~~~~~~~~~~ ^
src/hotspot/share/runtime/sharedRuntime.cpp:2868:14: note: array
'stubs_locs_buf' declared here
double stubs_locs_buf[20];
^
... (rest of output omitted)
Any ideas what may be wrong?
Thanks,
Arek
More information about the loom-dev
mailing list