-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.10.0 Beta4
-
None
-
C:\Qt\qt-everywhere-src-6.10.0-beta4\qtimageformats>icx --version
Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2025.2.0 Build 20250605
Copyright (C) 1985-2025 Intel Corporation. All rights reserved.
Intel(R) oneAPI DPC++/C++ Compiler 2025.2.0 (2025.2.0.20250605)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files (x86)\Intel\oneAPI\compiler\2025.2\bin\compiler
Configuration file: C:\Program Files (x86)\Intel\oneAPI\compiler\2025.2\bin\compiler\..\icx.cfg
C:\Qt\qt-everywhere-src-6.10.0-beta4\qtimageformats>icx --version Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2025.2.0 Build 20250605 Copyright (C) 1985-2025 Intel Corporation. All rights reserved. Intel(R) oneAPI DPC++/C++ Compiler 2025.2.0 (2025.2.0.20250605) Target: x86_64-pc-windows-msvc Thread model: posix InstalledDir: C:\Program Files (x86)\Intel\oneAPI\compiler\2025.2\bin\compiler Configuration file: C:\Program Files (x86)\Intel\oneAPI\compiler\2025.2\bin\compiler\..\icx.cfg
Intel compile on windows fails on libweb needing avx avx2
workaroun in C:\Qt\qt-everywhere-src-6.10.0-beta4\qtimageformats\CMakeLists.txt
add
add_compile_options(-mavx2)
add_compile_options(-mavx)
| ^
C:\Qt\qt-everywhere-src-6.10.0-beta4\qtimageformats\src\3rdparty\libwebp\src\dsp\lossless_enc_avx2.c(40,24): error: always_inline function '_mm256_loadu_si256' requires target feature 'avx', but would be inlined into function 'SubtractGreenFromBlueAndRed_AVX2' that is compiled without support for 'avx'
40 | const _m256i in = _mm256_loadu_si256((_m256i*)&argb_data[i]); // argb
| ^
C:\Qt\qt-everywhere-src-6.10.0-beta4\qtimageformats\src\3rdparty\libwebp\src\dsp\lossless_enc_avx2.c(41,29): error: always_inline function '_mm256_shuffle_epi8' requires target feature 'avx2', but would be inlined into function 'SubtractGreenFromBlueAndRed_AVX2' that is compiled without support for 'avx2'
41 | const __m256i in_0g0g = _mm256_shuffle_epi8(in, kCstShuffle);
| ^
C:\Qt\qt-everywhere-src-6.10.0-beta4\qtimageformats\src\3rdparty\libwebp\src\dsp\lossless_enc_avx2.c(42,25): error: always_inline function '_mm256_sub_epi8' requires target feature 'avx2', but would be inlined into function 'SubtractGreenFromBlueAndRed_AVX2' that is compiled without support for 'avx2'
42 | const __m256i out = _mm256_sub_epi8(in, in_0g0g);
| ^
c:\QT\qt-everywhere-src-6.10.0-beta4\configure.bat -prefix c:\QT\Qt6.10.0_static -static -debug -static-runtime -platform win32-icc -nomake examples -skip qtconnectivity -skip qtwebengine -skip qtquick3dphysics -cmake-generator Ninja -c+std c+20 --disable-pch -sql-odbc -sql-mysql "MySQL_LIBRARY=c:/qt/mysql-8.1.0-winx64/lib/libmysql.lib" "MySQL_INCLUDE_DIR=c:/qt/mysql-8.1.0-winx64/include/"
C:\Qt\qt-everywhere-src-6.10.0-beta4\qtimageformats>icx --version
Intel(R) oneAPI DPC+/C+ Compiler for applications running on Intel(R) 64, Version 2025.2.0 Build 20250605
Copyright (C) 1985-2025 Intel Corporation. All rights reserved.
Intel(R) oneAPI DPC+/C+ Compiler 2025.2.0 (2025.2.0.20250605)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files (x86)\Intel\oneAPI\compiler\2025.2\bin\compiler
Configuration file: C:\Program Files (x86)\Intel\oneAPI\compiler\2025.2\bin\compiler\..\icx.cfg