[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


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

            Bug ID: 265027
           Summary: devel/qt5-core does not compile on Penryn
                    (-march=native does not support sse42) crc32 error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: jakub_lach at mailplus.pl
          Assignee: kde at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)

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

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


More information about the kde-freebsd mailing list