[dpdk-dev] [PATCH 1/3] examples/vhost_blk: fix building with GCC 10
    Maxime Coquelin 
    maxime.coquelin at redhat.com
       
    Wed Feb  5 16:12:03 CET 2020
    
    
  
On 2/5/20 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.
> 
> Fixes: c19beb3f38cd ("examples/vhost_blk: introduce vhost storage sample")
> Cc: jin.yu at intel.com
> Cc: stable at dpdk.org
> Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
> ---
>  examples/vhost_blk/vhost_blk.c | 2 ++
>  examples/vhost_blk/vhost_blk.h | 4 ++--
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
    
    
More information about the dev
mailing list