Thread (17 messages) 17 messages, 6 authors, 2021-02-02

[dpdk-dev] [PATCH v3 1/2] config: disable avx512 on mingw cross build

From: Leyi Rong <hidden>
Date: 2021-01-27 14:47:20
Subsystem: the rest · Maintainer: Linus Torvalds

Disable avx512 when on mingw cross build, as .seh_savexmm
build error reports if avx512 is enabled.

Signed-off-by: Leyi Rong <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help