From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 390212BA5; Thu, 17 Jan 2019 17:54:24 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8A8E4262D3; Thu, 17 Jan 2019 11:54:23 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 17 Jan 2019 11:54:23 -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=mesmtp; bh=KEDc71WN0/Q23nw8BDjZBMaNAiKOrfEpoJbMqUJgMp0=; b=ryR/AJnX0G/k boVwwi+YBkiT4dxG/wteSZUvGnnNLjGiHKr08Um+7Su4ScF4M98wBD6jWCyIbAk9 dzFplwsjO27M3zEHpT1N9i9wGs3DdP75fdPOlCyERaDTM440HTV4NTylK3Re/fQk QTKba8wYR+tppgrLAsZjxhs7pHxEEL4= 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=KEDc71WN0/Q23nw8BDjZBMaNAiKOrfEpoJbMqUJgM p0=; b=xPNp4nB3t1u5k4qo4Et8F4EMkc5ssh/6Rt2/9dcHSICbAEzOofM0bXcsC QYwE/J+xz9ZuVjFOe5fT6+CP8bLn1Nil9QNuChLY0NZU4v90PfSCG2rQnaTuyokP Oa7+CK8XtWfdwx3kULCsXCBM84vVJk+7U8MUbPD0OhFXKvvQId3nEAW1zylafBfu F4YrIUyyvMX9UUn7oRYaFYPgCJRZ6w/Ri1ATDcOmJew1b+zFPSZsoTT2OSXDQD04 QqLuDAk1ZGP7lvMM0Bbr64443fSvmMnJsWKVSTXl2hr4zhGiBt3Wk6D4PoGUj3bw 6PaEf0j9Bh8JzrewUbdAe344OUq2A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrgeekgdeklecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkfgjfh gggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceo thhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvddtfe drudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvthenucevlhhushhtvghrufhiiigvpedt 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 9516110085; Thu, 17 Jan 2019 11:54:21 -0500 (EST) From: Thomas Monjalon To: Ilya Maximets Cc: dev@dpdk.org, Pavan Nikhilesh , Bruce Richardson , Honnappa Nagarahalli , stable@dpdk.org Date: Thu, 17 Jan 2019 17:54:20 +0100 Message-ID: <1855733.j2fUxzXNtQ@xps> In-Reply-To: <20190115112939.8780-1-i.maximets@samsung.com> References: <20190115112939.8780-1-i.maximets@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eal: fix clang build with intrinsics forced 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: , X-List-Received-Date: Thu, 17 Jan 2019 16:54:24 -0000 15/01/2019 12:29, Ilya Maximets: > This fixes x86_64-native-linuxapp-clang build with > CONFIG_RTE_FORCE_INTRINSICS=y: > > include/generic/rte_atomic.h:218:9: error: > implicit declaration of function '__atomic_exchange_2' > is invalid in C99 [-Werror,-Wimplicit-function-declaration] > > include/generic/rte_atomic.h:501:9: error: > implicit declaration of function '__atomic_exchange_4' > is invalid in C99 [-Werror,-Wimplicit-function-declaration] > > include/generic/rte_atomic.h:783:9: error: > implicit declaration of function '__atomic_exchange_8' > is invalid in C99 [-Werror,-Wimplicit-function-declaration] > > We didn't caught this issue previously on other platforms because > CONFIG_RTE_FORCE_INTRINSICS enabled by default only for armv8. > > Fixes: 7bdccb93078e ("eal: fix ARM build with clang") > Cc: stable@dpdk.org > > Signed-off-by: Ilya Maximets Applied, thanks