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

Build failed wilth configure option --disable-debuginfo-files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 8-pool
    • infrastructure
    • generic
    • linux

      I tried to build JDK8 with configure option: "--disable-debuginfo-files", however I got error mesasges as following:

      -----------------
      ## Starting hotspot
      Generating source files
      Building adlc
      Building libjvm.so
      Building libjsig.so
      Building libsaproc.so
      gmake[2]: *** No rule to make target `/usr/src/OpenJDK/jdk8/build/linux-x86_64-normal-server-release/hotspot/libjvm/libjvm.diz', needed by `/usr/src/OpenJDK/jdk8/build/linux-x86_64-normal-server-release/hotspot/dist/jre/lib/amd64/server/libjvm.diz'. Stop.
      gmake[2]: *** Waiting for unfinished jobs....
      Copying files to dist directory
      gmake[1]: *** [dist-only] Error 2
      make: *** [hotspot-only] Error 2
      -----------------

      I guess this error is caused by:
        Various improvements. Add dist implementation.
        http://hg.openjdk.java.net/build-infra/jdk8/hotspot/rev/5dadd2bb22c0

      If we give --disable-zip-debuginfo-files to configure, Makefile and related files should regard it.

      I've made patche which is attached in this case, it works fine.

            Unassigned Unassigned
            ysuenaga Yasumasa Suenaga
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: