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

Client build fails after JDK-8350209

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 25
    • hotspot
    • generic
    • linux

      Client build fails on both x86 and aarch64 in my test environment.

      1. client build

      How to reproduce it:

      configure --with-debug-level=release --with-jvm-variants=client

      Error message:

      === Output from failing command(s) repeated here ===
      * For target hotspot_variant-client_libjvm_objs_aotCodeCache.o:
      ~/jdk-src/src/hotspot/share/code/aotCodeCache.cpp: In member function ‘void AOTCodeAddressTable::init_extrs()’:
      ~/jdk-src/src/hotspot/share/code/aotCodeCache.cpp:1024:39: error: incomplete type ‘MacroAssembler’ used in nested name specifier
       1024 | SET_ADDRESS(_extrs, MacroAssembler::debug64);
            | ^~~~~~~
      ~/jdk-src/src/hotspot/share/code/aotCodeCache.cpp:991:47: note: in definition of macro ‘SET_ADDRESS’
        991 | type##_addr[type##_length++] = (address) (addr); \
            | ^~~~

      * All command lines available in /tmp/make-support/failure-logs.
      === End of repeated output ===

      2. client build without PCH

      How to reproduce it

      configure --with-debug-level=release --with-jvm-variants=client --disable-precompiled-headers

      Error message:

      === Output from failing command(s) repeated here ===
      * For target hotspot_variant-client_libjvm_objs_aotCodeCache.o:
      /tmp/jdk-src/src/hotspot/share/code/aotCodeCache.cpp: In function ‘void copy_bytes(const char*, address, uint)’:
      /tmp/jdk-src/src/hotspot/share/code/aotCodeCache.cpp:399:5: error: ‘Copy’ has not been declared
        399 | Copy::disjoint_words((HeapWord*)from,
            | ^~~~
      /tmp/jdk-src/src/hotspot/share/code/aotCodeCache.cpp:404:5: error: ‘Copy’ has not been declared
        404 | Copy::conjoint_jbytes(from, to, (size_t)size);
            | ^~~~
      /tmp/jdk-src/src/hotspot/share/code/aotCodeCache.cpp: In member function ‘void AOTCodeAddressTable::init_extrs()’:
      /tmp/jdk-src/src/hotspot/share/code/aotCodeCache.cpp:1024:39: error: incomplete type ‘MacroAssembler’ used in nested name specifier
       1024 | SET_ADDRESS(_extrs, MacroAssembler::debug64);
            | ^~~~~~~
      /tmp/jdk-src/src/hotspot/share/code/aotCodeCache.cpp:991:47: note: in definition of macro ‘SET_ADDRESS’
        991 | type##_addr[type##_length++] = (address) (addr); \
            | ^~~~

      * All command lines available in /tmp/build-release/make-support/failure-logs.
      === End of repeated output ===

            shade Aleksey Shipilev
            haosun Hao Sun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: