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

libQt6Gui.so does not link when -no-sse2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 6.0.0 Beta2
    • GUI: Painting
    • None
    • 4c36d64bb3a4425848de3f134a8caca3e8d20fe3 (qt/qtbase/dev)

    Description

      Configure line:

              ../configure -cmake -debug -xcb -no-warnings-are-errors -no-pch \
                  -no-sse2 -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-avx2 -no-avx512 \
                  -nomake tests -nomake examples -prefix ~/install_dir \
                  -- -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS='-stdlib=libc++'
      

      Error:

      /usr/bin/ld: src/gui/CMakeFiles/Gui.dir/painting/qdrawhelper.cpp.o: in function `qInitDrawhelperFunctions()':
      /home/codechecker/qt/qtbase/build/../src/gui/painting/qdrawhelper.cpp:5114: undefined reference to `comp_func_Plus_sse2(unsigned int*, unsigned int const*, int, unsigned int)'
      /usr/bin/ld: /home/codechecker/qt/qtbase/build/../src/gui/painting/qdrawhelper.cpp:5114: undefined reference to `comp_func_solid_Source_sse2(unsigned int*, int, unsigned int, unsigned int)'
      /usr/bin/ld: /home/codechecker/qt/qtbase/build/../src/gui/painting/qdrawhelper.cpp:5114: undefined reference to `comp_func_Source_sse2(unsigned int*, unsigned int const*, int, unsigned int)'
      /usr/bin/ld: /home/codechecker/qt/qtbase/build/../src/gui/painting/qdrawhelper.cpp:5114: undefined reference to `comp_func_solid_SourceOver_sse2(unsigned int*, int, unsigned int, unsigned int)'
      /usr/bin/ld: /home/codechecker/qt/qtbase/build/../src/gui/painting/qdrawhelper.cpp:5114: undefined reference to `comp_func_SourceOver_sse2(unsigned int*, unsigned int const*, int, unsigned int)'
      /usr/bin/ld: /home/codechecker/qt/qtbase/build/../src/gui/painting/qdrawhelper.cpp:5114: undefined reference to `qt_fetch_radial_gradient_sse2(unsigned int*, Operator const*, QSpanData const*, int, int, int)'
      /usr/bin/ld: /home/codechecker/qt/qtbase/build/../src/gui/painting/qdrawhelper.cpp:5114: undefined reference to `qt_blend_argb32_on_argb32_sse2(unsigned char*, int, unsigned char const*, int, int, int, int)'
      /usr/bin/ld: /home/codechecker/qt/qtbase/build/../src/gui/painting/qdrawhelper.cpp:5114: undefined reference to `qt_blend_rgb32_on_rgb32_sse2(unsigned char*, int, unsigned char const*, int, int, int, int)'
      /usr/bin/ld: /home/codechecker/qt/qtbase/build/../src/gui/painting/qdrawhelper.cpp:5114: undefined reference to `qt_scale_image_argb32_on_argb32_sse2(unsigned char*, int, unsigned char const*, int, int, QRectF const&, QRectF const&, QRect const&, int)'
      /usr/bin/ld: /home/codechecker/qt/qtbase/build/../src/gui/painting/qdrawhelper.cpp:5114: undefined reference to `qt_bitmapblit8888_sse2(QRasterBuffer*, int, int, QRgba64 const&, unsigned char const*, int, int, int)'
      /usr/bin/ld: /home/codechecker/qt/qtbase/build/../src/gui/painting/qdrawhelper.cpp:5114: undefined reference to `qt_bitmapblit16_sse2(QRasterBuffer*, int, int, QRgba64 const&, unsigned char const*, int, int, int)'
      /usr/bin/ld: /home/codechecker/qt/qtbase/build/../src/gui/painting/qdrawhelper.cpp:5114: undefined reference to `qt_bitmapblit32_sse2(QRasterBuffer*, int, int, QRgba64 const&, unsigned char const*, int, int, int)'
      /usr/bin/ld: /home/codechecker/qt/qtbase/build/../src/gui/painting/qdrawhelper.cpp:5114: undefined reference to `qt_memfill64_sse2(unsigned long long*, unsigned long long, long long)'
      /usr/bin/ld: /home/codechecker/qt/qtbase/build/../src/gui/painting/qdrawhelper.cpp:5114: undefined reference to `qt_memfill32_sse2(unsigned int*, unsigned int, long long)'
      

      Attachments

        For Gerrit Dashboard: QTBUG-88013
        # Subject Branch Project Status CR V

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            jimis Dimitrios Apostolou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes