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

Non-PCH build for aarch64 fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 11
    • hotspot
    • b10
    • aarch64

      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.

            ysatowse Yoshiki Sato (Inactive)
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: