From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.46.186]) by dpdk.org (Postfix) with ESMTP id F333CC566 for ; Sun, 28 Jun 2015 19:59:55 +0200 (CEST) Received: from [192.168.1.160] (99-34-229-174.lightspeed.sntcca.sbcglobal.net [99.34.229.174]) by mail.mhcomputing.net (Postfix) with ESMTPSA id DAF1280C502 for ; Sun, 28 Jun 2015 10:57:13 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) From: Matthew Hall In-Reply-To: <1A87AD2E-38CD-4C61-A9FD-C52608FF9DAC@mhcomputing.net> Date: Sun, 28 Jun 2015 10:59:53 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <038E8439-A99C-40BB-9A77-B20024E4111F@mhcomputing.net> References: <1A87AD2E-38CD-4C61-A9FD-C52608FF9DAC@mhcomputing.net> To: "" X-Mailer: Apple Mail (2.1878.6) Subject: Re: [dpdk-dev] RTM instruction compile failure for XABORT when AVX is active 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: Sun, 28 Jun 2015 17:59:56 -0000 It would appear there is some bug in the new lock elision patches that = is preventing it from compiling with clang. Any suggestions? On Jun 28, 2015, at 10:16 AM, Matthew Hall = wrote: > Hi all, >=20 > I am getting a strange error compiling some RTM instructions when I = upgraded my VM environment from VirtualBox 4 to VirtualBox 5 and AVX = instructions from the host CPU became available. However when I am = reading the opcode description for XABORT it supposedly allows an = immediate operand for the argument so I can't understand why this code = would not compile. Any advice? >=20 > CC test_hash_scaling.o > In file included from = /vagrant/external/dpdk/app/test/test_hash_scaling.c:37: > In file included from = /vagrant/external/dpdk/build/include/rte_spinlock.h:42: > /vagrant/external/dpdk/build/include/rte_rtm.h:56:15: error: invalid = operand for inline asm constraint 'i' > asm volatile(".byte 0xc6,0xf8,%P0" :: "i" (status) : "memory"); >=20 > Matthew.