[Bug 265027] devel/qt5-core does not compile on Penryn (-march=native does not support sse42) crc32 error

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 18 01:05:54 BST 2022


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265027

--- Comment #7 from jakub_lach at mailplus.pl ---
(In reply to Adriaan de Groot from comment #6)

--- .obj/qline.o ---
c++ -c -O2 -pipe -march=native -fstack-protector-strong -fno-strict-aliasing
-O3 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra
-Wdate-time -Winconsistent-missing-override -pthread -fPIC -DQT_NO_LINKED_LIST
-DQT_NO_JAVA_STYLE_ITERATORS -DQT_GLIB -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
-DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I. -Iglobal
-I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3
-I../3rdparty/harfbuzz/src -I../3rdparty/forkfd -I../3rdparty/tinycbor/src
-I.rcc -I../../include -I../../include/QtCore -I../../include/QtCore/5.15.5
-I../../include/QtCore/5.15.5/QtCore -I.moc -I.tracegen
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/qline.o
tools/qline.cpp
--- .obj/qhash.o ---
tools/qhash.cpp:112:14: error: always_inline function '_mm_crc32_u64' requires
target feature 'crc32', but would be inlined into function 'crc32' that is
compiled without support for 'crc32'
        h2 = _mm_crc32_u64(h2, qFromUnaligned<qlonglong>(p - 8));
             ^
tools/qhash.cpp:118:13: error: always_inline function '_mm_crc32_u32' requires
target feature 'crc32', but would be inlined into function 'crc32' that is
compiled without support for 'crc32'
        h = _mm_crc32_u32(h, qFromUnaligned<uint>(p));
            ^
tools/qhash.cpp:129:13: error: always_inline function '_mm_crc32_u16' requires
target feature 'crc32', but would be inlined into function 'crc32' that is
compiled without support for 'crc32'
        h = _mm_crc32_u16(h, qFromUnaligned<ushort>(p));
            ^
tools/qhash.cpp:133:13: error: always_inline function '_mm_crc32_u8' requires
target feature 'crc32', but would be inlined into function 'crc32' that is
compiled without support for 'crc32'
        h = _mm_crc32_u8(h, *p);
            ^
tools/qhash.cpp:112:14: error: always_inline function '_mm_crc32_u64' requires
target feature 'crc32', but would be inlined into function 'crc32' that is
compiled without support for 'crc32'
        h2 = _mm_crc32_u64(h2, qFromUnaligned<qlonglong>(p - 8));
             ^
tools/qhash.cpp:118:13: error: always_inline function '_mm_crc32_u32' requires
target feature 'crc32', but would be inlined into function 'crc32' that is
compiled without support for 'crc32'
        h = _mm_crc32_u32(h, qFromUnaligned<uint>(p));
            ^
tools/qhash.cpp:129:13: error: always_inline function '_mm_crc32_u16' requires
target feature 'crc32', but would be inlined into function 'crc32' that is
compiled without support for 'crc32'
        h = _mm_crc32_u16(h, qFromUnaligned<ushort>(p));
            ^
7 errors generated.
*** [.obj/qhash.o] Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list