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 15884A0540; Mon, 20 Jul 2020 14:54:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 83BFA29CB; Mon, 20 Jul 2020 14:54:11 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20086.outbound.protection.outlook.com [40.107.2.86]) by dpdk.org (Postfix) with ESMTP id 557321023 for ; Mon, 20 Jul 2020 14:54:10 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZpjBwPUpKkkpff8EPAbeNgnurTIBpe3LnSO8C/Hp8pgzwNb4Ms6aabLTQC/7+AAbcYDRO00DRvoloPMDvkDI0y7u1+YdkaqcB0YYqWBywDvLwXVerrjSe8JB8bVWGT+FJ8Q26kxrmiPLUwwb6LTPHTmkeO2tu3iScbuutS9ku7gJSSBQgj/zjY1+DghRG1A2A/LQ5yubPccJch+fjr93Bb/eH9XqWW/xlghWnKiDXPF+3isRHfZreG774Of1wUNYwqtctaFydcbLW4y53kEAqEggGA8fCU+XLFyy5bFn441exeqgtbwY5br5Ftcvt5xg8/pGC96jgaLk+fUji/2uAw== 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=OBkzesMAPB3BXyPS6rQm2QVAjaC7tDEV2XqOY5L1d4U=; b=f/MPR89IDBmbgW5rjLhrMPjZKirh4ZzEySJyqd68Bd4oY35BC05CXhDnCuxyCMfho84o7NWmT8Qx+W/pTkbkJQPDquhgYMBh+/a77NEN91MPjfIFYE5rC8eG9t6TDPv9fXtPWJoRKHVC3DmPMKq4p362MdwgTrNL1bSN14WvbUWpgmHi5oOD9sIqdnjI6gnn7GmSt+f6LWbxKAajFSlbe0O/N5VzTT92D5YbquSKCAw/8PJUE9ZKZsTmnj2mkRD5xxCcrNV5PzAV55p68Z3pmG0EQbZlLd2uo9mwDh9mkGQzJfaZnxvxyLPqYLep+T2cYVLkW/+7wbSXeaHSzhDLvw== 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=OBkzesMAPB3BXyPS6rQm2QVAjaC7tDEV2XqOY5L1d4U=; b=QPilt2z55UH0Ng94TGqHbgD6G8mBHX2nfZFm3oI89HD19hXOFK0qa65vaLzEKmz0u2GjCvvbbh3uy558kmX63JIXXi1jmblCBX+Cpg/mj8/vV7XrwOj/HFvUk6dnOCmVDXjZh0kgK7Ow6/cz19ZUsoLdnTKJeElCWJIXcOUq0RU= Received: from VI1PR05MB5872.eurprd05.prod.outlook.com (2603:10a6:803:de::17) by VI1PR0502MB3726.eurprd05.prod.outlook.com (2603:10a6:803:b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.25; Mon, 20 Jul 2020 12:54:09 +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.3195.025; Mon, 20 Jul 2020 12:54:09 +0000 From: Fady Bader To: Narcisa Ana Maria Vasile CC: Dmitry Kozlyuk , "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: [dpdk-dev] [PATCH v2 3/3] eal/windows: librte_net build on Windows Thread-Index: AQHWPx7x7rPDSAUOKEeItJMuKBQIU6jh8fCAgAvxElCAHrBdgIAED9GA Date: Mon, 20 Jul 2020 12:54:08 +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> <20200717222251.GB34951@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> In-Reply-To: <20200717222251.GB34951@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: linux.microsoft.com; dkim=none (message not signed) header.d=none;linux.microsoft.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [109.65.91.39] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 0e99a570-6ef5-43e7-c2b4-08d82cabfe47 x-ms-traffictypediagnostic: VI1PR0502MB3726: 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:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: d3Av8KSLsAXlKskcHRg+2VuqwjXh0/9mEtIIFUhYK1UoyDPiJGyyPLeRo+qOvR5NrjzWS79/sW+wKasfIx8HWWvkKwJcurAoiPmNx/syLKOeVWg5NXcvQ5UNv+2QRatwtdQi/4iIx4hP61hZmxkuqRG4T3Ryr2UhKkdt0vmMbN4bxQbUsuXlh9CDH3V9byc9fth1iacwUMkhj4uz8faj4ZnPAWLkx7bRo8r3cIoPMXkZ2D0RXzRcPPC2vFGvPgR8TcYqviJJ0yLZJM73YXkayY4C+TNb0A2pDMviqxITEAi6lYfI0y/wYjy2VyAkemqyaeq2BNuPNm7z5HhRK0PakCg0OvPLTUMTOEwO1dAc2OE= 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)(136003)(376002)(346002)(39860400002)(396003)(366004)(4326008)(55016002)(9686003)(6506007)(45080400002)(8676002)(86362001)(8936002)(76116006)(316002)(66946007)(71200400001)(66476007)(66556008)(64756008)(66446008)(2906002)(52536014)(7696005)(6916009)(33656002)(186003)(83380400001)(478600001)(966005)(5660300002)(54906003)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: dhvfEtJud5eoG0ZmXFN4LC19ZB3E5tr8JWeVOeLkCgReA/hDuoCvqzhkHnLqAYx0uWXWGNNbmSdplRTq6B1IEBgJu/oGNeSC/11Ckw+w1pRdqL0axNS2AhtW1ZNL8IYgPFtiDZYOBnl+N5aeBE0MLWn7no6Ea6xRWYek8N+lupBgznuimrQ1ljqNp5ngMZX0T5N0HWbmyMEZ8pqd5F8XkOTKg7qBCsbcpWsZOoPveU/cczLRD8DHKUg4l2Ojikg9cVSO2RtKQVAuqeKvsryjSTiVCXhwQwuE6owxmVY17AH5fC8insp1KIj2vfh7CrYP7pVF8405JKoj2lHDyqCuoMvVpv//RvGYA0XHSuNTkZdiqgsyWwp6Tctry6JhJXjpD9ymnPzAgrLlzbRKokP76TOXCSyAQ/WPGH7746k0Hw2g+Ro4bdNqYeR7QZon926mha0/jN33Z+1zsXKFG4uxJu7M2sdRdxXhoOc9zJexwlQ= 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: 0e99a570-6ef5-43e7-c2b4-08d82cabfe47 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jul 2020 12:54:08.8791 (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: rWgh3ohfAUMRF5ur02p9z6YvVeru/VXwsct7V1M75TM7DWW/NzwHhBfcKWHOu4m0Fq+g+I3Y1Hsx24/X4zkwMA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3726 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 > > > > > > > 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', > > > > > > 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/instruct me how did you get it for Windows ? > > > > Thanks, > > Fady > > > Hi Fady, >=20 > Getting the same error with a setup similar to Dmitry's. My setup: SDK 10= .0.18362, I'm sending v4 patch that should resolve this. > clang 9.0.0. What version of clang are you using on your system? > You can try installing LLVM 9.0.0 from > https://eur03.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Frelea= ses.ll > vm.org%2Fdownload.html&data=3D02%7C01%7Cfady%40mellanox.com%7C0b > 29fed755494b55361d08d82a9ff2b4%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0 > %7C0%7C637306213753996879&sdata=3D5lPQtvt8EO7q8OAYN60J8rIdYdNJHjsS > Pp%2B6P9PL3N0%3D&reserved=3D0 Thanks for the link, even with clang and SDK version same as yours and Dmit= ry's I'm still passing compilation and not getting the error described.=20 That's because the _m_prefetchw function that is defined in Clang's prfchwi= ntrin.h is an intrinsic function corresponding to the instruction PREFETCHW that is part = of the=20 instruction set extension 3DNOW, my processor doesn't support this instruct= ion set=20 extension, so my compiler isn't reaching the part where it defines _m_prefe= tchw.=20 I think your processor does support the 3DNOW instruction set extension and= that why=20 you are reaching this part and I'm not. Regard, Fady