From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id C46CE5A76 for ; Tue, 10 Mar 2015 04:05:01 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 09 Mar 2015 19:59:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,371,1422950400"; d="scan'208";a="677626689" Received: from pgsmsx104.gar.corp.intel.com ([10.221.44.91]) by fmsmga001.fm.intel.com with ESMTP; 09 Mar 2015 20:04:59 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by PGSMSX104.gar.corp.intel.com (10.221.44.91) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 10 Mar 2015 11:04:35 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.150]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.228]) with mapi id 14.03.0224.002; Tue, 10 Mar 2015 11:04:34 +0800 From: "Qiu, Michael" To: "Kavanagh, Mark B" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] rte_memcpy.h: additional cflags required with OVS Thread-Index: AdBah3Gj040QJ0mYRHia+o7JqLV4Xg== Date: Tue, 10 Mar 2015 03:04:34 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E60286CFDC65@SHSMSX101.ccr.corp.intel.com> References: 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 Subject: Re: [dpdk-dev] rte_memcpy.h: additional cflags required with OVS 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: Tue, 10 Mar 2015 03:05:02 -0000 On 3/10/2015 12:44 AM, Kavanagh, Mark B wrote:=0A= > Hi,=0A= >=0A= > Compilation of Open vSwitch fails when linked against current HEAD of DPD= K (f2552cd5).=0A= >=0A= > The source of this issue appears to be commit ID 9144d6b: "eal/x86: optim= ize memcpy for SSE and AVX", and can be resolved by passing an additional a= rgument to OVS when building same (CFLAGS=3D"-march=3Dnative").=0A= > It seems that without this flag, OVS doesn't pick up one or more SSE #def= ines in DPDK, and doesn't include a relevant intrinsic header (emmintrin.h)= , leading to an 'implicit declaration' error for instrinsic '_mm_storeu_si1= 28'.=0A= =0A= What's your gcc version? this should be an issue with old version gcc,=0A= and I'm working on this to solve this issue now. If you want to solve=0A= this you should upgrade gcc or include them manually, and remove header=0A= x86intrin.h .=0A= =0A= Thanks,=0A= Michael=0A= > Has anyone else observed this behavior?=0A= >=0A= > Thanks,=0A= > Mark=0A= >=0A= >=0A= =0A=