Re: [dpdk-dev] [PATCH] ppc64le: fix build without glibc and using Clang

2021-05-20 Thread Piotr Kubaj
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

Re: [dpdk-dev] [PATCH] ppc64le: fix build without glibc and using Clang

2021-05-20 Thread Piotr Kubaj
Well, isn't FreeBSD already supported? Even https://www.dpdk.org/ mentions supporting FreeBSD. 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. > > > > > >

Re: [dpdk-dev] [PATCH] ppc64le: fix build without glibc and using Clang

2021-05-19 Thread Thomas Monjalon
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. > O

Re: [dpdk-dev] [PATCH] ppc64le: fix build without glibc and using Clang

2021-05-19 Thread Thomas Monjalon
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 > > --- > > lib/eal/ppc/include/rte_altivec.h | 3 +++ > > lib/eal/ppc/include/rte_cycles.h | 12 > > li

Re: [dpdk-dev] [PATCH] ppc64le: fix build without glibc and using Clang

2021-05-18 Thread 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 --- lib/eal/ppc/include/rte_altivec.h | 3 +++ lib/eal/ppc/include/rte_cycles.h | 12 lib/eal/ppc/rte_cycles.c | 16 3 file

[dpdk-dev] [PATCH] ppc64le: fix build without glibc and using Clang

2021-05-17 Thread Piotr Kubaj
__ppc_get_timebase() is only present when glibc is used. 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(+) diff --git a/lib/ea