* |FAILURE| pw134173-134175 [PATCH] [v2, 3/3] eal: replace out of bounds VLA with static_assert
@ 2023-11-13 17:55 dpdklab
0 siblings, 0 replies; only message in thread
From: dpdklab @ 2023-11-13 17:55 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
Test-Label: iol-testing
Test-Status: FAILURE
http://dpdk.org/patch/134173
_build patch failure_
Submitter: Stephen Hemminger <stephen@networkplumber.org>
Date: Monday, November 13 2023 17:06:05
Applied on: CommitID:d677a3eb1b4e2d38c193fabd755dac30ee04c2df
Apply patch set 134173-134175 failed:
[1/814] Linking static target drivers/libtmp_rte_net_qede.a.
[2/814] Compiling C object 'drivers/a715181@@rte_net_ring@sha/meson-generated_.._rte_net_ring.pmd.c.o'.
[3/814] Compiling C object 'drivers/a715181@@rte_net_ring@sta/meson-generated_.._rte_net_ring.pmd.c.o'.
[4/814] Linking static target drivers/librte_net_ring.a.
[5/814] Linking target drivers/librte_common_cnxk.so.24.0.
[6/814] Compiling C object 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_service.c.o'.
[7/814] Compiling C object 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_ef10_rx.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_ef10_rx.c.o
cc -Idrivers/a715181@@tmp_rte_net_sfc@sta -Idrivers -I../drivers -Idrivers/net/sfc -I../drivers/net/sfc -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/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/sfc_efx -I../drivers/common/sfc_efx -Idrivers/common/sfc_efx/base -I../drivers/common/sfc_efx/base -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winva
lid-pch -Wextra -std=c11 -O3 -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 -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -Wdisabled-optimization -Waggregate-return -Wbad-function-cast -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sfc -MD -MQ 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_ef10_rx.c.o' -MF 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_ef10_rx.c.o.d' -o 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_ef10_rx.c.o' -c ../drivers/net/sfc/sfc_ef10_rx.c
In file included from ../lib/eal/include/rte_stdatomic.h:8,
from ../lib/eal/include/generic/rte_atomic.h:19,
from ../lib/eal/x86/include/rte_atomic.h:16,
from ../lib/eal/include/generic/rte_pause.h:19,
from ../lib/eal/x86/include/rte_pause.h:12,
from ../lib/eal/include/generic/rte_spinlock.h:25,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/mempool/rte_mempool.h:43,
from ../lib/mbuf/rte_mbuf.h:38,
from ../drivers/net/sfc/sfc_ef10_rx.c:16:
../drivers/net/sfc/sfc_ef10_rx_ev.h: In function 'sfc_ef10_rx_ev_to_offloads':
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_ef10_rx_ev.h:142:4: note: in expansion of macro 'RTE_BUILD_BUG_ON'
142 | RTE_BUILD_BUG_ON(ESE_FZ_L4_CLASS_TCP != ESE_DE_L4_CLASS_TCP);
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_ef10_rx_ev.h:150:4: note: in expansion of macro 'RTE_BUILD_BUG_ON'
150 | RTE_BUILD_BUG_ON(ESE_FZ_L4_CLASS_UDP != ESE_DE_L4_CLASS_UDP);
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_ef10_rx_ev.h:158:4: note: in expansion of macro 'RTE_BUILD_BUG_ON'
158 | RTE_BUILD_BUG_ON(ESE_FZ_L4_CLASS_UNKNOWN !=
| ^~~~~~~~~~~~~~~~
[8/814] Compiling C object 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_flow.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_flow.c.o
cc -Idrivers/a715181@@tmp_rte_net_sfc@sta -Idrivers -I../drivers -Idrivers/net/sfc -I../drivers/net/sfc -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/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/sfc_efx -I../drivers/common/sfc_efx -Idrivers/common/sfc_efx/base -I../drivers/common/sfc_efx/base -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winva
lid-pch -Wextra -std=c11 -O3 -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 -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -Wdisabled-optimization -Waggregate-return -Wbad-function-cast -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sfc -MD -MQ 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_flow.c.o' -MF 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_flow.c.o.d' -o 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_flow.c.o' -c ../drivers/net/sfc/sfc_flow.c
In file included from ../lib/eal/include/generic/rte_pause.h:16,
from ../lib/eal/x86/include/rte_pause.h:12,
from ../lib/eal/include/generic/rte_spinlock.h:25,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/include/generic/rte_power_intrinsics.h:11,
from ../lib/eal/x86/include/rte_power_intrinsics.h:14,
from ../lib/ethdev/rte_ethdev.h:173,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/sfc/sfc_flow.c:15:
../drivers/net/sfc/sfc_flow.c: In function 'sfc_flow_parse_actions':
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.c:1635:4: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
1635 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_VOID,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.c:1640:4: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
1640 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_QUEUE,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.c:1655:4: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
1655 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_RSS,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.c:1670:4: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
1670 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_DROP,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.c:1680:4: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
1680 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_FLAG,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.c:1703:4: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
1703 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_MARK,
| ^~~~~~~~~~~~~~~~~~~~~~
[9/814] Compiling C object 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_nic_dma.c.o'.
[10/814] Compiling C object 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_rx.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_rx.c.o
cc -Idrivers/a715181@@tmp_rte_net_sfc@sta -Idrivers -I../drivers -Idrivers/net/sfc -I../drivers/net/sfc -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/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/sfc_efx -I../drivers/common/sfc_efx -Idrivers/common/sfc_efx/base -I../drivers/common/sfc_efx/base -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winva
lid-pch -Wextra -std=c11 -O3 -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 -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -Wdisabled-optimization -Waggregate-return -Wbad-function-cast -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sfc -MD -MQ 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_rx.c.o' -MF 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_rx.c.o.d' -o 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_rx.c.o' -c ../drivers/net/sfc/sfc_rx.c
In file included from ../lib/eal/include/rte_stdatomic.h:8,
from ../lib/eal/include/generic/rte_atomic.h:19,
from ../lib/eal/x86/include/rte_atomic.h:16,
from ../lib/eal/include/generic/rte_pause.h:19,
from ../lib/eal/x86/include/rte_pause.h:12,
from ../lib/eal/include/generic/rte_spinlock.h:25,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/mempool/rte_mempool.h:43,
from ../drivers/net/sfc/sfc_rx.c:10:
../drivers/net/sfc/sfc_rx.c: In function 'sfc_efx_rx_desc_flags_to_offload_flags':
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_rx.c:158:3: note: in expansion of macro 'RTE_BUILD_BUG_ON'
158 | RTE_BUILD_BUG_ON(RTE_MBUF_F_RX_IP_CKSUM_UNKNOWN != 0);
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_rx.c:175:3: note: in expansion of macro 'RTE_BUILD_BUG_ON'
175 | RTE_BUILD_BUG_ON(RTE_MBUF_F_RX_L4_CKSUM_UNKNOWN != 0);
| ^~~~~~~~~~~~~~~~
[11/814] Compiling C object 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_ef10_essb_rx.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_ef10_essb_rx.c.o
cc -Idrivers/a715181@@tmp_rte_net_sfc@sta -Idrivers -I../drivers -Idrivers/net/sfc -I../drivers/net/sfc -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/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/sfc_efx -I../drivers/common/sfc_efx -Idrivers/common/sfc_efx/base -I../drivers/common/sfc_efx/base -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winva
lid-pch -Wextra -std=c11 -O3 -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 -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -Wdisabled-optimization -Waggregate-return -Wbad-function-cast -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sfc -MD -MQ 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_ef10_essb_rx.c.o' -MF 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_ef10_essb_rx.c.o.d' -o 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_ef10_essb_rx.c.o' -c ../drivers/net/sfc/sfc_ef10_essb_rx.c
In file included from ../lib/eal/include/rte_stdatomic.h:8,
from ../lib/eal/include/generic/rte_atomic.h:19,
from ../lib/eal/x86/include/rte_atomic.h:16,
from ../lib/eal/include/generic/rte_pause.h:19,
from ../lib/eal/x86/include/rte_pause.h:12,
from ../lib/eal/include/generic/rte_spinlock.h:25,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/mempool/rte_mempool.h:43,
from ../lib/mbuf/rte_mbuf.h:38,
from ../drivers/net/sfc/sfc_ef10_essb_rx.c:15:
../drivers/net/sfc/sfc_ef10_rx_ev.h: In function 'sfc_ef10_rx_ev_to_offloads':
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_ef10_rx_ev.h:142:4: note: in expansion of macro 'RTE_BUILD_BUG_ON'
142 | RTE_BUILD_BUG_ON(ESE_FZ_L4_CLASS_TCP != ESE_DE_L4_CLASS_TCP);
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_ef10_rx_ev.h:150:4: note: in expansion of macro 'RTE_BUILD_BUG_ON'
150 | RTE_BUILD_BUG_ON(ESE_FZ_L4_CLASS_UDP != ESE_DE_L4_CLASS_UDP);
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_ef10_rx_ev.h:158:4: note: in expansion of macro 'RTE_BUILD_BUG_ON'
158 | RTE_BUILD_BUG_ON(ESE_FZ_L4_CLASS_UNKNOWN !=
| ^~~~~~~~~~~~~~~~
[12/814] Compiling C object 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_flow_rss.c.o'.
[13/814] Compiling C object 'drivers/a715181@@tmp_rte_net_softnic@sta/net_softnic_rte_eth_softnic_mempool.c.o'.
[14/814] Compiling C object 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_flow_tunnel.c.o'.
[15/814] Compiling C object 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_mae.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_mae.c.o
cc -Idrivers/a715181@@tmp_rte_net_sfc@sta -Idrivers -I../drivers -Idrivers/net/sfc -I../drivers/net/sfc -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/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/sfc_efx -I../drivers/common/sfc_efx -Idrivers/common/sfc_efx/base -I../drivers/common/sfc_efx/base -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winva
lid-pch -Wextra -std=c11 -O3 -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 -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -Wdisabled-optimization -Waggregate-return -Wbad-function-cast -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sfc -MD -MQ 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_mae.c.o' -MF 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_mae.c.o.d' -o 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_mae.c.o' -c ../drivers/net/sfc/sfc_mae.c
In file included from ../lib/eal/include/rte_stdatomic.h:8,
from ../lib/eal/include/generic/rte_atomic.h:19,
from ../lib/eal/x86/include/rte_atomic.h:16,
from ../lib/eal/include/generic/rte_pause.h:19,
from ../lib/eal/x86/include/rte_pause.h:12,
from ../lib/eal/include/generic/rte_spinlock.h:25,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../drivers/common/sfc_efx/efsys.h:16,
from ../drivers/common/sfc_efx/base/efx.h:11,
from ../drivers/net/sfc/sfc_mae.c:17:
../drivers/net/sfc/sfc_mae.c: In function 'sfc_mae_rule_parse_action_vxlan_encap':
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4215:4: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4215 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ITEM_TYPE_ETH,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: expected expression before '_Static_assert'
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4217:4: note: in expansion of macro 'RTE_BUILD_BUG_ON'
4217 | RTE_BUILD_BUG_ON(offsetof(struct rte_flow_item_eth,
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4229:4: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4229 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ITEM_TYPE_VLAN,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: expected expression before '_Static_assert'
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4231:4: note: in expansion of macro 'RTE_BUILD_BUG_ON'
4231 | RTE_BUILD_BUG_ON(offsetof(struct rte_flow_item_vlan,
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4253:4: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4253 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ITEM_TYPE_IPV4,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: expected expression before '_Static_assert'
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4255:4: note: in expansion of macro 'RTE_BUILD_BUG_ON'
4255 | RTE_BUILD_BUG_ON(offsetof(struct rte_flow_item_ipv4,
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4272:4: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4272 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ITEM_TYPE_IPV6,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: expected expression before '_Static_assert'
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4274:4: note: in expansion of macro 'RTE_BUILD_BUG_ON'
4274 | RTE_BUILD_BUG_ON(offsetof(struct rte_flow_item_ipv6,
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4290:4: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4290 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ITEM_TYPE_UDP,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: expected expression before '_Static_assert'
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4292:4: note: in expansion of macro 'RTE_BUILD_BUG_ON'
4292 | RTE_BUILD_BUG_ON(offsetof(struct rte_flow_item_udp,
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4305:4: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4305 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ITEM_TYPE_VXLAN,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: expected expression before '_Static_assert'
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4307:4: note: in expansion of macro 'RTE_BUILD_BUG_ON'
4307 | RTE_BUILD_BUG_ON(offsetof(struct rte_flow_item_vxlan,
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c: In function 'sfc_mae_rule_parse_action_replayable':
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4856:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4856 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_PF,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4861:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4861 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_VF,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4866:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4866 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_PORT_ID,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4871:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4871 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_PORT_REPRESENTOR,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4885:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4885 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4891:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4891 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_DROP,
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c: In function 'sfc_mae_rule_parse_action':
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4953:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4953 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_VXLAN_DECAP,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4962:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4962 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_OF_POP_VLAN,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4967:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4967 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_SET_MAC_DST,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4975:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4975 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_SET_MAC_SRC,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4984:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4984 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_OF_DEC_NW_TTL,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: expected expression before '_Static_assert'
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4986:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4986 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_DEC_TTL,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4992:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4992 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_SET_IPV4_DST,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: expected expression before '_Static_assert'
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:4994:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
4994 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_SET_IPV4_SRC,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:5001:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
5001 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_SET_TP_DST,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: expected expression before '_Static_assert'
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:5003:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
5003 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_SET_TP_SRC,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:5009:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
5009 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_OF_PUSH_VLAN,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:5014:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
5014 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_OF_SET_VLAN_VID,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:5019:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
5019 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_OF_SET_VLAN_PCP,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:5024:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
5024 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_VXLAN_ENCAP,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:5040:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
5040 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_COUNT,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:5047:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
5047 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_INDIRECT,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:5059:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
5059 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_FLAG,
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:499:37: error: a label can only be part of a statement and a declaration is not a statement
499 | #define RTE_BUILD_BUG_ON(condition) static_assert(!(condition), #condition)
| ^~~~~~~~~~~~~
../drivers/net/sfc/sfc_flow.h:36:2: note: in expansion of macro 'RTE_BUILD_BUG_ON'
36 | RTE_BUILD_BUG_ON((_action) >= sizeof(_set) * CHAR_BIT)
| ^~~~~~~~~~~~~~~~
../drivers/net/sfc/sfc_mae.c:5072:3: note: in expansion of macro 'SFC_BUILD_SET_OVERFLOW'
5072 | SFC_BUILD_SET_OVERFLOW(RTE_FLOW_ACTION_TYPE_MARK,
| ^~~~~~~~~~~~~~~~~~~~~~
[16/814] Generating rte_net_ring.sym_chk with a meson_exe.py custom command.
[17/814] Generating rte_net_qede.pmd.c with a custom command.
[18/814] Generating symbol file 'drivers/a715181@@rte_common_cnxk@sha/librte_common_cnxk.so.24.0.symbols'.
[19/814] Compiling C object 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_repr.c.o'.
[20/814] Compiling C object 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_ef100_rx.c.o'.
[21/814] Compiling C object 'drivers/a715181@@tmp_rte_net_softnic@sta/net_softnic_rte_eth_softnic.c.o'.
[22/814] Compiling C object 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_ef100_tx.c.o'.
[23/814] Compiling C object 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_repr_proxy.c.o'.
[24/814] Compiling C object 'drivers/a715181@@tmp_rte_net_sfc@sta/net_sfc_sfc_ef10_tx.c.o'.
ninja: build stopped: subcommand failed.
https://lab.dpdk.org/results/dashboard/patchsets/28361/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-13 17:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-13 17:55 |FAILURE| pw134173-134175 [PATCH] [v2, 3/3] eal: replace out of bounds VLA with static_assert dpdklab
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).