From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas@monjalon.net>
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: <xms:PrNAXLD4xn9POj7uTsWW7Nc7ivSdHZRy4ObnQGBuQff6_J6KCSxfEQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrgeekgdeklecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt
 tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkfgjfh
 gggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceo
 thhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvddtfe
 drudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho
 nhdrnhgvthenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:PrNAXPGX6wCqQedHJnk-Ccik7yUlH4H9DilkC6qCS7L58SzTuo3Yqw>
 <xmx:PrNAXPkvYOwwfA9JyKPsisYQSjpsBmsaNaATIOsut0fsmHg050muDA>
 <xmx:PrNAXIr_vLv81w84cUY3PoQTj2FCgmTFA4G5VaoxBlXNGdJw7q-8Hg>
 <xmx:P7NAXPNqk6t1T-7JOKwINZIDeZ3ZN0fGoUgY_zNvqBbBkH1U5Fc70w>
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 <thomas@monjalon.net>
To: Ilya Maximets <i.maximets@samsung.com>
Cc: dev@dpdk.org, Pavan Nikhilesh <pbhagavatula@marvell.com>,
 Bruce Richardson <bruce.richardson@intel.com>,
 Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>, 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: <CGME20190115112946eucas1p22fa0b405d8cfe1feae7426a9b37857b1@eucas1p2.samsung.com>
 <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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=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 <i.maximets@samsung.com>

Applied, thanks