From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiaoyun Li Subject: [PATCH] mk: fix compiling error for atom target Date: Thu, 7 Sep 2017 16:35:17 +0800 Message-ID: <1504773317-2042-1-git-send-email-xiaoyun.li@intel.com> Cc: dev@dpdk.org, helin.zhang@intel.com, Xiaoyun Li , stable@dpdk.org To: bruce.richardson@intel.com Return-path: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" GCC thinks target atom doesn't support SSE4.2 and SSE4 is now part of minimum requirements for DPDK on x86. So there are compiling errors when cross-compiling for target atom. And in fact, the atom supports SSE4 now. This patch fixes this issue. Fixes: 5ea4d4688dce ("net/ixgbe: remove fallback code for x86 non-SSE4") Cc: stable@dpdk.org Signed-off-by: Xiaoyun Li --- mk/machine/atm/rte.vars.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mk/machine/atm/rte.vars.mk b/mk/machine/atm/rte.vars.mk index cfed110..a6899d9 100644 --- a/mk/machine/atm/rte.vars.mk +++ b/mk/machine/atm/rte.vars.mk @@ -56,3 +56,5 @@ # CPU_ASFLAGS = MACHINE_CFLAGS = -march=atom + +MACHINE_CFLAGS += -msse4.2 -- 2.7.4