[dpdk-dev] [PATCH 1/1] net/mlx4: fix build on PPC64

Christian Ehrhardt christian.ehrhardt at canonical.com
Wed Aug 28 14:30:29 CEST 2019


On Wed, Aug 14, 2019 at 1:49 AM David Christensen
<drc at linux.vnet.ibm.com> wrote:
>
> On 8/13/19 4:28 AM, Christian Ehrhardt wrote:
> > The AltiVec header file breaks boolean type:
> >
> > error: incompatible types when initializing type
> > '__vector _bool int' {aka '_vector(4) __bool int'} using type 'int'
> >
> > If __APPLE_ALTIVEC__ is defined, then bool type is redefined
> > and conflicts with stdbool.h.
> >
> > There is no good solution to fix it for the whole project without
> > breaking something else, so a workaround is inserted in mlx5 PMD.
> > This workaround is not compatible with C++ but there is no C++ in DPDK.
> >
> > Related to:
> > https://git.dpdk.org/dpdk/commit/?id=725f5dd0bfb50192a2d2341d4cc69084c2c4e03d
> >
> > Change-Id: Iceb058c07086def4176c5ab199ca4dd5018d0340
> > Signed-off-by: Christian Ehrhardt <christian.ehrhardt at canonical.com>
>
> Tested-by: David Christensen <drc at linux.vnet.ibm.com>

Thanks David, ping for considering inclusion into 19.11 ?

-- 
Christian Ehrhardt
Software Engineer, Ubuntu Server
Canonical Ltd


More information about the dev mailing list