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 DE796A0C41; Fri, 27 Aug 2021 13:36:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5C4F84067C; Fri, 27 Aug 2021 13:36:19 +0200 (CEST) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id 838C240150 for ; Fri, 27 Aug 2021 13:36:17 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 90D703200933; Fri, 27 Aug 2021 07:36:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 27 Aug 2021 07:36:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= aW75Su4KWoDJuwE++dRTYVkvVTFKohqfrGIndoSO9qg=; b=q1kyKDvJWfmrjP0V 0jlgO5AoIxj1qli4JJo5CbUWYQIRF4h2jJrlviK4b0aWHfhzm93U36N/aoFZWaJJ gZJek9ngcrqC9VUn5c9FBX09lIN5o6HcSOnDq2HbjqrPS/jGkUz5l0JgZqX597B/ 4xbm6zc/uizW1xRdu6sUvZkmNPVMx7uDTuT/xbHPpJOlY88lpsae+1uKvYc1b+SO /Nv4jaQaj5V5O8MrhGUSAWnr2bgh/bD/mhzhyJf9s3lq3JImn8fe1YesiDJ/Cz7F aGFQiZbqZ9vjEhmKFFI4x2t7ztwiVlablfzTN1dDbSwtIHfSudxU0uDTgHo+7hha XVSmtA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=aW75Su4KWoDJuwE++dRTYVkvVTFKohqfrGIndoSO9 qg=; b=X5dKVFgjb2a9sKv68fX0ZKWOzAAzj0yeTuPZg90Srn0xW4hOVf4hacdy4 QAlnORPBpxSeK/PliNjzRbrqAXaPyYmX7cOPHXEVFcHYg9wnGH9o258IELc0TDpu zoTwaX5YgkMdxa2STCQKXmQ1XbnK20l1MP2gZ9AwYcTOch4dYcWVry9oAMPHfiUm IwHLB5Kmblv9Ude9+eOioQSVtORLDRYnnr77e5F6XrJNaCJCtRSubAB82I07gQGq VZdzWtDWfC/0cvK4V8KOmTUh+7ZWXVlwMVpX13kPnof/rdjvslFq6Sa3RKIRbtQp S5NX0U9Hst9KKj0/3r9LsqXfJaF/g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddufedggeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepffdvffejueetleefieeludduuefgteejleevfeekjeefieegheet ffdvkeefgedunecuffhomhgrihhnpeguphgukhdrohhrghenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhn rdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 27 Aug 2021 07:36:13 -0400 (EDT) From: Thomas Monjalon To: "jerinj@marvell.com" , Ali Alnubani Cc: John McNamara , Ian Betts , Tomasz Kulasek , dev@dpdk.org, "bruce.richardson@intel.com" , "david.marchand@redhat.com" Date: Fri, 27 Aug 2021 13:36:09 +0200 Message-ID: <3223668.kHc7HdNlAC@thomas> In-Reply-To: References: <20210816131914.544110-1-jerinj@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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" 19/08/2021 09:09, Ali Alnubani: > From: jerinj@marvell.com > > In clang 12.0.1 version, the use of pthread_yield() deprecated, use > > sched_yield() instead. > > > > log: > > > > 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_yield > > instead [-Wdeprecated-declarations] > > > > Fixes: 433ba6228f9a ("examples/performance-thread: add pthread_shim > > app") adding Cc: stable for other branches. > > > > Bugzilla ID: 745 > > > > Cc: alialnu@oss.nvidia.com > > > > 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=745#c3 I hit the same issue on Arch Linux. > Tested-by: Ali Alnubani > > Thanks Jerin. Applied, thanks.