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

libsplashscreen linux ppc64le build error after libpng update

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 10, 11
    • Fix Version/s: 10
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
      2d
    • Resolved In Build:
      b41
    • CPU:
      ppc
    • OS:
      linux

      Backports

        Description

        On linux ppc64le we currently run into a link error in libsplashscreen :

        /open_jdk/jdk_2_build/linuxppc64le/support/native/java.desktop/libsplashscreen/pngrutil.o: In function `png_init_filter_functions':
        /open_jdk/jdk_2/jdk/src/java.desktop/share/native/libsplashscreen/libpng/pngrutil.c:4134: undefined reference to png_init_filter_functions_vsx'

        The issue has been observed on a SLES12 SP1 ppc64le build machine with "gcc version 4.8.5 (SUSE Linux)" .

        It seems the issue is related to 8183960: Upgrade to libpng 1.6.34 .
        The update enabled png_init_filter_functions_vsx which is not in the coding.

        So the suggestion is to change the enabling of png vsx usage in jdk/src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h .

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mbaesken Matthias Baesken
                  Reporter:
                  mbaesken Matthias Baesken
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: