maintainer-feedback requested: [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
Mon Jul 4 10:24:55 BST 2022


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-kde (Team)
<kde at FreeBSD.org> for maintainer-feedback:
Bug 265027: devel/qt5-core does not compile on Penryn (-march=native does not
support sse42) crc32 error
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265027



--- Description ---
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

make[1]: stopped in
/usr/obj/usr/ports/devel/qt5-core/work/kde-qtbase-5.15.5p165/src/corelib
1 error

make[1]: stopped in
/usr/obj/usr/ports/devel/qt5-core/work/kde-qtbase-5.15.5p165/src/corelib
*** Error code 2


More information about the kde-freebsd mailing list