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

2020-03-04 Thread David Marchand
On Wed, Mar 4, 2020 at 10:37 AM David Marchand wrote: > > On Wed, Feb 5, 2020 at 2:47 PM Timothy Redaelli 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 htt

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

2020-03-04 Thread David Marchand
On Wed, Feb 5, 2020 at 2:47 PM Timothy Redaelli 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 di

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

2020-02-05 Thread Timothy Redaelli
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 use