[dpdk-dev] [PATCH] ppc64le: fix build with Clang

Stephen Hemminger stephen at networkplumber.org
Thu Jun 29 18:54:17 CEST 2023


On Thu, 14 Oct 2021 19:35:37 +0200
Piotr Kubaj <pkubaj at FreeBSD.org> wrote:

> Couple of quite common issues:
> 1. In rte_cycles.h, sys/platform/ppc.h and __ppc_get_timebase() are only for glibc.
> 2. In include/rte_atomic.h, the same issue already was encountered on arm64:
> https://mails.dpdk.org/archives/dev/2019-January/123331.html
> 3. In rte_altivec.h, defining vector to __vector is necessary.
> 4. In i40e_rxtx_vec_altivec.c, some type changes from vector unsigned long to
> vector unsigned int is necessary since clang doesn't support vector unsigned
> long very well and deprecated it.
> 
> Signed-off-by: Piotr Kubaj <pkubaj at FreeBSD.org>

This patch is several years old and DPDK has changed since then.

I suspect this patch is either out dated or moot now that DPDK has done
a more complete shift to C11 atomics. Could you please either update
or resubmit it if still relavant.


More information about the dev mailing list