[PATCH v4] build: update DPDK to use C11 standard
Bruce Richardson
bruce.richardson at intel.com
Tue Aug 1 17:50:45 CEST 2023
On Tue, Aug 01, 2023 at 03:47:03PM +0000, Ali Alnubani wrote:
> > -----Original Message-----
> > From: Bruce Richardson <bruce.richardson at intel.com>
> > Sent: Tuesday, August 1, 2023 4:16 PM
> > To: dev at dpdk.org
> > Cc: Bruce Richardson <bruce.richardson at intel.com>; Morten Brørup
> > <mb at smartsharesystems.com>; Tyler Retzlaff
> > <roretzla at linux.microsoft.com>
> > Subject: [PATCH v4] build: update DPDK to use C11 standard
> >
> > 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.richardson at intel.com>
> > Acked-by: Morten Brørup <mb at smartsharesystems.com>
> > Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
> > ---
>
> By the way, I also see this build failure in RHEL 7:
>
It's my understanding that we no longer support the default compilers in
RHEL 7, since gcc 4.8.5 doesn't support the necessary c11 standard atomics.
/Bruce
More information about the dev
mailing list