DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 986] [20.11] net/cxgbe build failure with gcc 12
Date: Wed, 30 Mar 2022 06:39:51 +0000	[thread overview]
Message-ID: <bug-986-3@http.bugs.dpdk.org/> (raw)

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.

             reply	other threads:[~2022-03-30  6:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-30  6:39 bugzilla [this message]
2022-04-04 10:29 ` bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-986-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).