From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0096.outbound.protection.outlook.com [104.47.0.96]) by dpdk.org (Postfix) with ESMTP id 65CE52C01 for ; Mon, 25 Sep 2017 12:42:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=oMuwvP8xrKXW58Vcvj+v3RdJ4X5XDkXQB0KEiALW+Mc=; b=Yb74xap9DWMFEbJOIRXwclJK9wWUYhPGme7GBMsHUq6Fyj5ec26c3+bCSx3cYyj9NBvZnvyfFvt5R0PJKWVrSTfzACw/ZXTOhXmFrxk4Q64enRUt5qCb3jFjjpVYR6/9+kHPxtk0zfiwjFiaLDmAhZwA3/nOvZ6zrcovWkct588= Received: from DB5PR0701MB2005.eurprd07.prod.outlook.com (10.167.228.147) by DB5PR0701MB2005.eurprd07.prod.outlook.com (10.167.228.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.5; Mon, 25 Sep 2017 10:42:21 +0000 Received: from DB5PR0701MB2005.eurprd07.prod.outlook.com ([fe80::e83b:1537:5e6b:3389]) by DB5PR0701MB2005.eurprd07.prod.outlook.com ([fe80::e83b:1537:5e6b:3389%14]) with mapi id 15.20.0077.011; Mon, 25 Sep 2017 10:42:21 +0000 From: "Harouat, Karim (Nokia - FR/Lannion)" To: "users@dpdk.org" Thread-Topic: [dpdk-users] Gcc 6.4 failure compile Thread-Index: AQHTMOK+8d+hgSTy/k6hXVijjULdXqK7xNNAgAAH7wCAAANhEIAAB8UAgAAAxCCACZsnsA== Date: Mon, 25 Sep 2017 10:42:21 +0000 Message-ID: References: In-Reply-To: Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [135.245.212.7] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB5PR0701MB2005; 6:6GmaxjmUkWnLSltYTdtGspkeBUCL9N9IjX19NACxTD9BbzkSGaVR3BNxaH3PRtCeGXrd6+FR0/kp1IsxD9t9phaFGFJ0yMVsgcFqM+2tv52JZ71QHJ0QkDsPiuLjxm64lBaEBP2q3NpfNu0l8Cc25nO72LMgMdUlZ1mEZKmJnu4KxaKRnc26yMB1EgAOnT30SFmZHSGUa6B6/V5rIjVVSIAUyyqh7+k7ia2K8jS8i1tD3x9QxKtfuydOOYek3rCh0SpW6jqLkHXDBDBvoZIDdHRJM/GnO5xBY/lCdLJJTf/DZwWUPg2nWohLsl342hLKbBwGUR/q3ZK0M+/j3dcqYw==; 5:WCuiv621e5TdlX2K90K5Vcqm32K6P2eHvbjMq2/XyKPpEBSy/x7XgiiG6BU8dmNlV10qmEsNx1HTo1rWnXOfGYA+rGT/MVlg6aXVhW9ESzw94S60oxORix+Znbc8Wn+gbDTmcCCmXrkdJZw6DIY7UA==; 24:Aze0axhtR1nYDKcFIR/30m0b//D5/MN6CqG8m6fDC7SV8wCslbLavP0cYXJUJrehZythAdueSLgpZR5mAzYtysE1Sy8AeJQNLIWVxWwtfwk=; 7:L8fuAl0sAqIG6ak4UPDEhACtqCutnWtRlLGgRi2ix1vJwWa0ZYxdHR7KpsvpOx1bSosAB35tUiMVhlqUJO/RMwh9OtFVevw0KVbIF95PTUb+c/3neOE0NMR23jRFEPwiuV/P2LGnNE76NDMyIwGR9qvqc3xpYYcjg9FrACwA2ZA1IpuJHJ/1rDDriCQCTRtfza6Xg5BO9u337J1Ar1fx8mdcblLSYbmMoI4qa0bkxpw= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: e18d2f52-2014-4b69-0176-08d504021a2e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:DB5PR0701MB2005; x-ms-traffictypediagnostic: DB5PR0701MB2005: authentication-results: spf=none (sender IP is ) smtp.mailfrom=karim.harouat@nokia.com; x-exchange-antispam-report-test: UriScan:(82608151540597)(228905959029699); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6055026)(6041248)(20161123562025)(20161123558100)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB5PR0701MB2005; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB5PR0701MB2005; x-forefront-prvs: 04410E544A x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39860400002)(376002)(346002)(199003)(13464003)(377454003)(189002)(3846002)(74316002)(93886005)(2501003)(316002)(6246003)(6116002)(5640700003)(102836003)(53936002)(478600001)(7736002)(3660700001)(68736007)(305945005)(8936002)(3280700002)(14454004)(2906002)(1730700003)(7696004)(25786009)(9686003)(5250100002)(5660300001)(54356999)(86362001)(229853002)(55016002)(76176999)(101416001)(33656002)(81166006)(81156014)(189998001)(50986999)(6436002)(66066001)(53546010)(8676002)(97736004)(2950100002)(2900100001)(2351001)(105586002)(6506006)(99286003)(106356001)(6916009)(473944003); DIR:OUT; SFP:1102; SCL:1; SRVR:DB5PR0701MB2005; H:DB5PR0701MB2005.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Sep 2017 10:42:21.5961 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR0701MB2005 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: Mon, 25 Sep 2017 10:42:23 -0000 Hi I fixed my issue by changing the CONFIG_RTE_MACHINE value Core 2 was not proper to my case. Best Regards,=20 Karim H -----Original Message----- From: Harouat, Karim (Nokia - FR/Lannion)=20 Sent: Tuesday, September 19, 2017 10:03 AM To: 'Li, Xiaoyun' ; users@dpdk.org Subject: RE: [dpdk-users] Gcc 6.4 failure compile Thanks a lot for your answer! My machine supports it properly :-( gcc -march=3Dnative -dM -E - ; users@dp= dk.org Subject: RE: [dpdk-users] Gcc 6.4 failure compile 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)=20 > [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=20 > rdtscp lm constant_tsc arch_perfmon rep_good nopl eagerfpu pni=20 > pclmulqdq vmx > ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt=20 > tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm=20 > 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=20 > make 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) ;=20 > 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=20 > /proc/cpuinfo". > Are there sse4_1 and sse4_2? >=20 > > -----Original Message----- > > From: Harouat, Karim (Nokia - FR/Lannion)=20 > > [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=20 > > 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) ;=20 > > 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=20 > > don't support SSE4, but the instructions in your error are SSE4. So=20 > > there are compilation errors. > > > > > > Best Regards > > Xiaoyun Li > > > > > > > > > -----Original Message----- > > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of Harouat,=20 > > > 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=20 > > > call to always_inline '_mm_blendv_epi8': target specific option=20 > > > mismatch > > > _mm_blendv_epi8 (__m128i __X, __m128i __Y, __m128i __M)=20 > > > ^~~~~~~~~~~~~~~ > > > > > > Any idea please ? > > > > > > Karim H.