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 795A1A0A0A; Thu, 20 May 2021 10:01:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0067D41109; Thu, 20 May 2021 10:01:17 +0200 (CEST) Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) by mails.dpdk.org (Postfix) with ESMTP id 52CFC4003F for ; Wed, 19 May 2021 14:07:49 +0200 (CEST) Received: from anongoth.pl (unknown [192.168.1.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id 00A0731CB3; Wed, 19 May 2021 14:07:46 +0200 (CEST) Date: Wed, 19 May 2021 14:07:45 +0200 From: Piotr Kubaj To: Thomas Monjalon Cc: dev@dpdk.org, David Christensen Message-ID: References: <20210517004621.64357-1-pkubaj@FreeBSD.org> <3311287.AeGyiQBo7m@thomas> <3175316.hIkBcZur5t@thomas> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tLVFAoBsiUpAWNCJ" Content-Disposition: inline In-Reply-To: <3175316.hIkBcZur5t@thomas> X-Mailman-Approved-At: Thu, 20 May 2021 10:01:13 +0200 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH] ppc64le: fix build without glibc and using Clang 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" --tLVFAoBsiUpAWNCJ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 21-05-19 11:59:35, Thomas Monjalon wrote: > 19/05/2021 11:57, Piotr Kubaj: > > Well, isn't FreeBSD already supported? > >=20 > > Even https://www.dpdk.org/ mentions supporting FreeBSD. >=20 > Yes it is supposed to be supported. > But why are you adding all this code for PPC? > It doesn't seem to be all related to clang only. >=20 > PS: please do not top-post. >=20 >=20 > > On 21-05-19 09:53:16, Thomas Monjalon wrote: > > > 18/05/2021 22:42, David Christensen: > > > > On 5/16/21 5:46 PM, Piotr Kubaj wrote: > > > > > __ppc_get_timebase() is only present when glibc is used. > > > > >=20 > > > > > Signed-off-by: Piotr Kubaj > > > > > --- > > > > > lib/eal/ppc/include/rte_altivec.h | 3 +++ > > > > > lib/eal/ppc/include/rte_cycles.h | 12 ++++++++++++ > > > > > lib/eal/ppc/rte_cycles.c | 16 ++++++++++++++++ > > > > > 3 files changed, 31 insertions(+) > > > >=20 > > > > Reviewed-by: David Christensen > > >=20 > > > This patch does a lot more than what is described. > > > It seems adding support for FreeBSD. > > > For testing OS, please use #ifdef RTE_EXEC_ENV_* >=20 >=20 >=20 >=20 Well, I'm adding this code for PPC, because there are build issues on power= pc64le machines running FreeBSD. --tLVFAoBsiUpAWNCJ--