From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 85A87C3A4 for ; Thu, 28 Jan 2016 09:37:10 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 28 Jan 2016 00:37:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,357,1449561600"; d="scan'208";a="890842901" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga001.fm.intel.com with ESMTP; 28 Jan 2016 00:37:09 -0800 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 28 Jan 2016 00:37:09 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 28 Jan 2016 00:37:08 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.215]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.209]) with mapi id 14.03.0248.002; Thu, 28 Jan 2016 16:37:07 +0800 From: "Qiu, Michael" To: Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH] lib/librte_eal: Fix compile issue with gcc 5.3.1 Thread-Index: AQHRWZ3ST0N/ETFzhE2ulL90O+mN9Q== Date: Thu, 28 Jan 2016 08:37:06 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E6028622F25195@SHSMSX101.ccr.corp.intel.com> References: <1453966234-10577-1-git-send-email-michael.qiu@intel.com> <8781190.9aSToTMefL@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] lib/librte_eal: Fix compile issue with gcc 5.3.1 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2016 08:37:10 -0000 On 1/28/2016 4:32 PM, Thomas Monjalon wrote:=0A= > 2016-01-28 15:30, Michael Qiu:=0A= >> In fedora 22 with GCC version 5.3.1, when compile,=0A= >> will result an error:=0A= >>=0A= >> include/rte_memcpy.h:309:7: error: "RTE_MACHINE_CPUFLAG_AVX2"=0A= >> is not defined [-Werror=3Dundef]=0A= >> #elif RTE_MACHINE_CPUFLAG_AVX2=0A= >>=0A= >> Fixes: 9484092baad3 ("eal/x86: optimize memcpy for AVX512 platforms")=0A= > Thanks for the quick fix.=0A= >=0A= > Note about the title formatting:=0A= > As you see in the "Fixes:" line, the title of the original commit=0A= > was starting with "eal/x86". Yours should adopt the same convention.=0A= > A lot of patches are sent with "lib/librte_eal" which was never used=0A= > in the git history. If not sure when writing the title, please check=0A= > the history to keep it consistent.=0A= =0A= OK, next time I will do it.=0A= =0A= Thanks for point it out.=0A= =0A= Thanks,=0A= Michael=0A= > As usual, I will reword it.=0A= > Thanks for your attention=0A= >=0A= =0A=