From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Hall Subject: Re: RTM instruction compile failure for XABORT when AVX is active Date: Tue, 30 Jun 2015 22:17:54 -0700 Message-ID: References: <1A87AD2E-38CD-4C61-A9FD-C52608FF9DAC@mhcomputing.net> <39879033.dIVnPGkh8l@xps13> <386858255.20150629121137@intel.com> <2576181.dRfjlrHRWI@xps13> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: Thomas Monjalon Return-path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.46.186]) by dpdk.org (Postfix) with ESMTP id F3325C34A for ; Wed, 1 Jul 2015 07:18:08 +0200 (CEST) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" To be a bit more specific, this is what I had to do to fix it for clang = 3.6 SVN snapshot release. I am not sure if there is a better way of handling this situation. I'd = love to know where I could improve it. Matthew. diff --git a/mk/rte.cpuflags.mk b/mk/rte.cpuflags.mk index f595cd0..8c883ee 100644 --- a/mk/rte.cpuflags.mk +++ b/mk/rte.cpuflags.mk @@ -77,13 +77,13 @@ ifneq ($(filter $(AUTO_CPUFLAGS),__RDRND__),) CPUFLAGS +=3D RDRAND endif -ifneq ($(filter $(AUTO_CPUFLAGS),__FSGSBASE__),) -CPUFLAGS +=3D FSGSBASE -endif +#ifneq ($(filter $(AUTO_CPUFLAGS),__FSGSBASE__),) +#CPUFLAGS +=3D FSGSBASE +#endif -ifneq ($(filter $(AUTO_CPUFLAGS),__F16C__),) -CPUFLAGS +=3D F16C -endif +#ifneq ($(filter $(AUTO_CPUFLAGS),__F16C__),) +#CPUFLAGS +=3D F16C +#endif ifneq ($(filter $(AUTO_CPUFLAGS),__AVX2__),) CPUFLAGS +=3D AVX2=