Re: [dpdk-dev] [PATCH v3 0/3] mlx: fix build with -fno-common (gcc 10)

2020-04-12 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Thomas Monjalon > Sent: Wednesday, April 8, 2020 3:09 AM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v3 0/3] mlx: fix build with -fno-common (gcc 10) > > In GCC 10, -fno-common will be the default. > The

[dpdk-dev] [PATCH v3 0/3] mlx: fix build with -fno-common (gcc 10)

2020-04-07 Thread Thomas Monjalon
In GCC 10, -fno-common will be the default. There are 2 ways of solving issues: - add -fcommon - stop allocating variables in .h files In this patchset, the variables are declared extern, because it is cleaner anyway. v2: do not initialize global variables and Cc stable v3: fix rebase Thom