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

2020-03-04 Thread David Marchand
On Wed, Feb 5, 2020 at 1:51 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 didn

[dpdk-dev] [PATCH 0/3] 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