[dpdk-dev] [PATCH v3 1/2] config: disable avx512 on mingw cross build
Leyi Rong
leyi.rong at intel.com
Wed Jan 27 15:27:05 CET 2021
Disable avx512 when on mingw cross build, as .seh_savexmm
build error reports if avx512 is enabled.
Signed-off-by: Leyi Rong <leyi.rong at intel.com>
---
config/x86/cross-mingw | 3 +++
1 file changed, 3 insertions(+)
diff --git a/config/x86/cross-mingw b/config/x86/cross-mingw
index 4c15a7fa2e..48a82b457e 100644
--- a/config/x86/cross-mingw
+++ b/config/x86/cross-mingw
@@ -11,3 +11,6 @@ system = 'windows'
cpu_family = 'x86_64'
cpu = 'native'
endian = 'little'
+
+[properties]
+c_args = '-mno-avx512f'
--
2.17.1
More information about the dev
mailing list