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

Build failures after JDK-8219971 (Introduce SetupExecute in build system)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • None
    • infrastructure
    • None

      It seems JDK-8219971 is breaking the build for me.

      $ CONF=linux-x86_64-server-fastdebug make reconfigure clean

      Configuration summary:
      * Debug level: fastdebug
      * HS debug level: fastdebug
      * JVM variants: server
      * JVM features: server: 'aot cds cmsgc compiler1 compiler2 dtrace epsilongc g1gc graal jfr jni-check jvmci jvmti management nmt parallelgc serialgc services shenandoahgc vm-structs zgc'
      * OpenJDK target: OS: linux, CPU architecture: x86, address length: 64
      * Version string: 13-internal+0-adhoc.shade.jdk-jdk (13-internal)

      Tools summary:
      * Boot JDK: openjdk version "11.0.2-testing" 2018-10-16 OpenJDK Runtime Environment (build 11.0.2-testing+0-builds.shipilev.net-openjdk-jdk11-b35-20190116-jdk-11.0.27jdk-11.0.2-ga) OpenJDK 64-Bit Server VM (build 11.0.2-testing+0-builds.shipilev.net-openjdk-jdk11-b35-20190116-jdk-11.0.27jdk-11.0.2-ga, mixed mode) (at /home/shade/Install/jdk11.0.2)
      * Toolchain: gcc (GNU Compiler Collection)
      * C Compiler: Version 7.3.0 (at /usr/bin/gcc)
      * C++ Compiler: Version 7.3.0 (at /usr/bin/g++)

      Build performance summary:
      * Cores to use: 16
      * Memory limit: 128617 MB


      $ CONF=linux-x86_64-server-fastdebug make images
      Building target 'images' in configuration 'linux-x86_64-server-fastdebug'
      Compiling 8 files for BUILD_TOOLS_LANGTOOLS
      Creating hotspot/variant-server/tools/adlc/adlc from 13 file(s)
      Compiling 2 files for BUILD_JVMTI_TOOLS
      Parsing 2 properties into enum-like class for jdk.compiler
      Compiling 7 properties into resource bundles for jdk.jshell
      Compiling 10 properties into resource bundles for jdk.javadoc
      Compiling 19 properties into resource bundles for jdk.compiler
      Compiling 12 properties into resource bundles for jdk.jdeps
      Compiling 117 files for BUILD_java.compiler.interim
      Compiling 396 files for BUILD_jdk.compiler.interim
      Creating support/modules_libs/java.base/server/libjvm.so from 992 file(s)
      Creating hotspot/variant-server/libjvm/gtest/libjvm.so from 118 file(s)
      Creating hotspot/variant-server/libjvm/gtest/gtestLauncher from 1 file(s)
      In file included from /home/shade/trunks/jdk-jdk/src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.hpp:29:0,
                       from /home/shade/trunks/jdk-jdk/src/hotspot/share/jfr/support/jfrTraceIdExtension.hpp:28,
                       from /home/shade/trunks/jdk-jdk/src/hotspot/share/classfile/classLoaderData.hpp:37,
                       from /home/shade/trunks/jdk-jdk/src/hotspot/share/precompiled/precompiled.hpp:34:
      /home/shade/trunks/jdk-jdk/src/hotspot/share/jfr/utilities/jfrTypes.hpp:28:10: fatal error: jfrfiles/jfrEventIds.hpp: No such file or directory
       #include "jfrfiles/jfrEventIds.hpp"
                ^~~~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      In file included from /home/shade/trunks/jdk-jdk/src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.hpp:29:0,
                       from /home/shade/trunks/jdk-jdk/src/hotspot/share/jfr/support/jfrTraceIdExtension.hpp:28,
                       from /home/shade/trunks/jdk-jdk/src/hotspot/share/classfile/classLoaderData.hpp:37,
                       from /home/shade/trunks/jdk-jdk/src/hotspot/share/precompiled/precompiled.hpp:34:
      /home/shade/trunks/jdk-jdk/src/hotspot/share/jfr/utilities/jfrTypes.hpp:28:10: fatal error: jfrfiles/jfrEventIds.hpp: No such file or directory
       #include "jfrfiles/jfrEventIds.hpp"
                ^~~~~~~~~~~~~~~~~~~~~~~~~~


      $ find | grep jfrfiles
      <none!>

      Reverting before JDK-8219971:

      $ hg up -C -r 77343f5c85cb

      changeset: 53994:77343f5c85cb
      user: dholmes
      date: Mon Mar 04 19:38:50 2019 -0500
      summary: 8219974: REDO JDK-8219492: Restore static callsite resolution for the current class

      ...builds fine, and these files get generated fine:

      $ find | grep jfrfiles
      ./build/linux-x86_64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles
      ./build/linux-x86_64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventControl.hpp
      ./build/linux-x86_64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrPeriodic.hpp
      ./build/linux-x86_64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp
      ./build/linux-x86_64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp.log
      ./build/linux-x86_64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventIds.hpp
      ./build/linux-x86_64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrEventClasses.hpp.cmdline
      ./build/linux-x86_64-server-fastdebug/hotspot/variant-server/gensrc/jfrfiles/jfrTypes.hpp

            ihse Magnus Ihse Bursie
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: