maintainer-feedback requested: [Bug 284354] multimedia/qt5-multimedia: build error: 'qt_convert_BGRA32_to_ARGB32_avx2' that is compiled without support for 'avx'
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 26 00:06:13 GMT 2025
Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-kde (group)
<kde at FreeBSD.org> for maintainer-feedback:
Bug 284354: multimedia/qt5-multimedia: build error:
'qt_convert_BGRA32_to_ARGB32_avx2' that is compiled without support for 'avx'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284354
--- Description ---
OS: 14.2-STABLE
qt5-multimedia-5.15.16p2_1
What could cause this issue?
--- .obj/qvideoframeconversionhelper_avx2.o ---
video/qvideoframeconversionhelper_avx2.cpp:52:33: error: always_inline function
'_mm256_set_epi8' requires target feature 'avx', but would be inlined into
function 'qt_convert_BGRA32_to_ARGB32_avx2' that is compiled without support
for 'avx'
52 | const __m256i shuffleMask = _mm256_set_epi8(12, 13, 14, 15, 8, 9,
10, 11, 4, 5, 6, 7, 0, 1, 2, 3,
| ^
video/qvideoframeconversionhelper_avx2.cpp:52:33: error: AVX vector return of
type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes
the ABI
video/qvideoframeconversionhelper_avx2.cpp:66:33: error: always_inline function
'_mm256_loadu_si256' requires target feature 'avx', but would be inlined into
function 'qt_convert_BGRA32_to_ARGB32_avx2' that is compiled without support
for 'avx'
66 | __m256i pixelData =
_mm256_loadu_si256(reinterpret_cast<const __m256i*>(bgra));
| ^
video/qvideoframeconversionhelper_avx2.cpp:66:33: error: AVX vector return of
type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes
the ABI
video/qvideoframeconversionhelper_avx2.cpp:67:34: error: always_inline function
'_mm256_loadu_si256' requires target feature 'avx', but would be inlined into
function 'qt_convert_BGRA32_to_ARGB32_avx2' that is compiled without support
for 'avx'
67 | __m256i pixelData2 =
_mm256_loadu_si256(reinterpret_cast<const __m256i*>(bgra + 8));
| ^
video/qvideoframeconversionhelper_avx2.cpp:67:34: error: AVX vector return of
type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes
the ABI
video/qvideoframeconversionhelper_avx2.cpp:69:25: error: always_inline function
'_mm256_shuffle_epi8' requires target feature 'avx2', but would be inlined into
function 'qt_convert_BGRA32_to_ARGB32_avx2' that is compiled without support
for 'avx2'
69 | pixelData = _mm256_shuffle_epi8(pixelData, shuffleMask);
| ^
video/qvideoframeconversionhelper_avx2.cpp:69:25: error: AVX vector argument of
type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes
the ABI
video/qvideoframeconversionhelper_avx2.cpp:70:26: error: always_inline function
'_mm256_shuffle_epi8' requires target feature 'avx2', but would be inlined into
function 'qt_convert_BGRA32_to_ARGB32_avx2' that is compiled without support
for 'avx2'
70 | pixelData2 = _mm256_shuffle_epi8(pixelData2, shuffleMask);
| ^
video/qvideoframeconversionhelper_avx2.cpp:70:26: error: AVX vector argument of
type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes
the ABI
video/qvideoframeconversionhelper_avx2.cpp:71:13: error: always_inline function
'_mm256_store_si256' requires target feature 'avx', but would be inlined into
function 'qt_convert_BGRA32_to_ARGB32_avx2' that is compiled without support
for 'avx'
71 | _mm256_store_si256(reinterpret_cast<__m256i*>(argb),
pixelData);
| ^
video/qvideoframeconversionhelper_avx2.cpp:71:13: error: AVX vector argument of
type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes
the ABI
video/qvideoframeconversionhelper_avx2.cpp:72:13: error: always_inline function
'_mm256_store_si256' requires target feature 'avx', but would be inlined into
function 'qt_convert_BGRA32_to_ARGB32_avx2' that is compiled without support
for 'avx'
72 | _mm256_store_si256(reinterpret_cast<__m256i*>(argb + 8),
pixelData2);
| ^
video/qvideoframeconversionhelper_avx2.cpp:72:13: error: AVX vector argument of
type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes
the ABI
14 errors generated.
*** [.obj/qvideoframeconversionhelper_avx2.o] Error code 1
make[2]: stopped in
/wrkdirs/usr/ports/multimedia/qt5-multimedia/work/kde-qtmultimedia-5.15.16p2/sr
c/multimedia
--- .obj/qvideoframeconversionhelper_ssse3.o ---
video/qvideoframeconversionhelper_ssse3.cpp:68:25: error: always_inline
function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be
inlined into function 'qt_convert_BGRA32_to_ARGB32_ssse3' that is compiled
without support for 'ssse3'
68 | pixelData = _mm_shuffle_epi8(pixelData, shuffleMask);
| ^
video/qvideoframeconversionhelper_ssse3.cpp:69:26: error: always_inline
function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be
inlined into function 'qt_convert_BGRA32_to_ARGB32_ssse3' that is compiled
without support for 'ssse3'
69 | pixelData2 = _mm_shuffle_epi8(pixelData2, shuffleMask);
| ^
2 errors generated.
*** [.obj/qvideoframeconversionhelper_ssse3.o] Error code 1
make[2]: stopped in
/wrkdirs/usr/ports/multimedia/qt5-multimedia/work/kde-qtmultimedia-5.15.16p2/sr
c/multimedia
2 errors
make[2]: stopped in
/wrkdirs/usr/ports/multimedia/qt5-multimedia/work/kde-qtmultimedia-5.15.16p2/sr
c/multimedia
*** [sub-multimedia-all] Error code 2
make[1]: stopped in
/wrkdirs/usr/ports/multimedia/qt5-multimedia/work/kde-qtmultimedia-5.15.16p2/sr
c
1 error
make[1]: stopped in
/wrkdirs/usr/ports/multimedia/qt5-multimedia/work/kde-qtmultimedia-5.15.16p2/sr
c
*** [sub-src-all] Error code 2
make: stopped in
/wrkdirs/usr/ports/multimedia/qt5-multimedia/work/kde-qtmultimedia-5.15.16p2
1 error
make: stopped in
/wrkdirs/usr/ports/multimedia/qt5-multimedia/work/kde-qtmultimedia-5.15.16p2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
More information about the kde-freebsd
mailing list