Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8234791

Fix Client VM build for x86_64 and AArch64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • 12, 13, 14
    • hotspot
    • 12
    • b26
    • generic
    • linux

      "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

            pli Pengfei Li
            pli Pengfei Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: