cfacbcb5a2
gcc 10 issues warnings about the use of rearm_data marker from struct rte_mbuf. e.g. ../drivers/net/enic/enic_rxtx_vec_avx2.c: In function ‘rx_one’: ../drivers/net/enic/enic_rxtx_vec_avx2.c:21:2: warning: array subscript 0 is outside the bounds of an interior zero-length array ‘RTE_MARKER64’ {aka ‘long unsigned int[0]’} [-Wzero-length-bounds] 21 | *(uint64_t *)&mb->rearm_data = enic->mbuf_initializer; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/librte_mbuf/rte_mbuf.h:45, from ../drivers/net/enic/enic_rxtx_vec_avx2.c:6: ../lib/librte_mbuf/rte_mbuf_core.h:484:15: note: while referencing ‘rearm_data’ 484 | RTE_MARKER64 rearm_data; | Disable this warning for gcc 10 in order to allow v20.05 to build without changes to struct rte_mbuf. Bugzilla ID: 396 Cc: stable@dpdk.org Signed-off-by: Kevin Traynor <ktraynor@redhat.com> Reviewed-by: David Marchand <david.marchand@redhat.com> |
||
---|---|---|
.. | ||
arm | ||
ppc | ||
x86 | ||
common_armv8a_linux | ||
common_base | ||
common_freebsd | ||
common_linux | ||
defconfig_arm64-armada-linux-gcc | ||
defconfig_arm64-armada-linuxapp-gcc | ||
defconfig_arm64-armv8a-linux-clang | ||
defconfig_arm64-armv8a-linux-gcc | ||
defconfig_arm64-armv8a-linuxapp-clang | ||
defconfig_arm64-armv8a-linuxapp-gcc | ||
defconfig_arm64-bluefield-linux-gcc | ||
defconfig_arm64-bluefield-linuxapp-gcc | ||
defconfig_arm64-dpaa-linux-gcc | ||
defconfig_arm64-dpaa-linuxapp-gcc | ||
defconfig_arm64-emag-linux-gcc | ||
defconfig_arm64-emag-linuxapp-gcc | ||
defconfig_arm64-n1sdp-linux-gcc | ||
defconfig_arm64-n1sdp-linuxapp-gcc | ||
defconfig_arm64-octeontx2-linux-gcc | ||
defconfig_arm64-octeontx2-linuxapp-gcc | ||
defconfig_arm64-stingray-linux-gcc | ||
defconfig_arm64-stingray-linuxapp-gcc | ||
defconfig_arm64-thunderx2-linux-gcc | ||
defconfig_arm64-thunderx2-linuxapp-gcc | ||
defconfig_arm64-thunderx-linux-gcc | ||
defconfig_arm64-thunderx-linuxapp-gcc | ||
defconfig_arm64-xgene1-linux-gcc | ||
defconfig_arm64-xgene1-linuxapp-gcc | ||
defconfig_arm-armv7a-linux-gcc | ||
defconfig_arm-armv7a-linuxapp-gcc | ||
defconfig_i686-native-linux-gcc | ||
defconfig_i686-native-linux-icc | ||
defconfig_i686-native-linuxapp-gcc | ||
defconfig_i686-native-linuxapp-icc | ||
defconfig_ppc_64-power8-linux-gcc | ||
defconfig_ppc_64-power8-linuxapp-gcc | ||
defconfig_x86_64-native-bsdapp-clang | ||
defconfig_x86_64-native-bsdapp-gcc | ||
defconfig_x86_64-native-freebsd-clang | ||
defconfig_x86_64-native-freebsd-gcc | ||
defconfig_x86_64-native-linux-clang | ||
defconfig_x86_64-native-linux-gcc | ||
defconfig_x86_64-native-linux-icc | ||
defconfig_x86_64-native-linuxapp-clang | ||
defconfig_x86_64-native-linuxapp-gcc | ||
defconfig_x86_64-native-linuxapp-icc | ||
defconfig_x86_x32-native-linux-gcc | ||
defconfig_x86_x32-native-linuxapp-gcc | ||
meson.build | ||
rte_config.h |