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

[8u] JDK-8252395 breaks the build for --with-native-debug-symbols=internal

XMLWordPrintable

    • b01
    • linux

      JDK-8252395 has a condition in the make files to add the java.debuginfo file to the images based on ENABLE_DEBUG_SYMBOLS=true, which is the case for internal debug info symbols. Yet, that java.debuginfo file would not exist since no stripping is being done so the build fails.

      Example failure:
      /usr/bin/cp /disk/openjdk/upstream-sources/openjdk8u-dev/build/linux-x86_64-normal-server-release/jdk/objs/java_objs/java.debuginfo /disk/openjdk/upstream-sources/openjdk8u-dev/build/linux-x86_64-normal-server-release/jdk/bin/java.debuginfo
      /usr/bin/cp: cannot stat '/disk/openjdk/upstream-sources/openjdk8u-dev/build/linux-x86_64-normal-server-release/jdk/objs/java_objs/java.debuginfo': No such file or directory
      gmake[2]: *** [CompileLaunchers.gmk:247: /disk/openjdk/upstream-sources/openjdk8u-dev/build/linux-x86_64-normal-server-release/jdk/bin/java.debuginfo] Error 1
      gmake[2]: *** Waiting for unfinished jobs....
      gmake[2]: Leaving directory '/disk/openjdk/upstream-sources/openjdk8u-dev/jdk/make'
      gmake[1]: *** [BuildJdk.gmk:75: launchers-only] Error 2
      gmake[1]: Leaving directory '/disk/openjdk/upstream-sources/openjdk8u-dev/jdk/make'

            sgehwolf Severin Gehwolf
            sgehwolf Severin Gehwolf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: