DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 986] [20.11] net/cxgbe build failure with gcc 12
@ 2022-03-30  6:39 bugzilla
  2022-04-04 10:29 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2022-03-30  6:39 UTC (permalink / raw)
  To: dev

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: dev@dpdk.org
          Reporter: alialnu@nvidia.com
  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)

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 986] [20.11] net/cxgbe build failure with gcc 12
  2022-03-30  6:39 [Bug 986] [20.11] net/cxgbe build failure with gcc 12 bugzilla
@ 2022-04-04 10:29 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2022-04-04 10:29 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=986

Luca Boccassi (luca.boccassi@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|IN_PROGRESS                 |RESOLVED

--- Comment #3 from Luca Boccassi (luca.boccassi@gmail.com) ---
Fixed in 20.11.5

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-04 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-30  6:39 [Bug 986] [20.11] net/cxgbe build failure with gcc 12 bugzilla
2022-04-04 10:29 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).