[dpdk-dev] [PATCH] ppc64le: fix build without glibc and using Clang
Piotr Kubaj
pkubaj at anongoth.pl
Wed May 19 14:07:45 CEST 2021
On 21-05-19 11:59:35, Thomas Monjalon wrote:
> 19/05/2021 11:57, Piotr Kubaj:
> > Well, isn't FreeBSD already supported?
> >
> > Even https://www.dpdk.org/ mentions supporting FreeBSD.
>
> 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.
>
> PS: please do not top-post.
>
>
> > 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.
> > > > >
> > > > > Signed-off-by: Piotr Kubaj <pkubaj at FreeBSD.org>
> > > > > ---
> > > > > 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(+)
> > > >
> > > > Reviewed-by: David Christensen <drc at linux.vnet.ibm.com>
> > >
> > > 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_*
>
>
>
>
Well, I'm adding this code for PPC, because there are build issues on powerpc64le machines running FreeBSD.
More information about the dev
mailing list