DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 991] [19.11] net/ena build failure with gcc 12
@ 2022-04-03 11:54 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2022-04-03 11:54 UTC (permalink / raw)
  To: dev

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

            Bug ID: 991
           Summary: [19.11] net/ena build failure with gcc 12
           Product: DPDK
           Version: 19.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: alialnu@nvidia.com
  Target Milestone: ---

"""
$ meson --werror -Dc_args='-DRTE_ENABLE_ASSERT' --buildtype=debug build &&
ninja-build -C build
[..]
FAILED: drivers/libtmp_rte_pmd_ena.a.p/net_ena_ena_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_ena.a.p -Idrivers -I../../root/dpdk/drivers
-Idrivers/net/ena -I../../root/dpdk/drivers/net/ena
-I../../root/dpdk/drivers/net/ena/base
-I../../root/dpdk/drivers/net/ena/base/ena_defs -Ilib/librte_ethdev
-I../../root/dpdk/lib/librte_ethdev -I. -I../../root/dpdk -Iconfig
-I../../root/dpdk/config -Ilib/librte_eal/common/include
-I../../root/dpdk/lib/librte_eal/common/include
-I../../root/dpdk/lib/librte_eal/linux/eal/include -Ilib/librte_eal/common
-I../../root/dpdk/lib/librte_eal/common
-Ilib/librte_eal/common/include/arch/x86
-I../../root/dpdk/lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal
-I../../root/dpdk/lib/librte_eal -Ilib/librte_kvargs
-I../../root/dpdk/lib/librte_kvargs -Ilib/librte_net
-I../../root/dpdk/lib/librte_net -Ilib/librte_mbuf
-I../../root/dpdk/lib/librte_mbuf -Ilib/librte_mempool
-I../../root/dpdk/lib/librte_mempool -Ilib/librte_ring
-I../../root/dpdk/lib/librte_ring -Ilib/librte_meter
-I../../root/dpdk/lib/librte_meter -Idrivers/bus/pci
-I../../root/dpdk/drivers/bus/pci -I../../root/dpdk/drivers/bus/pci/linux
-Ilib/librte_pci -I../../root/dpdk/lib/librte_pci -Idrivers/bus/vdev
-I../../root/dpdk/drivers/bus/vdev -Ilib/librte_timer
-I../../root/dpdk/lib/librte_timer -fdiagnostics-color=always
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -g -include
rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral
-Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes
-Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned
-Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE
-DRTE_ENABLE_ASSERT -DRTE_LIBRTE_MLX4_DEBUG -DRTE_LIBRTE_MLX5_DEBUG -fPIC
-march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ
drivers/libtmp_rte_pmd_ena.a.p/net_ena_ena_ethdev.c.o -MF
drivers/libtmp_rte_pmd_ena.a.p/net_ena_ena_ethdev.c.o.d -o
drivers/libtmp_rte_pmd_ena.a.p/net_ena_ena_ethdev.c.o -c
../../root/dpdk/drivers/net/ena/ena_ethdev.c
../../root/dpdk/drivers/net/ena/ena_ethdev.c: In function 'ena_rss_reta_query':
../../root/dpdk/drivers/net/ena/ena_ethdev.c:605:66: error: the comparison will
always evaluate as 'false' for the pointer operand in 'reta_conf + 136' must
not be NULL [-Werror=address]
  605 |             (reta_size > RTE_RETA_GROUP_SIZE && ((reta_conf + 1) ==
NULL)))
      |                                                                  ^~
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] only message in thread

only message in thread, other threads:[~2022-04-03 11:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-03 11:54 [Bug 991] [19.11] net/ena build failure with gcc 12 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).