[dpdk-stable] [PATCH 19.11] eal/ppc: fix bool type after altivec include
Luca Boccassi
bluca at debian.org
Mon Jun 1 12:07:15 CEST 2020
On Sun, 2020-05-31 at 15:36 +0000, Ori Kam wrote:
> [ upstream commit f5bf02df3145f95b1ee8ed9dee67f4222ac42c8c ]
>
> The AltiVec header file breaks boolean type. [1] [2]
>
> Currently the workaround was located only in mlx5 device.
> Adding the trace module caused this issue to appear again, due to
> order of includes, it keeps overriding the local fix.
>
> This patch solves this issue by resetting the bool type, immediately
> after it is being changed.
>
> [1] https://mails.dpdk.org/archives/dev/2018-August/110281.html
This patch breaks all ppc64 builds:
[ 136s] In file included from /home/abuild/rpmbuild/BUILD/dpdk-1591003733.2dff15dd5/lib/librte_eal/common/eal_common_options.c:27:
[ 136s] /home/abuild/rpmbuild/BUILD/dpdk-1591003733.2dff15dd5/ppc_64-power8-linux-gcc/include/rte_memcpy.h:12:10: fatal error: rte_altivec.h: No such file or directory
[ 136s] #include "rte_altivec.h"
--
Kind regards,
Luca Boccassi
More information about the stable
mailing list