From patchwork Thu Sep 7 08:35:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li, Xiaoyun" X-Patchwork-Id: 28429 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 4FD4D199B0; Thu, 7 Sep 2017 10:36:10 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 9A1B6374E; Thu, 7 Sep 2017 10:36:07 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Sep 2017 01:36:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.42,357,1500966000"; d="scan'208"; a="1215832195" Received: from dpdk-lixiaoyun.sh.intel.com ([10.67.110.162]) by fmsmga002.fm.intel.com with ESMTP; 07 Sep 2017 01:36:05 -0700 From: Xiaoyun Li To: bruce.richardson@intel.com Cc: dev@dpdk.org, helin.zhang@intel.com, Xiaoyun Li , stable@dpdk.org Date: Thu, 7 Sep 2017 16:35:17 +0800 Message-Id: <1504773317-2042-1-git-send-email-xiaoyun.li@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH] mk: fix compiling error for atom target X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" 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