Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-66388

libQtGui fails linking libqtpng on Power8+ and Power9

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.10.1
    • Fix Version/s: 5.12.0 Beta 4
    • Component/s: Image formats
    • Labels:
      None
    • Environment:
    • Commits:
      dc2aead842f4cdf74f9259d3606c53c8bdae2c6b (qt/qtbase/5.12)

      Description

      I cannot link libQtGui as it complains that libqtpng has an undefined reference to png_init_filter_functions_vsx.

      Commenting out qtbase/src/3rdparty/libpng/pngpriv.h:266 (just this one line) works around the issue.

      Here is the short-form of the output. I attached the full logs:
      configure -prefix /sw/summitdev/qt/5.10.1/rhel7.3_gnu4.8.5 -no-opengl -no-compile-examples
      ...
      make -j4
      ...
      g++ ... -o libQt5Gui.so... -lQt5Core -lpthread -lqtlibpng -lqtharfbuzz -lz
      ~/brendel/qt-everywhere-src-5.10.1-unmodified/BUILD/qtbase/lib/libqtlibpng.a(pngrutil.o): In function `png_read_filter_row':
      pngrutil.c: (.text+0x5e44): undefined reference to `png_init_filter_functions_vsx'
      /usr/bin/ld: link errors found, deleting executable `libQt5Gui.so.5.10.1'

      Thank you in advance!

       

        Attachments

        1. configure.txt
          15 kB
        2. make.txt
          2.05 MB
        For Gerrit Dashboard: QTBUG-66388
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              allan.jensen Allan Sandfeld Jensen
              Reporter:
              ronnybrendel ronny brendel
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes