From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 23A2CA052A; Tue, 2 Feb 2021 10:27:20 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0E551240323; Tue, 2 Feb 2021 10:27:20 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 935A624031E; Tue, 2 Feb 2021 10:27:17 +0100 (CET) IronPort-SDR: 6uDrKQCQDJhCxEFLqICIA3psWSpBwSNoSrinj1irH6M8bV8jwcxtdcgBpYWFfMTLol74pJjC7s eNXd40llsWiQ== X-IronPort-AV: E=McAfee;i="6000,8403,9882"; a="177316988" X-IronPort-AV: E=Sophos;i="5.79,394,1602572400"; d="scan'208";a="177316988" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2021 01:27:16 -0800 IronPort-SDR: MreHJ/IJJMkWJMAJrSvull54nWWEW/LaINPd+5NMp6UiVHziBNiYLTvciRN1KqbhnXnfy0wOFA vX27S6za380A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,394,1602572400"; d="scan'208";a="370440728" Received: from dpdk-lrong-srv-04.sh.intel.com ([10.67.119.221]) by fmsmga008.fm.intel.com with ESMTP; 02 Feb 2021 01:27:13 -0800 From: Leyi Rong To: david.marchand@redhat.com, qi.z.zhang@intel.com, ferruh.yigit@intel.com, thomas@monjalon.net, bruce.richardson@intel.com, talshn@nvidia.com, pallavi.kadam@intel.com, ranjit.menon@intel.com, beilei.xing@intel.com, aconole@redhat.com Cc: dev@dpdk.org, ci@dpdk.org, Leyi Rong Date: Tue, 2 Feb 2021 17:06:39 +0800 Message-Id: <20210202090639.83164-1-leyi.rong@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] net/i40e: disable AVX512 with MinGW X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Disable i40e AVX512 code path for Windows build regardless of CPU capability to avoid the MinGW build error: Error: invalid register for .seh_savexmm Signed-off-by: Leyi Rong --- drivers/net/i40e/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/i40e/meson.build b/drivers/net/i40e/meson.build index f5fc5a17e..26cd201ee 100644 --- a/drivers/net/i40e/meson.build +++ b/drivers/net/i40e/meson.build @@ -56,6 +56,7 @@ if arch_subdir == 'x86' if is_windows and cc.get_id() != 'clang' i40e_avx512_cc_support = false + i40e_avx512_cpu_support = false endif if i40e_avx512_cpu_support == true or i40e_avx512_cc_support == true -- 2.17.1