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

libsplashscreen linux ppc64le build error after libpng update

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 10
    • 10, 11
    • client-libs
    • None
    • 2d
    • b41
    • ppc
    • linux

        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 .

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

                Created:
                Updated:
                Resolved: