From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F18F2A0C47; Thu, 19 Aug 2021 09:09:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EDC884120A; Thu, 19 Aug 2021 09:09:30 +0200 (CEST) Received: from AZHDRRW-EX02.NVIDIA.COM (azhdrrw-ex02.nvidia.com [20.64.145.131]) by mails.dpdk.org (Postfix) with ESMTP id 1DD4F41204 for ; Thu, 19 Aug 2021 09:09:30 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.175) by mxs.oss.nvidia.com (10.13.234.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.858.15; Thu, 19 Aug 2021 00:09:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j0aHwTAA/F/iXyVolcSyHQgjwYWkC9sT/8n3B8QXmWDVomFxcvLc3WJeOSLcKGwruho8PfNMUtlhMmaReI1BFGnWVVlkx2/O3KyJ1TFY37pwk0fk7cbfT+WGFf0FqkUw4ymHG1nOwXegwwliNG3zyqt87sOLwC6kAOozvZiaMlm8k7c6XEFwx9NSm7DTFSSYzMkx4yAElOF86AUzCVfZJeSG7cmQvLOjdqvXGKwHPxwGRk7QDfFeqMVJz+4V2gC96GFXmG0AcmfIoZ1jrcAhOf8/CL/RsqWEXyJr2PTIZgYzgRM0EmpgUSFA8RbJ6j+/gpxNsQsuNddjlBp8K1uwQw== 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=jFEtWaSnj+O88TvyDQ6DQ/XVZlXaNXKJbhZZQR1GEgk=; b=hSnvzgvMy6OLYYeBGDgrn1d7+QsFVYGlP3ZtGmnvgLOP5j2vjUTvShx80nxfOKNFtPdzABnDvPUxPX3BWjs9skkO2Jx+/a5Mooddhu6GlAAhe+BeO8my3RES1AUUPWXF/CbKmMYbWI09UnXq0RkNl3ltRRkwfAKNnWf0EkzXlxwz8z21YAxhjgIDnboUIiwjq0x8PD1dwtg9a7dDDLLwCm07sXUgBzbBYK7wM+19syS28D+WH/0/sZS2Dd7YKKSxfwoJjc5/k5qoNZ+1bp4NUgwkkO9c8Ksa4l8J0B+i5DkhdQ+C93dOfsubnWqG7ttYJBk7EdLhEfdzdDhgacet3Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jFEtWaSnj+O88TvyDQ6DQ/XVZlXaNXKJbhZZQR1GEgk=; b=PDT2r3e4Fez7X/WGdMWdDok/swFhQERzb5QXr6VCh5MkyguLxpcD9KimoKwnsH+qY+5xegwzJyC3UMMeU+QT6SqQxQfNvztLKIKto1RyxN+MKGetWuaAL8LSQ+XCynmT93IKVjechrCb5sp00ot6imKyCM4Q1lU3CH+HQ6CPYsBU485TTe2TaoNtDrzKPviRToN/E6WA4bPexe/YSYgIksHnikl6sBz6HwXSwV9k0dRANGVL+xnZ/teKQNRiwjp+UwZH/kgiba3urYuD8CYChZBIZTDVD+tKIyymmBnHhDn1yJSL8hbBUtlmc55/65EkuN4EwmVkhxS7dfIsNHq5zQ== Received: from DM4PR12MB5167.namprd12.prod.outlook.com (2603:10b6:5:396::10) by DM4PR12MB5357.namprd12.prod.outlook.com (2603:10b6:5:39b::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.14; Thu, 19 Aug 2021 07:09:27 +0000 Received: from DM4PR12MB5167.namprd12.prod.outlook.com ([fe80::fddd:3779:1fe2:e084]) by DM4PR12MB5167.namprd12.prod.outlook.com ([fe80::fddd:3779:1fe2:e084%7]) with mapi id 15.20.4436.019; Thu, 19 Aug 2021 07:09:27 +0000 From: Ali Alnubani To: "jerinj@marvell.com" , John McNamara , Ian Betts , Tomasz Kulasek CC: "dev@dpdk.org" , NBU-Contact-Thomas Monjalon , "bruce.richardson@intel.com" , "david.marchand@redhat.com" Thread-Topic: [PATCH] examples/performance-thread: fix build issue with clang 12.0.1 Thread-Index: AQHXkqYzlGSfkYodyEGA79GUxoX+MKt6bBHQ Date: Thu, 19 Aug 2021 07:09:27 +0000 Message-ID: References: <20210816131914.544110-1-jerinj@marvell.com> In-Reply-To: <20210816131914.544110-1-jerinj@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: be287e31-f5c2-4b79-b5e6-08d962e04837 x-ms-traffictypediagnostic: DM4PR12MB5357: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-transport-forked: True x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gJFUp1lk83Q9iVSwgs+1McuMQcX1Yya4EC9GvNZ7uH6yTIAfPTccHFUx7/bWCsSok5VUd+hlhgQA+QERhtd/4IQUYFEiJCgC3BD9T0wFoZgpJxa7MT2dPMoXbT0IJqvCk2wqCG89HOkmbXB0SnmtV1TmNvtpTl5LjZs0VZhL3+Gwfx70ivhWU0EC/eB3Y0M0qmm4oDHmdJsjgBM+YB7P9s1Cg3noprJ2abic5zOWT50ezgS9ktFFfgZJvAfUjXOH9kpGWEeN6dHwQAHnmc7nN/dBZinWQbo/iK0lCPEzARhSd3q6l3Hlq088MUPWKmSe7orkPL0XpRLfqFfwbY9vOGwyjUSuu+XIeS5Yyw5oO+pkZr2ozrCnkrz70efMBAR78UzbkrTw7BtIRVM9qwXb+pAwjX2u9qUUfvnkPvEAmhHaS84AYglsMxDoMYfE0LSKj6KhF7EDoweMK0Tn++k7L7bp7eKOL97OJaKKtAq8WZJ/brgCJsrtuNxLCejXaR3PemehzTNoD+q0mN9GWNfmmJw/GrbsePS0pc2zbtharI1m6p2AHImt+GCZE8qR5+e/Iznse/va5gpOqWc4mrEgZLFKH3wfAJrecSOlkp/1EbNo1UAEUWRUwQPMS+2P9Nay0ij8FNL0QhgTG0Pc4wQwRJ9TjS3tUqe0J6YCd6ncxVcNOoXkSqRoesxHy+5NC3B6ls+Jr1dSXI1RQPXJLU7wVKv65lWW6Dw2BhEtZwwe1izoRf4qAXi4bQdTmtrPJ9mMKEZa9BPMHcpD5wz9os5UgwLDQObZ3dbCHrFWzXzZ0uw= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5167.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(39860400002)(396003)(136003)(346002)(376002)(83380400001)(122000001)(5660300002)(66556008)(71200400001)(4326008)(478600001)(107886003)(8936002)(966005)(8676002)(76116006)(33656002)(66476007)(316002)(53546011)(26005)(54906003)(66946007)(86362001)(52536014)(110136005)(9686003)(55016002)(38100700002)(6506007)(7696005)(64756008)(66446008)(186003)(38070700005)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?g55qS4HWg4EFl36NBxtwAzl01x2lUxMzQbwfs4A+Yb0969Qb6UIf8ID7xfP9?= =?us-ascii?Q?R0xaMo9Iz41RA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DLb?= =?us-ascii?Q?AxpIi5+dSgptjxHjLj3G49LeQryEMwsgpYOflqhKsM9ChBvW+dvEJv3+khVu?= =?us-ascii?Q?noKGTSrt9jizIydRiGGaUOzzOlhYWXb5J2v1tgFaLfn1TnfofJnTiKbb0CJU?= =?us-ascii?Q?a7R1SXqs+LLmpFEyh3GqJnjw/aq+qJw7m78vW6wsUzztDfm4Tr46TgpJrJec?= =?us-ascii?Q?BbN7y5Uw2U2BXkMrXZfCJylGcTh7YVgV5ux8bMOcrAvpYwZEz89A0y1LNDgE?= =?us-ascii?Q?NAPeMGWxzPiFbZSXfSM/LuJURjcPEECR8Di416r8Btvd1dL2PIXbrJCn/PVm?= =?us-ascii?Q?YalM/rRaoW5AwMn+o9jQS9oJ4eQxX4v/dHai1tHRLMlwLawedhQMQyDd+lhN?= =?us-ascii?Q?N8w=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5167.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: be287e31-f5c2-4b79-b5e6-08d962e04837 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Aug 2021 07:09:27.2128 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DqAs1xFrFnRbS7sorPp3HCUoeLvXzIA8jIe5bYeMmxCUDHOkySFCjEtg5lZb7Xpj3Bt3OmFuaCWGRDHOKtzxhw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5357 Subject: Re: [dpdk-dev] [PATCH] examples/performance-thread: fix build issue with clang 12.0.1 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" > -----Original Message----- > From: jerinj@marvell.com > Sent: Monday, August 16, 2021 4:19 PM > To: John McNamara ; Ian Betts > ; Tomasz Kulasek > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon > ; bruce.richardson@intel.com; > david.marchand@redhat.com; Jerin Jacob ; Ali > Alnubani > Subject: [PATCH] examples/performance-thread: fix build issue with clang > 12.0.1 >=20 > From: Jerin Jacob >=20 > In clang 12.0.1 version, the use of pthread_yield() deprecated, use > sched_yield() instead. >=20 > log: >=20 > Compiling C object > examples/dpdk-pthread_shim.p/performance- > thread_pthread_shim_main.c.o > ../examples/performance-thread/pthread_shim/main.c: In function > 'helloworld_pthread': > ../examples/performance-thread/pthread_shim/main.c:75:9: warning: > 'pthread_yield' is deprecated: pthread_yield is deprecated, use sched_yie= ld > instead [-Wdeprecated-declarations] >=20 > Fixes: 433ba6228f9a ("examples/performance-thread: add pthread_shim > app") >=20 > Bugzilla ID: 745 >=20 > Cc: alialnu@oss.nvidia.com >=20 > Signed-off-by: Jerin Jacob > --- I think this issue might be specific to Fedora Rawhide's build of clang 12.= 0.1, see my comment in the ticket: https://bugs.dpdk.org/show_bug.cgi?id=3D745#c3 Tested-by: Ali Alnubani Thanks Jerin. Ali