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

configure should verify that system zlib contains needed functionality

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b35
    • CPU:
      sparc
    • OS:
      solaris

      Description

      I get the following error trying to build JDK 9 on Solaris Sparcv9:

      "/export/home/graal/slave/t72a1_2/slavewd/buildlog/ci_executor/main/hs/jdk/src/java.desktop/share/native/libsplashscreen/libpng/pngrutil.c", line 453: warning: implicitly declaring function to return int: inflateValidate() (E_IMPLICIT_DECL_FUNC_RETURN_INT)
      Undefined first referenced
       symbol in file
      inflateValidate /export/home/graal/slave/t72a1_2/slavewd/buildlog/ci_executor/main/hs/build/solaris-sparcv9-normal-server-release/support/native/java.desktop/libsplashscreen/pngrutil.o
      ld: fatal: symbol referencing errors
      gmake[3]: *** [/export/home/graal/slave/t72a1_2/slavewd/buildlog/ci_executor/main/hs/build/solaris-sparcv9-normal-server-release/support/modules_libs/java.desktop/libsplashscreen.so] Error 1
      gmake[3]: *** Waiting for unfinished jobs....
      gmake[2]: *** [java.desktop-libs] Error 1

      ERROR: Build failed for target 'images' in configuration 'solaris-sparcv9-normal-server-release' (exit code 2)

      === Output from failing command(s) repeated here ===
      * For target support_native_java.desktop_libsplashscreen_BUILD_LIBSPLASHSCREEN_link:
      Undefined first referenced
       symbol in file
      inflateValidate /export/home/graal/slave/t72a1_2/slavewd/buildlog/ci_executor/main/hs/build/solaris-sparcv9-normal-server-release/support/native/java.desktop/libsplashscreen/pngrutil.o
      ld: fatal: symbol referencing errors

      * All command lines available in /export/home/graal/slave/t72a1_2/slavewd/buildlog/ci_executor/main/hs/build/solaris-sparcv9-normal-server-release/make-support/failure-logs.
      === End of repeated output ===

      The configuration is:

      Configuration summary:
      * Debug level: release
      * HS debug level: product
      * JDK variant: normal
      * JVM variants: server
      * OpenJDK target: OS: solaris, CPU architecture: sparc, address length: 64
      * Version string: 9-labs+0-SNAPSHOT-20170223-220614 (9-labs)

      Tools summary:
      * Boot JDK: java version "1.8.0_111" Java(TM) SE Runtime Environment (build 1.8.0_111-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.71-b01-internal-jvmci-0.23, mixed mode) (at /export/home/graal/slave/t72a1_2/slavewd/downloads2/labsjdk-8u111-jvmci-0.23-solaris-sparcv9/labsjdk1.8.0_111-jvmci-0.23)
      * Toolchain: solstudio (Oracle Solaris Studio)
      * C Compiler: Version 5.13 (at /opt/solarisstudio12.4/bin/cc)
      * C++ Compiler: Version 5.13 (at /opt/solarisstudio12.4/bin/CC)

      Build performance summary:
      * Cores to use: 240
      * Memory limit: 491520 MB

        Attachments

          Activity

            People

            • Assignee:
              ihse Magnus Ihse Bursie
              Reporter:
              dnsimon Douglas Simon
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: