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

libQtGui fails linking libqtpng on Power8+ and Power9

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.0 Beta 4
    • 5.10.1
    • Image formats
    • None
    • 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
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            ronnybrendel ronny brendel
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes