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

2020-04-06 Thread Thomas Monjalon
17/03/2020 09:34, Matan Azrad: > From: 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 > >

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

2020-03-17 Thread Matan Azrad
From: 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. > > Series-acked-by: Matan Azrad

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

2020-02-10 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. Thomas Monjalon (3): common/mlx5: split glue initialization common/mlx