"make images" failed on x86_64 and AArch64 when building JDK with configure args "--with-jvm-variants=client".
Error on X86_64:
Error occurred during initialization of VM
Cannot dump shared archive when UseCompressedOops or UseCompressedClassPointers is off.
Another error on AArch64:
error: 'NativeInstruction' has not been declared
__ add(r20, r20, NativeInstruction::instruction_size);
^
At global scope:
cc1plus: error: unrecognized command line option '-Wno-cast-function-type' [-Werror]
cc1plus: error: unrecognized command line option '-Wno-misleading-indentation' [-Werror]
cc1plus: error: unrecognized command line option '-Wno-implicit-fallthrough' [-Werror]
cc1plus: error: unrecognized command line option '-Wno-int-in-bool-context' [-Werror]
cc1plus: all warnings being treated as errors
Error on X86_64:
Error occurred during initialization of VM
Cannot dump shared archive when UseCompressedOops or UseCompressedClassPointers is off.
Another error on AArch64:
error: 'NativeInstruction' has not been declared
__ add(r20, r20, NativeInstruction::instruction_size);
^
At global scope:
cc1plus: error: unrecognized command line option '-Wno-cast-function-type' [-Werror]
cc1plus: error: unrecognized command line option '-Wno-misleading-indentation' [-Werror]
cc1plus: error: unrecognized command line option '-Wno-implicit-fallthrough' [-Werror]
cc1plus: error: unrecognized command line option '-Wno-int-in-bool-context' [-Werror]
cc1plus: all warnings being treated as errors
- duplicates
-
JDK-8220584 AARCH64 build error: missing nativeInst_aarch64.hpp #inlcude in sharedRuntime_aarch64.cpp
- Closed