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 2AFAEA09DF for ; Fri, 13 Nov 2020 10:21:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 04732C876; Fri, 13 Nov 2020 10:21:23 +0100 (CET) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 91F2D4CA6; Fri, 13 Nov 2020 10:21:18 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 2F3785C00C3; Fri, 13 Nov 2020 04:21:17 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 13 Nov 2020 04:21:17 -0500 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= W/zKNgRiEsSaxMmRMBIpBlcFnqRCkTkqBTC/NPx3UI8=; b=qfkhJ1rH37VVmjbz BVya31yFRfPn+kEh8raUJCCR82ABPCp9c1qMH74ue568YkDn6rk6i1y1RVTfn5JH I0se+hp2P2Fz9Y2Lm3Lve3PNYJW3OylWnusLcPHR1AZOeg2JicHijoZ9EAeEjXJy NQYQa6Emb94JCBTdv4THfR53XkGWgokbooSJF6Zc21C8K10gvT5fADV34IY3ikEh sx5VpZKigjDVs9QPdoqRhODJXxaRWRSWQf8+bolidpb4+gMmmbT4Y2XZ72P5mD5B 5w4oQR/l+Q6zQJVxH52L6Mbs/P1/omzS49kiOqp1psQ5HvA3qoOlz1xqTU/CJ9Rw VBIfmg== 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=fm1; bh=W/zKNgRiEsSaxMmRMBIpBlcFnqRCkTkqBTC/NPx3U I8=; b=OiB6V/BMcakkZKXMyWvnH6ZWgYI//KeR/1wtt8WeSC8Kjpz1DGkeqKcjT oh1iWAHnpK+70FB4ox0JXYIxk4h1zLv3yQbTH1cVjRCZg41A8jhROvDWyjzyEZmD tb1mVJgLYU0+d+vmRY+U7+Q757yd1RgTju2v2RAg8ZiF5Nv8N4ZPcS6tQ+LlftAy fh7YtMlLXlT2BaAzb1CeEEsjyuFdISQM0jgWwgB7R07j3WwVS0DW3Hp8bKo+8thB rTBdmE7AUEtUbs1cJ5sJ6RAp3+25MsjutTQvnEo1H7m5MXuWcvNX2um8j+aI7Zeb Dw2L5LjvYznCefwam64+Fb+3vemtg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddvhedgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepjeduteevueejteehieeggfeiueeikefffefhjeetueeihefhhfdv udfhheehfeehnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucfkphepjeejrddufe egrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id C36CA3064AAA; Fri, 13 Nov 2020 04:21:15 -0500 (EST) From: Thomas Monjalon To: Ruifeng Wang Cc: "jerinj@marvell.com" , Ruifeng Wang , David Marchand , Phil Yang , dev@dpdk.org, nd , "stable@dpdk.org" , Honnappa Nagarahalli Date: Fri, 13 Nov 2020 10:21:14 +0100 Message-ID: <2469059.lGkQE1hbba@thomas> In-Reply-To: References: <20201112103157.53486-1-ruifeng.wang@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v1] eal/arm: fix clang build of native target X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > > When doing Clang build with '-mcpu=native' on N1 platform, build failed > > with: > > ../lib/librte_eal/arm/include/rte_atomic_64.h:76:39: > > error: instruction requires: lse > > __ATOMIC128_CAS_OP(__cas_128_release, "caspl") > > > > This is because native detection for Neoverse N1 was added in Clang-11. > > Prior version of Clang's assembler doesn't know LSE support on hardware. > > Fixed this for Clang earlier than version 11 by specifying architecture for > > assembler. > > Referred to [1] for this fix. > > > > Fixes: 7e2c3e17fe2c ("eal/arm64: add 128-bit atomic compare exchange") > > Cc: stable@dpdk.org > > > > [1] > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?i > > d=e0d5896bd356cd577f9710a02d7a474cdf58426b > > > > Signed-off-by: Ruifeng Wang > Reviewed-by: Honnappa Nagarahalli Applied, thanks