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

Minimal build on AArch64 failed with --disable-precompiled-headers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 16
    • 16
    • hotspot
    • None
    • b28
    • aarch64
    • generic

    Description

      using configure arguments '--with-boot-jdk=/usr/lib/jvm/jdk15 --disable-precompiled-headers --with-debug-level=release --with-version-opt=git-f83fd4acb --with-jvm-variants=minimal --with-gtest=/mnt/share/openjdk/tools/googletest'.Configuration summary:
      * Name: /home/ent-user/ci-scripts/build-release
      * Debug level: release
      * HS debug level: product
      * JVM variants: minimal
      * JVM features: minimal: 'compiler1 minimal opt-size serialgc'
      * OpenJDK target: OS: linux, CPU architecture: aarch64, address length: 64
      * Version string: 16-internal+0-git-f83fd4acb (16-internal)Tools summary:
      * Boot JDK: openjdk version "15-internal" 2020-09-15 OpenJDK Runtime Environment (build 15-internal+0-git-5d634bfc1) OpenJDK 64-Bit Server VM (build 15-internal+0-git-5d634bfc1, mixed mode, sharing) (at /usr/lib/jvm/jdk15)
      * Toolchain: gcc (GNU Compiler Collection)
      * C Compiler: Version 10.2.0 (at /usr/bin/gcc)
      * C++ Compiler: Version 10.2.0 (at /usr/bin/g++)Build performance summary:
      * Cores to use: 46
      * Memory limit: 94458 MBThe following warnings were produced. Repeated here for convenience:
      WARNING: Ignoring jtreg from path since a valid jtreg home cannot be found[12-04 03:46:40 UTC]ent-arm-10-ubuntu-openjdk-build:DBG: Running : make images JOBS=45
      Building target 'images' in configuration '/home/ent-user/ci-scripts/build-release'
      Compiling 8 files for BUILD_TOOLS_LANGTOOLS
      Parsing 2 properties into enum-like class for jdk.compiler
      Compiling 7 properties into resource bundles for jdk.jshell
      Compiling 12 properties into resource bundles for jdk.jdeps
      Compiling 13 properties into resource bundles for jdk.javadoc
      Compiling 16 properties into resource bundles for jdk.compiler
      Compiling 127 files for BUILD_java.compiler.interim
      Compiling 399 files for BUILD_jdk.compiler.interim
      Compiling 225 files for BUILD_jdk.javadoc.interim
      Compiling 1 files for BUILD_TOOLS_HOTSPOT
      Compiling 31 files for BUILD_JRTFS
      Compiling 186 files for BUILD_TOOLS_JDK
      Compiling 2 files for COMPILE_DEPEND
      Compiling 2 files for BUILD_JVMTI_TOOLS
      Creating support/modules_libs/java.base/jrt-fs.jar
      Creating support/modules_libs/java.base/minimal/libjvm.so from 539 file(s)
      Creating hotspot/variant-minimal/libjvm/libgtest/libgtest.a from 2 file(s)
      Creating hotspot/variant-minimal/libjvm/gtest/libjvm.so from 129 file(s)
      Creating hotspot/variant-minimal/libjvm/gtest/gtestLauncher from 1 file(s)
      Compiling 2 files for BUILD_BREAKITERATOR_BASE
      Compiling 2 files for BUILD_BREAKITERATOR_LD
      Compiling 11 properties into resource bundles for java.logging
      Compiling 11 properties into resource bundles for java.base
      Compiling 11 properties into resource bundles for jdk.jartool
      Compiling 71 files for COMPILE_CREATE_SYMBOLS
      Compiling 11 properties into resource bundles for jdk.management.agent
      Compiling 5 properties into resource bundles for jdk.jlink
      Compiling 3 properties into resource bundles for jdk.jlink
      Compiling 3 properties into resource bundles for jdk.jdi
      Compiling 1 properties into resource bundles for jdk.jlink
      Compiling 6 properties into resource bundles for java.base
      Compiling 224 properties into resource bundles for jdk.localedata
      Compiling 71 files for COMPILE_CREATE_SYMBOLS
      Creating javadoc element list
      Creating ct.sym classes
      Compiling 3055 files for java.base
      Compiling 89 properties into resource bundles for java.desktop
      /home/ent-user/ci-scripts/jdk_src/src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp: In member function 'u_char* TemplateInterpreterGenerator::generate_Reference_get_entry()':
      /home/ent-user/ci-scripts/jdk_src/src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp:942:31: error: 'java_lang_ref_Reference' has not been declared
        942 | const int referent_offset = java_lang_ref_Reference::referent_offset();
            | ^~~~~~~~~~~~~~~~~~~~~~~
      make[3]: *** [lib/CompileJvm.gmk:143: /home/ent-user/ci-scripts/build-release/hotspot/variant-minimal/libjvm/objs/templateInterpreterGenerator_aarch64.o] Error 1
      make[3]: *** Waiting for unfinished jobs....
      make[2]: *** [make/Main.gmk:252: hotspot-minimal-libs] Error 2
      make[2]: *** Waiting for unfinished jobs....ERROR: Build failed for target 'images' in configuration '/home/ent-user/ci-scripts/build-release' (exit code 2)
      Stopping sjavac server=== Output from failing command(s) repeated here ===
      * For target hotspot_variant-minimal_libjvm_objs_templateInterpreterGenerator_aarch64.o:
      /home/ent-user/ci-scripts/jdk_src/src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp: In member function 'u_char* TemplateInterpreterGenerator::generate_Reference_get_entry()':
      /home/ent-user/ci-scripts/jdk_src/src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp:942:31: error: 'java_lang_ref_Reference' has not been declared
        942 | const int referent_offset = java_lang_ref_Reference::referent_offset();
            | ^~~~~~~~~~~~~~~~~~~~~~~* All command lines available in /home/ent-user/ci-scripts/build-release/make-support/failure-logs.
      === End of repeated output ===No indication of failed target found.

      Attachments

        Issue Links

          Activity

            People

              eliu Eric Liu
              eliu Eric Liu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: