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

hotspot with dtrace fails to build on Oracle Linux 7.3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 10
    • 9
    • infrastructure
    • None

      I can't build OpenJDK 9 nor 10 on Oracle Linux 7.3. It fails building hotspot with some DTRACE related error.

      My configure parameters are:

      bash configure --with-boot-jdk=/scratch/mtrudeau/java/jdk8_131 --disable-warnings-as-errors

      bash make


      I get the following error:

      /scratch/mtrudeau/WorkDir/OpenJDK/jdk10/hotspot/src/share/vm/compiler/compileBroker.cpp: In static member function 'static void CompileBroker::invoke_compiler_on_method(CompileTask*)':
      /scratch/mtrudeau/WorkDir/OpenJDK/jdk10/build/linux-x86_64-normal-server-release/hotspot/variant-server/gensrc/dtracefiles/hotspot.h:329:16: error: 'hotspot' was not declared in this scope
       DTRACE_PROBE8 (hotspot, method__compile__begin, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)

            Unassigned Unassigned
            mtrudeau Michel Trudeau
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: