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

JDK-8217786 breaks build due to remaining unused function

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b06
    • Verification:
      Verified

      Backports

        Description

        Compiling the repo after JDK-8217786 gives the following error:

        .../vmshare/jdk10/hs/open/src/hotspot/os/linux/os_linux.cpp:1860:13: error: 'bool print_matching_lines_from_sysinfo_file(outputStream*, const char**)' defined but not used [-Werror=unused-function]
         static bool print_matching_lines_from_sysinfo_file(outputStream* st, const char* keywords_to_match[]) {
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Compiling 305 files for jdk.javadoc
        cc1plus: all warnings being treated as errors
        make[3]: *** [[...]variant-server/libjvm/objs/os_linux.o] Error 1
        lib/CompileJvm.gmk:172: recipe for target '[...]/linux-x64/hotspot/variant-server/libjvm/objs/os_linux.o' failed

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tschatzl Thomas Schatzl
                  Reporter:
                  tschatzl Thomas Schatzl
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: