+David Christensen On Tue, Aug 01, 2023 at 01:47:19PM +0000, Ali Alnubani wrote: > > -----Original Message----- > > From: Bruce Richardson <bruce.richard...@intel.com> > > Sent: Tuesday, August 1, 2023 4:22 PM > > To: Ali Alnubani <alia...@nvidia.com> > > Cc: David Marchand <david.march...@redhat.com>; Patrick Robb > > <pr...@iol.unh.edu>; Tyler Retzlaff <roret...@linux.microsoft.com>; > > dev@dpdk.org; Morten Brørup <m...@smartsharesystems.com>; NBU- > > Contact-Thomas Monjalon (EXTERNAL) <tho...@monjalon.net> > > Subject: Re: [PATCH v3] build: update DPDK to use C11 standard > > > > On Tue, Aug 01, 2023 at 12:42:36PM +0000, Ali Alnubani wrote: > > <snip> > > > > > > On Ubuntu 20.04 while cross compiling for ppc64le with powerpc64le-linux- > > gnu-gcc 9.4, I see: > > > > > > [..] > > > lib/acl/acl_run_altivec.h:44:16: error: two or more data types in > > > declaration > > specifiers > > > [..] > > > lib/acl/acl_run_altivec.h:44:2: error: use of boolean types in AltiVec > > > types is > > invalid > > > [..] > > > error: incompatible types when assigning to type '__vector unsigned char' > > {aka '__vector(16) unsigned char'} from type '__vector __bool int' {aka > > '__vector(4) __bool int'} > > > [..] > > > lib/acl/acl_run_altivec.h:66:4: error: invalid parameter combination for > > AltiVec intrinsic '__builtin_vec_sel' > > > [..] > > > > > Hi Ali, > > > > where can I get the full log for this error? Is it recorded in patchwork > > under a particular test set? I see compile runs for loongarch and > > aarch(64), but nothing listed for PPC. > > Hello Bruce, > > I run this build internally. Attaching build log with more info about the > environment. > > Note: I'm using an out-of-tree cross file because the in-tree one doesn't set > binaries.pkgconfig.
<snip> > In file included from ../../root/dpdk/lib/acl/acl_run_altivec.c:6: > ../../root/dpdk/lib/acl/acl_run_altivec.h: In function > 'resolve_priority_altivec': > ../../root/dpdk/lib/acl/acl_run_altivec.h:44:16: error: two or more data > types in declaration specifiers > 44 | __vector bool int selector; > | ^~~ > ../../root/dpdk/lib/acl/acl_run_altivec.h:44:2: error: use of boolean types > in AltiVec types is invalid > 44 | __vector bool int selector; > | ^~~~~~~~ I don't know anything about altivec, unfortunately, and the use of "bool int" together looks very strange. Adding PPC maintainer to thread. David, can you perhaps help out with these issues? Thanks, /Bruce