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

Non-PCH build for aarch64 fails

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b10
    • CPU:
      aarch64

      Description

      Current jdk/hs fails the --disable-precompiled-headers build like this:

      * For target hotspot_variant-server_libjvm_objs_ad_aarch64.o:
      In file included from ad_aarch64.cpp:30:0:
      /home/shade/jdk-hs/src/hotspot/cpu/aarch64/aarch64.ad: In static member function 'static uint HandlerImpl::size_exception_handler()':
      /home/shade/jdk-hs/src/hotspot/cpu/aarch64/aarch64.ad:1028:12: error: incomplete type 'MacroAssembler' used in nested name specifier
           return MacroAssembler::far_branch_size();
                  ^~~~~~~~~~~~~~
      * For target hotspot_variant-server_libjvm_objs_ad_aarch64_clone.o:
      In file included from ad_aarch64_clone.cpp:29:0:
      /home/shade/jdk-hs/src/hotspot/cpu/aarch64/aarch64.ad: In static member function 'static uint HandlerImpl::size_exception_handler()':
      /home/shade/jdk-hs/src/hotspot/cpu/aarch64/aarch64.ad:1028:12: error: incomplete type 'MacroAssembler' used in nested name specifier
           return MacroAssembler::far_branch_size();
                  ^~~~~~~~~~~~~~
      * For target hotspot_variant-server_libjvm_objs_ad_aarch64_expand.o:
      In file included from ad_aarch64_expand.cpp:29:0:
      /home/shade/jdk-hs/src/hotspot/cpu/aarch64/aarch64.ad: In static member function 'static uint HandlerImpl::size_exception_handler()':
      /home/shade/jdk-hs/src/hotspot/cpu/aarch64/aarch64.ad:1028:12: error: incomplete type 'MacroAssembler' used in nested name specifier
           return MacroAssembler::far_branch_size();
                  ^~~~~~~~~~~~~~
      * For target hotspot_variant-server_libjvm_objs_ad_aarch64_format.o:
      In file included from ad_aarch64_format.cpp:29:0:
      /home/shade/jdk-hs/src/hotspot/cpu/aarch64/aarch64.ad: In static member function 'static uint HandlerImpl::size_exception_handler()':
      /home/shade/jdk-hs/src/hotspot/cpu/aarch64/aarch64.ad:1028:12: error: incomplete type 'MacroAssembler' used in nested name specifier
           return MacroAssembler::far_branch_size();
                  ^~~~~~~~~~~~~~
      * For target hotspot_variant-server_libjvm_objs_ad_aarch64_gen.o:
      In file included from ad_aarch64_gen.cpp:29:0:
      /home/shade/jdk-hs/src/hotspot/cpu/aarch64/aarch64.ad: In static member function 'static uint HandlerImpl::size_exception_handler()':
      /home/shade/jdk-hs/src/hotspot/cpu/aarch64/aarch64.ad:1028:12: error: incomplete type 'MacroAssembler' used in nested name specifier
           return MacroAssembler::far_branch_size();
                  ^~~~~~~~~~~~~~
      * For target hotspot_variant-server_libjvm_objs_ad_aarch64_misc.o:
      In file included from ad_aarch64_misc.cpp:29:0:
      /home/shade/jdk-hs/src/hotspot/cpu/aarch64/aarch64.ad: In static member function 'static uint HandlerImpl::size_exception_handler()':
      /home/shade/jdk-hs/src/hotspot/cpu/aarch64/aarch64.ad:1028:12: error: incomplete type 'MacroAssembler' used in nested name specifier
           return MacroAssembler::far_branch_size();
                  ^~~~~~~~~~~~~~
      * For target hotspot_variant-server_libjvm_objs_ad_aarch64_peephole.o:
      In file included from ad_aarch64_peephole.cpp:29:0:
      /home/shade/jdk-hs/src/hotspot/cpu/aarch64/aarch64.ad: In static member function 'static uint HandlerImpl::size_exception_handler()':
      /home/shade/jdk-hs/src/hotspot/cpu/aarch64/aarch64.ad:1028:12: error: incomplete type 'MacroAssembler' used in nested name specifier
           return MacroAssembler::far_branch_size();
                  ^~~~~~~~~~~~~~
      * For target hotspot_variant-server_libjvm_objs_ad_aarch64_pipeline.o:
      In file included from ad_aarch64_pipeline.cpp:29:0:
      /home/shade/jdk-hs/src/hotspot/cpu/aarch64/aarch64.ad: In static member function 'static uint HandlerImpl::size_exception_handler()':
      /home/shade/jdk-hs/src/hotspot/cpu/aarch64/aarch64.ad:1028:12: error: incomplete type 'MacroAssembler' used in nested name specifier
           return MacroAssembler::far_branch_size();
                  ^~~~~~~~~~~~~~

      Relates to JDK-8199809, because that seems to be the first changeset where it starts to fail with this kind of error. Although, there are multiple other non-PCH issues even before that change.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ysatowse Yoshiki Sato
                Reporter:
                shade Aleksey Shipilev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: