https://bugs.dpdk.org/show_bug.cgi?id=691
Bug ID: 691 Summary: test-pmd build failure on Fedora 35 with gcc 11 Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: testpmd Assignee: dev@dpdk.org Reporter: alia...@nvidia.com Target Milestone: --- """ $ meson --werror --buildtype=debugoptimized -Ddisable_drivers=net/ice,net/tap build && ninja -C build ... ... [2584/2587] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o FAILED: app/dpdk-testpmd.p/test-pmd_config.c.o ccache cc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/cmdline -I../lib/cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Ilib/bitratestats -I../lib/bitratestats -Ilib/pdump -I../lib/pdump -Ilib/latencystats -I../lib/latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/hash -I../lib/hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/security -I../lib/security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/bpf -I../lib/bpf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -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 -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_config.c.o -MF app/dpdk-testpmd.p/test-pmd_config.c.o.d -o app/dpdk-testpmd.p/test-pmd_config.c.o -c ../app/test-pmd/config.c ../app/test-pmd/config.c: In function 'port_action_handle_query': ../app/test-pmd/config.c:1680:51: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1680 | ct->last_window, ct->last_end); | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1680:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1680 | ct->last_window, ct->last_end); | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1679:64: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1679 | ct->last_index, ct->last_seq, ct->last_ack, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1679:50: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1679 | ct->last_index, ct->last_seq, ct->last_ack, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1679:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1679 | ct->last_index, ct->last_seq, ct->last_ack, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1678:54: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1678 | ct->max_ack_window, ct->retransmission_limit, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1678:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1678 | ct->max_ack_window, ct->retransmission_limit, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1677:52: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1677 | ct->liberal_mode, ct->state, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1677:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1677 | ct->liberal_mode, ct->state, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1676:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1676 | ct->last_direction ? "Original" : "Reply", | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1675:53: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1675 | ct->selective_ack, ct->challenge_ack_passed, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1675:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1675 | ct->selective_ack, ct->challenge_ack_passed, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1674:46: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1674 | ct->enable, ct->live_connection, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1674:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1674 | ct->enable, ct->live_connection, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1672:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1672 | ct->peer_port, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1692:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1692 | ct->original_dir.max_ack); | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1691:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1691 | ct->original_dir.max_win, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1690:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1690 | ct->original_dir.reply_end, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1689:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1689 | ct->original_dir.sent_end, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1688:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1688 | ct->original_dir.data_unacked, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1687:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1687 | ct->original_dir.last_ack_seen, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1686:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1686 | ct->original_dir.close_initiated, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1685:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1685 | ct->original_dir.scale, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1702:57: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1702 | ct->reply_dir.max_win, ct->reply_dir.max_ack); | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1702:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1702 | ct->reply_dir.max_win, ct->reply_dir.max_ack); | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1701:58: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1701 | ct->reply_dir.sent_end, ct->reply_dir.reply_end, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1701:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1701 | ct->reply_dir.sent_end, ct->reply_dir.reply_end, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1700:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1700 | ct->reply_dir.data_unacked, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1699:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1699 | ct->reply_dir.last_ack_seen, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1698:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1698 | ct->reply_dir.close_initiated, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ ../app/test-pmd/config.c:1697:34: error: array subscript 'struct rte_flow_action_conntrack[0]' is partly outside array bounds of 'uint64_t[1]' {aka 'long unsigned int[1]'} [-Werror=array-bounds] 1697 | ct->reply_dir.scale, | ^~ ../app/test-pmd/config.c:1621:18: note: while referencing 'default_data' 1621 | uint64_t default_data; | ^~~~~~~~~~~~ cc1: all warnings being treated as errors """ Reproduces on v21.05-rc1. Note: The following patch applied to resolve a build failure in acl: https://patches.dpdk.org/project/dpdk/patch/20210426133519.4777-1-konstantin.anan...@intel.com/ net/ice and net/tap are disabled in my command due to #678 and #690. OS: Fedora release 35 (Rawhide) gcc: 11.0.1 meson: 0.57.1 ninja-build: 1.10.2 -- You are receiving this mail because: You are the assignee for the bug.