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 D686DA0093; Mon, 15 Jun 2020 11:25:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1A4262B94; Mon, 15 Jun 2020 11:25:10 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70075.outbound.protection.outlook.com [40.107.7.75]) by dpdk.org (Postfix) with ESMTP id 053961150 for ; Mon, 15 Jun 2020 11:25:08 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jgVpyliZCVmNe0672IJdYeXvbibwzNugLaGXURAFWOEuhJfZDX5Lr5nyYZQM4McVogXoqzUW1KUy5jz71gBYJeahTTsgnOgXFV8IkXbmx4LIUAE5os7w2br19EMVQMnVk+ufQHVeyC34FFWj4f6bnKMwAgafwyq7K9EzYVpjiQpuSlZpaQ4KihZafaorcyBsjkVZo0c6WLTRv7gdQ2rTjNg5GLr3tsy2KqJuWnD4esXdeDYMqGhmfrnrg6rEEhs2NudeFjCcR912cR1MmT5MNORN5BLB80wbb+PcAtnM2EYgWTBmFySKlfSm4KeDrWp5KNU0sFn3LJ4SdZwBqVfFHg== 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=gLYBsH7Qgy3NYhF2FDgcjPGinlgSEpO7tSsgAo/2USU=; b=CcsL9ujS56ug63P9kSdqu1BbTJ7a0J0N9rzqHRn27aZkLBAbKTVboc1pJF92MpSV6WGqUU1dHJUVjPGx48LML4yOZZ8jNjLPM2hRTNNH3quRC3iih394W8ZLXFmhe1F06OYDt6Fqcp6fve+5PBTv/k/wNUovMdHPDvVpco6D++40V0n+GQfgqD3E+TG75REZQFXwS44d1cKDWNhAabFEemL0Fm4gy++siOnP+ylhtWfrOTKp8S6nxsaoV/ndgF03pn60FEVSZxqm/KhG6TtxjN+L4v3/MnFWhjAjkD3pBKGvLjeDiPae+eL7YY+hKlzxbqbPV7kmWXpKsrgJRfkjQQ== 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=gLYBsH7Qgy3NYhF2FDgcjPGinlgSEpO7tSsgAo/2USU=; b=RItdcYjqZ42OjPErufR/+s/IetkkD33enrq1DPf/IRoAG/PEJWgDdA5ta54jVwodJfq6AfVkUXZeKlsXj/erU590p8hIwF+jotgONx91272frues4LSfYSRO54blryYYrdvAZ65EhHVgMEpYGzqIbZYT+tcS77KvJx0V2QkaIx4= Received: from AM0PR05MB5313.eurprd05.prod.outlook.com (2603:10a6:208:f2::28) by AM0PR05MB6578.eurprd05.prod.outlook.com (2603:10a6:208:142::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.21; Mon, 15 Jun 2020 09:25:08 +0000 Received: from AM0PR05MB5313.eurprd05.prod.outlook.com ([fe80::3069:d8f4:fadc:4d7]) by AM0PR05MB5313.eurprd05.prod.outlook.com ([fe80::3069:d8f4:fadc:4d7%5]) with mapi id 15.20.3088.028; Mon, 15 Jun 2020 09:25:08 +0000 From: Tal Shnaiderman To: Dmitry Kozlyuk , Thomas Monjalon CC: "harini.ramakrishnan@microsoft.com" , "dev@dpdk.org" Thread-Topic: MinGW guide Thread-Index: AQHWQWBeP+0Z0PnYmEiYMl57gduA0KjY2nsAgACNGYA= Date: Mon, 15 Jun 2020 09:25:07 +0000 Message-ID: References: <2439238.EZ8FaLj9Nj@thomas> <20200615034800.2d9b7590@sovereign> In-Reply-To: <20200615034800.2d9b7590@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: [37.142.1.17] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 0de1dddf-c2c7-4f82-4523-08d8110dfed6 x-ms-traffictypediagnostic: AM0PR05MB6578: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 04359FAD81 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: oEhCrTnKWyIvWzgkELTV51SviUkZAX0NheqJIUyMmEkYLT2M4B/nKeKSkGOuYZ7vBx3mrmxcUd8LAcyFBG2BXnIuY9oTIJTvJgTOI+gOTxCNuRgpkPBhpHK7qghXyR666SKGV6+XZUiOlQKjbnxYRp9URtOWmEA1DtvyplQmx//7NX6aeLn0I7c5MI+H0cx62UTjv0T0RleLeaF/jyihQY4if6v56oHv43pj0wjJUZNsv9eFI7Adl3Sz/6SvRVHCvfByFqMSGNgX+Xl4YjEkj4yXF89sEw6PWBiDlf7aTtzc7xGvi9ZM2C7i9LzP0KLBKPECy0SYeSi5XxLAGERhoU/ekE2RbVBBCfKq1X3z0VnObDug/ECIctkOrRi1EscB x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB5313.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(346002)(136003)(366004)(39860400002)(396003)(54906003)(8676002)(110136005)(2906002)(52536014)(55016002)(76116006)(6506007)(66556008)(64756008)(9686003)(316002)(8936002)(478600001)(86362001)(66446008)(7696005)(66946007)(33656002)(7116003)(4744005)(4326008)(71200400001)(3480700007)(186003)(66476007)(26005)(5660300002)(460985005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: bd81mm0ddWHYZRNpMonxo/S+qdIIC7wRK6fBBqA+WdZmnQle4O2GshtPQEu3bE9n/KekJr5/4TKorUNYn5hJc/nDQc1zbr3pTo8uVLTFiC6SPreokt7n8HqKB7vrlC6fLsU5NsY/CxFtBimHToFGflV6280xzElblCPG/mOuTEOPGbR9PD0zt38JcS82s8lGpD5oZaJvwtR8x/HzMhQAXbrgSu63B3l7QveiepNm+hbn6G3Od6+KyJSUsDYNXQ7V2Y5UAh9bUXsqOmlhOwhwb4cTmcIFuoh9SvpYFgsBPiiLbvNlFrJvdE5Z+4ileNDr8d9GLbnAz8OGdoGYRdNoeTBY06W7t6VVJPM9d9EEob/dlz6OMmA5nFL2Myhq3Q7HlUrkIY80xL2E0gsTyGeg8B5HYAlr6+7Pl1G+OF7RhiOHmb5F7NRaoYVyTgl0u03pqC7Co4UhuZ3DWRg3OGDot2M1YqBgh12i5zsTJlKChzA= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0de1dddf-c2c7-4f82-4523-08d8110dfed6 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jun 2020 09:25:07.9987 (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: KaRAVDffbQ4hizSVNjRJkiPqb1PbwxpvhxZ//rwErRzx4MBBBVJi/PLmpjty+PwnTVhkE/d2z8wBUUwL25X1kw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6578 Subject: Re: [dpdk-dev] MinGW guide 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: MinGW guide >=20 > On Sat, 13 Jun 2020 10:55:14 +0200 > Thomas Monjalon wrote: [snip] > > Then when installing mingw-w64-install.exe, a choice must be done > > between threads POSIX or Win32. > > If I understand well, POSIX must be chosen? >=20 > Yes. DPDK config/meson.build now links with pthread if linker is not link= .exe. >=20 Where do we actually use pthread in Windows?=20 > Note that maybe this can be relaxed (test needed!), i. e. link with pthre= ad if > it is found, otherwise use shim. Benefit, if this works: no runtime > dependency on "libwinpthread-1.dll" for Windows. I was sure, since we create the threads with Win32 API (CreateThread), the = correct option is Win32. My mingw-w64 is installed with that option and I didn't see issues with it. >=20 > -- > Dmitry Kozlyuk