[20.11] net/cxgbe build failure with gcc 12
https://bugs.dpdk.org/show_bug.cgi?id=986
Bug ID: 986
Summary: [20.11] net/cxgbe build failure with gcc 12
Product: DPDK
Version: 20.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: core
Assignee: [email protected]
Reporter: [email protected]Target Milestone: ---
"""
$ meson --werror -Dc_args='-DRTE_ENABLE_ASSERT' --buildtype=debug build && ninja-build -C build
../../root/dpdk/drivers/net/cxgbe/cxgbe_ethdev.c: In function 'cxgbe_dev_rx_queue_setup':../../root/dpdk/drivers/net/cxgbe/cxgbe_ethdev.c:668:24: error: the comparison will always evaluate as 'true' for the address of 'fl' will never be NULL [-Werror=address]
668 | if ((&rxq->fl) != NULL)
| ^~
In file included from ../../root/dpdk/drivers/net/cxgbe/base/common.h:312,
from ../../root/dpdk/drivers/net/cxgbe/cxgbe.h:9,
from ../../root/dpdk/drivers/net/cxgbe/cxgbe_ethdev.c:37:../../root/dpdk/drivers/net/cxgbe/base/adapter.h:167:23: note: 'fl' declared here
167 | struct sge_fl fl;
| ^~
cc1: all warnings being treated as errors
"""
OS: Fedora Linux 37 (Rawhide)
gcc: 12.0.1 20220308 (Red Hat 12.0.1-0)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
https://bugs.dpdk.org/show_bug.cgi?id=986
Luca Boccassi ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|IN_PROGRESS |RESOLVED--- Comment #3 from Luca Boccassi ([email protected]) --- Fixed in 20.11.5
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.