[dpdk-dev] [PATCH 0/3] examples: fix building with GCC 10

David Marchand david.marchand at redhat.com
Wed Mar 4 11:17:48 CET 2020


On Wed, Mar 4, 2020 at 10:37 AM David Marchand
<david.marchand at redhat.com> wrote:
>
> On Wed, Feb 5, 2020 at 2:47 PM Timothy Redaelli <tredaelli at redhat.com> wrote:
> >
> > GCC 10 defaults to -fno-common, this means a linker error will now be
> > reported if the same global variable is defined in more than one
> > compilation unit.
> >
> > See https://gcc.gnu.org/gcc-10/porting_to.html for more informations.
> >
> > I didn't put -fcommon to CFLAGS since:
> >   Compiling with -fno-common is useful on targets for which it provides
> >   better performance, or if you wish to verify that the program will work
> >   on other systems that always treat uninitialized variable definitions
> >   this way.
> > from gcc man page
>
> For the series,
> Acked-by: David Marchand <david.marchand at redhat.com>

Series applied, thanks.


-- 
David Marchand



More information about the dev mailing list