From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id E7EEF9A96 for ; Wed, 11 Mar 2015 05:37:46 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 10 Mar 2015 21:37:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,379,1422950400"; d="scan'208";a="678266429" Received: from pgsmsx108.gar.corp.intel.com ([10.221.44.103]) by fmsmga001.fm.intel.com with ESMTP; 10 Mar 2015 21:37:44 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by PGSMSX108.gar.corp.intel.com (10.221.44.103) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 11 Mar 2015 12:37:43 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.150]) by shsmsx102.ccr.corp.intel.com ([169.254.2.26]) with mapi id 14.03.0224.002; Wed, 11 Mar 2015 12:37:42 +0800 From: "Wang, Zhihong" To: "Kavanagh, Mark B" , "Mcnamara, John" , "Qiu, Michael" , "dev@dpdk.org" , Panu Matilainen Thread-Topic: [dpdk-dev] rte_memcpy.h: additional cflags required with OVS Thread-Index: AdBah3Gj040QJ0mYRHia+o7JqLV4XgAhDHWQAAHuIjAAJ/PdEA== Date: Wed, 11 Mar 2015 04:37:41 +0000 Message-ID: References: <533710CFB86FA344BFBF2D6802E60286CFDC65@SHSMSX101.ccr.corp.intel.com> In-Reply-To: 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: Wed, 11 Mar 2015 04:37:47 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Kavanagh, Mark B=09 > Sent: Tuesday, March 10, 2015 6:04 PM > To: Mcnamara, John; Qiu, Michael; dev@dpdk.org; Panu Matilainen > Subject: Re: [dpdk-dev] rte_memcpy.h: additional cflags required with OVS >=20 >=20 >=20 > >-----Original Message----- > >From: Mcnamara, John > >Sent: Tuesday, March 10, 2015 8:27 AM > >To: Qiu, Michael; Kavanagh, Mark B; dev@dpdk.org; Panu Matilainen > >Subject: RE: [dpdk-dev] rte_memcpy.h: additional cflags required with > >OVS > > > >> -----Original Message----- > >> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Qiu, Michael > >> Sent: Tuesday, March 10, 2015 3:05 AM > >> To: Kavanagh, Mark B; dev@dpdk.org > >> Subject: Re: [dpdk-dev] rte_memcpy.h: additional cflags required with > >> OVS > >> > > > >> What's your gcc version? this should be an issue with old version > >> gcc, and I'm working on this to solve this issue now. > > > > > >Hi Michael, > > > >I see the issue with gcc 4.7.2 but not with 4.9.2. >=20 > I'm using gcc v4.8.3. >=20 > Just to clarify my initial post, there are two issues related to gcc intr= insic > headers emmintrin.h, and tmmintrin.h: > - in former, a difference in parameter types for _mm_storeu_si128 is > the issue. This is the primary issue observed. > - in tmmintrin.h, when __OPTIMIZE__ is not defined, function > _mm_alignr_epi8 is also not defined, leading to an 'implicit definition o= f > function' error. Add the "-mssse3" flag should be able to solve the 'implicit definition of = function' error. BTW, current dpdk should compile with gcc 4.7.2, anything changed there tha= t makes this flag mandatory? Zhihong (John) > I've only noticed this intermittently (even though I compile OVS with > -O2 CFLAGS) >=20 > > > >John