From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0109.outbound.protection.outlook.com [104.47.1.109]) by dpdk.org (Postfix) with ESMTP id 8E63A199AE for ; Tue, 19 Sep 2017 09:31:25 +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=NBbIoMPmRN8Axg9MHXmKsSE6VGmoJUR0YQBwPHOckHc=; b=Af/dCBwx43QkmBBUzTdBa3GOH3jdt5/Ubr8RC+TTWQxkXs1mPht5pCD5TfXujFjCCZxb2KtyD3SKAxdi+bRNna26lMlh90dUZCF2zthQvB5APJtwyKBy7vXIJYhDZfFPTwbZJhkP3pIo3okc2pV2eh8W2i61Whgu6PMOEkV4z44= Received: from AM4PR0701MB2003.eurprd07.prod.outlook.com (10.168.4.149) by AM4PR0701MB1908.eurprd07.prod.outlook.com (10.168.4.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.5; Tue, 19 Sep 2017 07:31:24 +0000 Received: from AM4PR0701MB2003.eurprd07.prod.outlook.com ([fe80::eca1:5e1c:433f:1936]) by AM4PR0701MB2003.eurprd07.prod.outlook.com ([fe80::eca1:5e1c:433f:1936%13]) with mapi id 15.20.0077.009; Tue, 19 Sep 2017 07:31:24 +0000 From: "Harouat, Karim (Nokia - FR/Lannion)" To: "Li, Xiaoyun" , "users@dpdk.org" Thread-Topic: [dpdk-users] Gcc 6.4 failure compile Thread-Index: AQHTMOK+8d+hgSTy/k6hXVijjULdXqK7xNNAgAAH7wCAAANhEA== Date: Tue, 19 Sep 2017 07:31:24 +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: authentication-results: spf=none (sender IP is ) smtp.mailfrom=karim.harouat@nokia.com; x-originating-ip: [135.245.20.26] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM4PR0701MB1908; 6:fBd8POXgl6sZZYJSg4TMZwfXeH3WzhmL1EG5ByrsribDtMBam5WQBCdzobxrajqyo7F1EYeqppa1L1cRftDUZu8YVznftE2YGpKxpKFMdw46KWw2uga5z+bIJBOFIEOAd/uwythHV2YO0muDfCeZbTo50QOCcGyWscNYXAPlKojVJ4WA0N1Z1RR7qrUJcbWUPwL7hWu1I5ElYHn6wnpt9Su5KoRZx4EdNJJZYwrTFnz+B2f4MRscVTT+a4RcATV6bUzbkfqvwC3TKuiayZs+WUgLpZe4wpbwBFp0q7mX2rmtSP5E3JtrZVM5byPn3gaTi4NkxxlYWF7KVWA5pnV82w==; 5:hcFHLPyjQzfYu/JwCwsK2C3t/C0tIs0u0FbOOhR8Emq0ddsrRqtMX1udKEzKCYxms2ZeBkV1TNfphXP62LsKCuL3O4Eo0K9m3oZ9J5TU9T5cYRJzYbpBWL3AlICnclpJkp+Z5t4XZAFtLAUVdT0hKQ==; 24:bXmIgf6SAvUi3NikFx8vkMCnVFTBJH6CxvmOjF/7uBjTS5iVVdmSIja1IC4AA30tDv0dv25M0f8ugQ9c137XPforb+ZbgV20o6A3939Ojig=; 7:7cDtXaWYTjtZ1sgeEt+69weaWvacCQh5wzbvsgcFv/s+YKEe+20ITGGaHphiBcVf69EI+0i40/nUDr9sll0hNimIgQyphRjG1/wwkTWPPYEhgh6MpbrHXkJyC/oDm+q9c/vyd4LmAd//HMNBe6/EzRvbkQCer5t9wTmDJUOpoAn5SIBrL0b7skCWEaIzLkq10nzY2EHuWF+V7k6yvGaV018gFlUUrahXZXEsdPkrBrk= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: cb558b25-c96d-41ae-d674-08d4ff306eaa x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM4PR0701MB1908; x-ms-traffictypediagnostic: AM4PR0701MB1908: 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)(100000703101)(100105400095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123564025)(20161123558100)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM4PR0701MB1908; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM4PR0701MB1908; x-forefront-prvs: 04359FAD81 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(376002)(39860400002)(346002)(13464003)(189002)(377454003)(199003)(66066001)(86362001)(6246003)(189998001)(81156014)(305945005)(99286003)(8936002)(55016002)(9686003)(81166006)(7696004)(74316002)(25786009)(53936002)(33656002)(229853002)(2950100002)(5660300001)(6436002)(8676002)(7736002)(478600001)(6506006)(53546010)(2900100001)(54356999)(76176999)(97736004)(3660700001)(68736007)(5250100002)(3280700002)(93886005)(316002)(50986999)(2906002)(101416001)(14454004)(105586002)(106356001)(102836003)(3846002)(110136005)(6116002)(2501003)(473944003); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR0701MB1908; H:AM4PR0701MB2003.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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: 19 Sep 2017 07:31:24.5347 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0701MB1908 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:31:25 -0000 Aw you got it sse4_1 sse4_2 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 p= cid 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 ts= c_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt It is not for the machine on which I'm working the binary, how can I make = the gcc to ignore the host cpu flags ? Best Regards, Cordialement Karim HAROUAT Platform (UPHWAPI) software developer=20 Mobile Networks, NOKIA +33256740257 -----Original Message----- From: Li, Xiaoyun [mailto:xiaoyun.li@intel.com]=20 Sent: Tuesday, September 19, 2017 9:17 AM To: Harouat, Karim (Nokia - FR/Lannion) ; users@dp= dk.org Subject: RE: [dpdk-users] Gcc 6.4 failure compile Can you show the results of Flags of your machine? Use "lscpu" or "cat /pro= c/cpuinfo". Are there sse4_1 and sse4_2? > -----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 >=20 > Which configuration flag/var do I have to disable/enable to avoid that pl= ease? >=20 > Best Regards > Karim HAROUAT >=20 > -----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 >=20 > 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=20 > support SSE4, but the instructions in your error are SSE4. So there=20 > are compilation errors. >=20 >=20 > Best Regards > Xiaoyun Li >=20 >=20 >=20 > > -----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_priority_= 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=20 > > to always_inline '_mm_blendv_epi8': target specific option mismatch > > _mm_blendv_epi8 (__m128i __X, __m128i __Y, __m128i __M)=20 > > ^~~~~~~~~~~~~~~ > > > > Any idea please ? > > > > Karim H.