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

undefined reference to `qt_memfill32' and `qt_memfill64'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.6
    • None
    • Linux/X11

    Description

      Debian 11 32bit, latest qtbase dev, 3790821b220ff6ab3c51a5c0b35581c00bc4e84d .

      $ uname -a             
      Linux debian11-32b 5.10.0-20-686-pae #1 SMP Debian 5.10.158-2 (2022-12-13) i686 GNU/Linux
      $ g++ --version      
      g++ (Debian 10.2.1-6) 10.2.1 20210110
      Copyright (C) 2020 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions.  There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      
      $ cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DQT_BUILD_EXAMPLES=OFF -DFEATURE_developer_build=ON -DWARNINGS_ARE_ERRORS=OFF -DQT_BUILD_TESTS=OFF -DQT_BUILD_EXAMPLES=OFF -DCMAKE_AUTOGEN_VERBOSE=OFF ~/qt/qtbase
      
      $ cmake --build . --parallel -j1
      ...
      /usr/bin/ld: src/gui/CMakeFiles/Gui.dir/painting/qdrawhelper_sse2.cpp.o: in function `comp_func_solid_Source_sse2(unsigned int*, int, unsigned int, unsigned int)':
      /home/liangqi/qt/qtbase/src/gui/painting/qdrawhelper_sse2.cpp:289: undefined reference to `qt_memfill32'
      /usr/bin/ld: src/gui/CMakeFiles/Gui.dir/painting/qdrawhelper_sse2.cpp.o: in function `comp_func_solid_SourceOver_sse2(unsigned int*, int, unsigned int, unsigned int)':
      /home/liangqi/qt/qtbase/src/gui/painting/qdrawhelper_sse2.cpp:318: undefined reference to `qt_memfill32'
      /usr/bin/ld: src/gui/CMakeFiles/Gui.dir/painting/qdrawhelper_sse2.cpp.o: in function `QRadialFetchSimd<QSimdSse2>::memfill(unsigned int*, unsigned int, int)':
      /home/liangqi/qt/qtbase-build/include/QtGui/6.6.0/QtGui/private/../../../../../../qtbase/src/gui/painting/qdrawhelper_p.h:493: undefined reference to `qt_memfill32'
      /usr/bin/ld: src/gui/CMakeFiles/Gui.dir/painting/qdrawhelper_avx2.cpp.o: in function `comp_func_solid_SourceOver_avx2(unsigned int*, int, unsigned int, unsigned int)':
      /home/liangqi/qt/qtbase/src/gui/painting/qdrawhelper_avx2.cpp:561: undefined reference to `qt_memfill32'
      /usr/bin/ld: src/gui/CMakeFiles/Gui.dir/painting/qdrawhelper_avx2.cpp.o: in function `comp_func_solid_SourceOver_rgb64_avx2(QRgba64*, int, QRgba64, unsigned int)':
      /home/liangqi/qt/qtbase/src/gui/painting/qdrawhelper_avx2.cpp:594: undefined reference to `qt_memfill64'
      ...
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              vgt Eirik Aavitsland
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes