This fails to build if building with GCC (tested with GCC 13 as provided by Ubuntu 24.04), both if building with GCC as mingw cross compiler, and if doing a full ELF build), with errors like these: ``` i686-w64-mingw32-gcc -c -o libs/symcrypt/i386-windows/lib/aes-ymm.o ../wine/libs/symcrypt/lib/aes-ymm.c -Ilibs/symcrypt -I../wine/libs/symcrypt \ -Iinclude -I../wine/include -I../wine/include/msvcrt -I../wine/libs/symcrypt/inc -D_UCRT \ -DSYMCRYPT_PLATFORM_WINE=1 -D__WINE_PE_BUILD -fno-strict-aliasing -Wno-packed-not-aligned \ -ffunction-sections -Wno-misleading-indentation -fno-omit-frame-pointer \ -mpreferred-stack-boundary=2 -mlong-double-64 -gdwarf-4 -g -O2 In file included from /usr/lib/gcc/i686-w64-mingw32/13-win32/include/immintrin.h:41, from /usr/lib/gcc/i686-w64-mingw32/13-win32/include/x86intrin.h:32, from ../wine/include/msvcrt/intrin.h:11, from ../wine/libs/symcrypt/lib/sc_lib.h:4775, from ../wine/libs/symcrypt/lib/precomp.h:19, from ../wine/libs/symcrypt/lib/aes-ymm.c:10: /usr/lib/gcc/i686-w64-mingw32/13-win32/include/wmmintrin.h: In function ‘SymCryptAesGcmEncryptStitchedYmm_2048’: /usr/lib/gcc/i686-w64-mingw32/13-win32/include/wmmintrin.h:116:1: error: inlining failed in call to ‘always_inline’ ‘_mm_clmulepi64_si128’: target specific option mismatch 116 | _mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I) | ^~~~~~~~~~~~~~~~~~~~ In file included from ../wine/libs/symcrypt/lib/aes-ymm.c:22: ../wine/libs/symcrypt/lib/ghash_definitions.h:211:12: note: called from here 211 | resm = _mm_clmulepi64_si128( _tmpA, opBx, 0x00 ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../wine/libs/symcrypt/lib/aes-ymm.c:516:5: note: in expansion of macro ‘CLMUL_3’ 516 | CLMUL_3( state, GHASH_H_POWER(expandedKeyTable, todo), GHASH_Hx_POWER(expandedKeyTable, todo), a0_xmm, a1_xmm, a2_xmm ); | ^~~~~~~ [dozens more similar errors] ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11025#note_141966