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

minimal build fails after JDK-8185525

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      jfr
    • Resolved In Build:
      b21

      Description

      $ make hotspot CONF=linux-x86_64-minimal-release
      Building target 'hotspot' in configuration 'linux-x86_64-minimal-release'
      /home/aoqi/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/tableStatistics.o: In function `TableRateStatistics::add()':
      /home/aoqi/jdk/src/hotspot/share/utilities/tableStatistics.cpp:41: undefined reference to `Jfr::is_recording()'
      /home/aoqi/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/tableStatistics.o: In function `TableRateStatistics::remove()':
      /home/aoqi/jdk/src/hotspot/share/utilities/tableStatistics.cpp:47: undefined reference to `Jfr::is_recording()'
      /home/aoqi/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/tableStatistics.o: In function `TableStatistics::TableStatistics(TableRateStatistics&, NumberSeq, unsigned long, unsigned long, unsigned long)':
      /home/aoqi/jdk/src/hotspot/share/utilities/tableStatistics.cpp:111: undefined reference to `Jfr::is_recording()'
      collect2: error: ld returned 1 exit status
      gmake[3]: *** [/home/aoqi/jdk/build/linux-x86_64-minimal-release/support/modules_libs/java.base/minimal/libjvm.so] Error 1
      gmake[3]: *** Waiting for unfinished jobs....
      /home/aoqi/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/tableStatistics.o: In function `TableRateStatistics::add()':
      /home/aoqi/jdk/src/hotspot/share/utilities/tableStatistics.cpp:41: undefined reference to `Jfr::is_recording()'
      /home/aoqi/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/tableStatistics.o: In function `TableRateStatistics::remove()':
      /home/aoqi/jdk/src/hotspot/share/utilities/tableStatistics.cpp:47: undefined reference to `Jfr::is_recording()'
      /home/aoqi/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/tableStatistics.o: In function `TableStatistics::TableStatistics(TableRateStatistics&, NumberSeq, unsigned long, unsigned long, unsigned long)':
      /home/aoqi/jdk/src/hotspot/share/utilities/tableStatistics.cpp:111: undefined reference to `Jfr::is_recording()'
      collect2: error: ld returned 1 exit status
      gmake[3]: *** [/home/aoqi/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/gtest/libjvm.so] Error 1
      gmake[2]: *** [hotspot-minimal-libs] Error 1

      ERROR: Build failed for target 'hotspot' in configuration 'linux-x86_64-minimal-release' (exit code 2)

      === Output from failing command(s) repeated here ===
      * For target hotspot_variant-minimal_libjvm_gtest_objs_BUILD_GTEST_LIBJVM_link:
      /home/aoqi/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/tableStatistics.o: In function `TableRateStatistics::add()':
      /home/aoqi/jdk/src/hotspot/share/utilities/tableStatistics.cpp:41: undefined reference to `Jfr::is_recording()'
      /home/aoqi/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/tableStatistics.o: In function `TableRateStatistics::remove()':
      /home/aoqi/jdk/src/hotspot/share/utilities/tableStatistics.cpp:47: undefined reference to `Jfr::is_recording()'
      /home/aoqi/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/tableStatistics.o: In function `TableStatistics::TableStatistics(TableRateStatistics&, NumberSeq, unsigned long, unsigned long, unsigned long)':
      /home/aoqi/jdk/src/hotspot/share/utilities/tableStatistics.cpp:111: undefined reference to `Jfr::is_recording()'
      collect2: error: ld returned 1 exit status
      * For target hotspot_variant-minimal_libjvm_objs_BUILD_LIBJVM_link:
      /home/aoqi/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/tableStatistics.o: In function `TableRateStatistics::add()':
      /home/aoqi/jdk/src/hotspot/share/utilities/tableStatistics.cpp:41: undefined reference to `Jfr::is_recording()'
      /home/aoqi/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/tableStatistics.o: In function `TableRateStatistics::remove()':
      /home/aoqi/jdk/src/hotspot/share/utilities/tableStatistics.cpp:47: undefined reference to `Jfr::is_recording()'
      /home/aoqi/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/tableStatistics.o: In function `TableStatistics::TableStatistics(TableRateStatistics&, NumberSeq, unsigned long, unsigned long, unsigned long)':
      /home/aoqi/jdk/src/hotspot/share/utilities/tableStatistics.cpp:111: undefined reference to `Jfr::is_recording()'
      collect2: error: ld returned 1 exit status

      * All command lines available in /home/aoqi/jdk/build/linux-x86_64-minimal-release/make-support/failure-logs.
      === End of repeated output ===

      No indication of failed target found.
      Hint: Try searching the build log for '] Error'.
      Hint: See doc/building.html#troubleshooting for assistance.

      make[1]: *** [main] Error 1
      make: *** [hotspot] Error 2

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aoqi Qi Ao
                Reporter:
                aoqi Qi Ao
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: