RFR(S): 8234791: Fix Client VM build for x86_64 and AArch64

Andrew Haley aph at redhat.com
Fri Nov 29 10:11:33 UTC 2019


On 11/29/19 10:01 AM, Pengfei Li (Arm Technology China) wrote:
> Thanks for review. There is another build error below after I fixed arguments.cpp.
> 
> For target hotspot_variant-client_libjvm_objs_sharedRuntime_aarch64.o:
> ....../src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp:2836:22: error: 'NativeInstruction' has not been declared
> __ add(r20, r20, NativeInstruction::instruction_size);
> 
> We see that sharedRuntime_aarch64.cpp uses NativeInstruction but doesn't include nativeInst_aarch64.hpp.
> There is no error in Server VM build because the header file is included indirectly from some C2 file.
> But for Client VM build where C2 files are not in, this error occurs.

OK.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671




More information about the build-dev mailing list