On Wed, Aug 02, 2023 at 01:31:34PM +0100, Bruce Richardson wrote: > As previously announced, DPDK 23.11 will require a C11 supporting > compiler and will use the C11 standard in all builds. > > Forcing use of the C standard, rather than the standard with > GNU extensions, means that some posix definitions which are not in > the C standard are unavailable by default. We fix this by ensuring > the correct defines or cflags are passed to the components that > need them. > > Signed-off-by: Bruce Richardson <bruce.richard...@intel.com> > Acked-by: Morten Brørup <m...@smartsharesystems.com> > Acked-by: Tyler Retzlaff <roret...@linux.microsoft.com> > --- > V5: > * Fix build issues with bool type in altivec code, due to bool type > being in C11. Use __bool for altivec-specific version instead. > Just a note on the altivec builds: from my testing on latest ubuntu with "powerpc64le-linux-gnu-gcc (Ubuntu 12.3.0-1ubuntu1~23.04)", there are quite a few warnings/errors building the current DPDK mainline. This patch doesn't fix any of those errors, but neither does it add any new ones, as far as I can see! However, we may need some more PPC fixes and updated CI coverage to catch these issues sooner in future.
/Bruce