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 88AB8F94 for ; Tue, 19 Sep 2017 09:56:58 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2017 00:56:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,417,1500966000"; d="scan'208";a="313657803" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga004.fm.intel.com with ESMTP; 19 Sep 2017 00:56:49 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 19 Sep 2017 00:56:48 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.159]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.152]) with mapi id 14.03.0319.002; Tue, 19 Sep 2017 15:56:47 +0800 From: "Li, Xiaoyun" To: "Harouat, Karim (Nokia - FR/Lannion)" , "users@dpdk.org" Thread-Topic: [dpdk-users] Gcc 6.4 failure compile Thread-Index: AdMwYZzsM1HqiqjwRsmO0hT3XZAi4wAgH0hw///cjID//3MIkIAAmLMA//95GtA= Date: Tue, 19 Sep 2017 07:56:46 +0000 Message-ID: References: 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-users] Gcc 6.4 failure compile X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2017 07:56:59 -0000 Em.. Not really. I thought your machine doesn't support sse4. In that way the sse4 instructi= ons cannot be recognized by gcc and would appear compilation errors. But it seems that your machine supports sse4. You can try " gcc -march=3Dnative -dM -E - -----Original Message----- > From: Harouat, Karim (Nokia - FR/Lannion) > [mailto:karim.harouat@nokia.com] > Sent: Tuesday, September 19, 2017 15:31 > To: Li, Xiaoyun ; users@dpdk.org > Subject: RE: [dpdk-users] Gcc 6.4 failure compile >=20 > Aw you got it sse4_1 sse4_2 >=20 > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp = lm > constant_tsc arch_perfmon rep_good nopl eagerfpu pni pclmulqdq vmx > ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer > aes xsave avx f16c rdrand hypervisor lahf_lm abm tpr_shadow vnmi > flexpriority ept fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid > xsaveopt >=20 > It is not for the machine on which I'm working the binary, how can I mak= e > the gcc to ignore the host cpu flags ? >=20 > Best Regards, Cordialement > Karim HAROUAT > Platform (UPHWAPI) software developer > Mobile Networks, NOKIA > +33256740257 >=20 > -----Original Message----- > From: Li, Xiaoyun [mailto:xiaoyun.li@intel.com] > Sent: Tuesday, September 19, 2017 9:17 AM > To: Harouat, Karim (Nokia - FR/Lannion) ; > users@dpdk.org > Subject: RE: [dpdk-users] Gcc 6.4 failure compile >=20 > Can you show the results of Flags of your machine? Use "lscpu" or "cat > /proc/cpuinfo". > Are there sse4_1 and sse4_2? >=20 > > -----Original Message----- > > From: Harouat, Karim (Nokia - FR/Lannion) > > [mailto:karim.harouat@nokia.com] > > Sent: Tuesday, September 19, 2017 14:49 > > To: Li, Xiaoyun ; users@dpdk.org > > Subject: RE: [dpdk-users] Gcc 6.4 failure compile > > > > Which configuration flag/var do I have to disable/enable to avoid that > please? > > > > Best Regards > > Karim HAROUAT > > > > -----Original Message----- > > From: Li, Xiaoyun [mailto:xiaoyun.li@intel.com] > > Sent: Tuesday, September 19, 2017 3:00 AM > > To: Harouat, Karim (Nokia - FR/Lannion) ; > > users@dpdk.org > > Subject: RE: [dpdk-users] Gcc 6.4 failure compile > > > > Hi > > What machine are you using? And what target are you using? > > I met this problem before. > > That time, I used cross-compiling for atom, and gcc thinks atom don't > > support SSE4, but the instructions in your error are SSE4. So there > > are compilation errors. > > > > > > Best Regards > > Xiaoyun Li > > > > > > > > > -----Original Message----- > > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of Harouat, > > > Karim (Nokia - FR/Lannion) > > > Sent: Monday, September 18, 2017 17:38 > > > To: users@dpdk.org > > > Subject: [dpdk-users] Gcc 6.4 failure compile > > > > > > Hello > > > > > > I'm trying to compile DPKD 17.08 (hash 02657b) > > > > > > I have the following error > > > > > > > > > > > > dpdk/build/lib/librte_acl/acl_run_sse.h: In function 'resolve_priorit= y_sse': > > > /builds/x86_64-pc-linux-gnu/dpdk/srcdir/lib/gcc/x86_64-pc-linux- > > > gnu/6.4.1/include/smmintrin.h:179:1: error: inlining failed in call > > > to always_inline '_mm_blendv_epi8': target specific option mismatch > > > _mm_blendv_epi8 (__m128i __X, __m128i __Y, __m128i __M) > > > ^~~~~~~~~~~~~~~ > > > > > > Any idea please ? > > > > > > Karim H.