[dpdk-dev] [PATCH 0/3] mlx: fix build with -fno-common (gcc 10)
Thomas Monjalon
thomas at monjalon.net
Tue Apr 7 02:19:32 CEST 2020
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
> > anyway.
>
> Series-acked-by: Matan Azrad <matan at mellanox.com>
>
> > Thomas Monjalon (3):
> > common/mlx5: split glue initialization
> > common/mlx5: fix build with -fno-common
> > net/mlx4: fix build with -fno-common
It seems these patches are also fixing usage of glue dlopen
with PMD as shared library.
We should add Cc: stable at dpdk.org and identify a root cause.
More information about the dev
mailing list