From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 38567A0350; Sun, 28 Jun 2020 11:48:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AF8CC1C1C0; Sun, 28 Jun 2020 11:48:28 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2084.outbound.protection.outlook.com [40.107.21.84]) by dpdk.org (Postfix) with ESMTP id 454091C1BE for ; Sun, 28 Jun 2020 11:48:27 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mMDzH4kkMLs8LmdwHzUVujlE5V+ZkrB8eNLYPnqCjfPRJUDYkrU6XM47FnHRKlQecSeiDqeF6hDp855hCG6NEr2vTmfuEq5LJ1htiZ4poN63JpweQLMO9erIDcWA5HMPhkqJXvjeLY300COnTFizCgqrbEkfXrPEVdzRgomt2LFzjhWQo70tu9hIlaJyPqxDiV0THJn2FmTjmSsZoIQW6oKMCjSHguklbIVE/8WJL21ymWWpFQ9gJXWaGham9G/lqo/7eWIsTlH+skcGEbe4PxYKBcaOCZaoLG15Sb2cCuW+6SiKJNIqJ6vfeYPM2l1ypeVxaBU9NuzHeByL9wvVQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BXdlJIMV4fJQXNwxf7lMQmG6V8ZAMgs+2I/RlN8w/GA=; b=kDelAOA6VY+LvNJMTl16To52nr55nGZDELwDLA5fxaj1l3gAdHY24XABQZIuK/36ET/UdCaWrE31hR8DmdgkxJMlc2yE8XepPJV95Bf+nEBB6ASDZOjqVdOy5VNBr/NZ/hANOGPxHeacVDaR0hfp8h8xw0HEKCVxw8mtU/AleqB0rQzNRfJWh71YxFSzr+cq3UYkTI2zJXOFczi3SYvQ2W6NlUUUymBFG6pCpcwO60rMCVPfwIyL1sJElXyBV1mtWS62UV8efNFQye8dkP5/F9a6SlmFgRlfsWBB7I6crykSQqP5DqvpS1Dfd3NLZiYAO7Bn5OQe3EjetT6PUt4X2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BXdlJIMV4fJQXNwxf7lMQmG6V8ZAMgs+2I/RlN8w/GA=; b=KOrn8FRYeE7piccmLqeoR5/xN259knwOueCvRdhBpDRSGxSFJQhrfHuBxgkEB9x2DzTdY9jEyK6SQCm31JHknQxT+7cp4/+ESBBLH/wP59cOCFHqtCqjy3KYLV9rkjRSCqIJF5CT+m2nfs71rOXetbkzmitPXv/nJOMxd6onl3Y= Received: from VI1PR05MB5872.eurprd05.prod.outlook.com (2603:10a6:803:de::17) by VI1PR05MB5118.eurprd05.prod.outlook.com (2603:10a6:803:ad::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.25; Sun, 28 Jun 2020 09:48:26 +0000 Received: from VI1PR05MB5872.eurprd05.prod.outlook.com ([fe80::ec95:ae9e:77c8:63ae]) by VI1PR05MB5872.eurprd05.prod.outlook.com ([fe80::ec95:ae9e:77c8:63ae%6]) with mapi id 15.20.3131.026; Sun, 28 Jun 2020 09:48:25 +0000 From: Fady Bader To: Dmitry Kozlyuk CC: "dev@dpdk.org" , Thomas Monjalon , Tasnim Bashar , Tal Shnaiderman , Yohad Tor , "harini.ramakrishnan@microsoft.com" , "ocardona@microsoft.com" , "anand.rawat@intel.com" , "ranjit.menon@intel.com" , "olivier.matz@6wind.com" Thread-Topic: [PATCH v2 3/3] eal/windows: librte_net build on Windows Thread-Index: AQHWPx7x7rPDSAUOKEeItJMuKBQIU6jh8fCAgAvxElA= Date: Sun, 28 Jun 2020 09:48:25 +0000 Message-ID: References: <'20200610112326.18576-1-fady@mellanox.com'> <20200610120040.17968-1-fady@mellanox.com> <20200610120040.17968-4-fady@mellanox.com> <20200620222209.6e66adae@sovereign> In-Reply-To: <20200620222209.6e66adae@sovereign> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [213.57.105.94] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 2cf96692-610e-46f5-6b3c-08d81b48673b x-ms-traffictypediagnostic: VI1PR05MB5118: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0448A97BF2 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8N9kVozHL3m20WyRouDJ+kLEeUiBcz8SJMO1DR5HQ9Vz/PNrqMbEOFjzIeUFTNbY3jMKrYNLn+xTXAE/Sa2eM5o2wH08KTssfgx9aaA8Qs0Z/W2IWaGOn8JIz3Aa+z6mbLzbPPzry/bbF96fUeeAtdHMVeXrL8OstxEfnuI6rGlALMKgQ4eskipUhMWMWFtKNCZ5LT6XLpB7gLkQkER8uFxkrsi50K3MKqCK3+6H4gjsDjE/PDFWmJwSgM2a75uvBLFxJ6kwdr+kPg7Sjvw+/JCjX/Zo7Qv56yA2xiwl+xKkdFW3K9FlnfG9LKGW2mse8pIE59/kV+zKBECqWL8F5N9xiz/OQmVFIgZY4f/fTQWd9N8NsbUXoR/oBu8c8Ve3QxSJXUY9lv94k3TGrKqQIA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR05MB5872.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(136003)(346002)(366004)(376002)(39860400002)(66446008)(64756008)(66556008)(66476007)(66946007)(6916009)(26005)(2906002)(8936002)(76116006)(8676002)(186003)(83080400001)(71200400001)(55016002)(9686003)(6506007)(52536014)(5660300002)(966005)(45080400002)(316002)(54906003)(4326008)(478600001)(33656002)(86362001)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: co5UByM0Swb4fbEZXkwjZE4r2vpWSduHP9bdWG05dU/pltU+7Fdu33kV4EJRu6HghYw0aYWVpjTK5AbLz8zx/HMKbyAcOaEA3EllY/CA3H09CLG5tI//OHQ2HwopgacVi42LqWvyRPVZpFlUUcKaM/RfWE1L4fK5R/zRWFc+/RaQu7rMAn2oxU+fekVYSyfqj0UxdKDuIGN37TJ6RMXwn1GKf0jsUDQhpiE4lBxf3jA+JQmQmTf6qzyJ88xxwEdtX+/6IOac7zzMzb2LWowK+GFkrsgGybgrBjwRUeQSrvZ5Fdfktb/83IumKXfNxiG4spZ9f60wPSOVaGD2sq5iDnBeCVwXiVgRaDY2F0bixrMJBw1EqErONWLqFwAgaXOBvBuiI2ClvKztRdyLoU7FAy3EfOSWr1Ai/5w4c2B9WcNjtBMHe5md3noo8m713krSUXUVZsO9Ia+FsfWLPoN0rUTHuiNIovQL/jcGkpncwK8= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR05MB5872.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2cf96692-610e-46f5-6b3c-08d81b48673b X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jun 2020 09:48:25.4848 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6T8JbCL+LKGhq3XnpLPVQOaCVzgewCbepwqKjm6sLOrbU5VJmZ4n28pT5mzd6TFJGINaaSrGLpT/7ZoC/wdafQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB5118 Subject: Re: [dpdk-dev] [PATCH v2 3/3] eal/windows: librte_net build on Windows X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > Subject: Re: [PATCH v2 3/3] eal/windows: librte_net build on Windows >=20 > > diff --git a/lib/librte_eal/common/meson.build > > b/lib/librte_eal/common/meson.build > > index e1bdaf024..05e40a26b 100644 > > --- a/lib/librte_eal/common/meson.build > > +++ b/lib/librte_eal/common/meson.build > > @@ -28,6 +28,7 @@ if is_windows > > 'malloc_elem.c', > > 'malloc_heap.c', > > 'rte_malloc.c', > > + 'rte_random.c', >=20 > Hitting an error when building on Windows (SDK 10.0.18362) with Clang 9.0= .1: Hi Dmitry, I'm trying to reproduce the error you had, I installed the latest SDK (10.0= .19041.0) but I can't find the clang v9.0.1 for Windows. Can you redirect/i= nstruct me how did you get it for Windows ? Thanks, Fady >=20 > [7/72] Compiling C object > lib/76b5a35@@rte_eal@sta/librte_eal_common_rte_random.c.obj. > FAILED: lib/76b5a35@@rte_eal@sta/librte_eal_common_rte_random.c.obj > clang @lib/76b5a35@@rte_eal@sta/librte_eal_common_rte_random.c.obj.rsp > In file included from ../../../../lib/librte_eal/common/rte_random.c:13: > In file included from ..\..\..\..\lib/librte_eal/include\rte_eal.h:20: > In file included from ..\..\..\..\lib/librte_eal/include\rte_per_lcore.h:= 25: > In file included from ..\..\..\..\lib/librte_eal/windows/include\pthread.= h:20: > In file included from ..\..\..\..\lib/librte_eal/windows/include\rte_wind= ows.h:22: > In file included from C:\Program Files (x86)\Windows > Kits\10\include\10.0.18362.0\um\windows.h:171: > In file included from C:\Program Files (x86)\Windows > Kits\10\include\10.0.18362.0\shared\windef.h:24: > In file included from C:\Program Files (x86)\Windows > Kits\10\include\10.0.18362.0\shared\minwindef.h:182: > C:\Program Files (x86)\Windows > Kits\10\include\10.0.18362.0\um\winnt.h:3324:1: error: conflicting types = for > '_m_prefetchw' > _m_prefetchw ( > ^ > C:\Program Files\LLVM\lib\clang\9.0.1\include\prfchwintrin.h:50:1: note: > previous definition is here _m_prefetchw(void *__P) >=20 > Similar issue was seen before: >=20 > https://eur03.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fp > atches.dpdk.org%2Fpatch%2F59912%2F%23101780&data=3D02%7C01%7Cfady > %40mellanox.com%7Ce7e40349f14c4dbf43a408d8154f3bd1%7Ca652971c7d2e4d9 > ba6a4d149256f461b%7C0%7C0%7C637282777343746975&sdata=3DCsPof2eM3 > 32uC9pyDsOaeiR6voScjsbmLA0euAQHw5U%3D&reserved=3D0 >=20 > -- > Dmitry Kozlyuk