|FAILURE| pw122059 [PATCH 7/7] dpaax: replace zero length array with flex array
0-day Robot
robot at bytheb.org
Fri Jan 13 23:39:23 CET 2023
From: robot at bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/122059/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/3915227647
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-abi+doc+tests" failed at step Build and test
"ubuntu-20.04-clang-asan+doc+tests" failed at step Build and test
"fedora:35-gcc" failed at step Build
"fedora:35-clang" failed at step Build
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-abi+doc+tests" at step Build and test
####################################################################################
[1765/4279] Linking static target drivers/libtmp_rte_net_mlx4.a.
[1766/4279] Generating rte_net_mlx4.pmd.c with a custom command.
[1767/4279] Compiling C object 'drivers/a715181@@rte_net_mlx4 at sta/meson-generated_.._rte_net_mlx4.pmd.c.o'.
[1768/4279] Linking static target drivers/librte_net_mlx4.a.
[1769/4279] Compiling C object 'drivers/a715181@@rte_net_mlx4 at sha/meson-generated_.._rte_net_mlx4.pmd.c.o'.
[1770/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_aso.c.o'.
[1771/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_ethdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_ethdev.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_net_mlx5 at sta -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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/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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -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 -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pedantic -DPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_ethdev.c.o' -c ../drivers/net/mlx5/mlx5_ethdev.c
In file included from ../drivers/net/mlx5/mlx5_ethdev.c:27:
../drivers/net/mlx5/mlx5_tx.h:187:23: error: invalid use of structure with flexible array member [-Werror=pedantic]
187 | struct mlx5_txq_data txq; /* Data path structure. */
| ^~~
cc1: all warnings being treated as errors
[1772/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow_meter.c.o'.
[1773/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_net_mlx5 at sta -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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/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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -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 -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pedantic -DPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow.c.o' -MF 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow.c.o.d' -o 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow.c.o' -c ../drivers/net/mlx5/mlx5_flow.c
In file included from ../drivers/net/mlx5/mlx5_flow.c:32:
../drivers/net/mlx5/mlx5_tx.h:187:23: error: invalid use of structure with flexible array member [-Werror=pedantic]
187 | struct mlx5_txq_data txq; /* Data path structure. */
| ^~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-abi+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
[1750/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx4 at sta/net_mlx4_mlx4_intr.c.o'.
[1751/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx4 at sta/net_mlx4_mlx4_rxq.c.o'.
[1752/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx4 at sta/net_mlx4_mlx4_mp.c.o'.
[1753/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx4 at sta/net_mlx4_mlx4_mr.c.o'.
[1754/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx4 at sta/net_mlx4_mlx4_rxtx.c.o'.
[1755/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx4 at sta/net_mlx4_mlx4_txq.c.o'.
[1756/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx4 at sta/net_mlx4_mlx4_utils.c.o'.
[1757/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx4 at sta/net_mlx4_mlx4_glue.c.o'.
[1758/4279] Linking static target drivers/libtmp_rte_net_mlx4.a.
[1759/4279] Generating rte_net_mlx4.pmd.c with a custom command.
[1760/4279] Compiling C object 'drivers/a715181@@rte_net_mlx4 at sta/meson-generated_.._rte_net_mlx4.pmd.c.o'.
[1761/4279] Compiling C object 'drivers/a715181@@rte_net_mlx4 at sha/meson-generated_.._rte_net_mlx4.pmd.c.o'.
[1762/4279] Linking static target drivers/librte_net_mlx4.a.
[1763/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow.c.o
ccache clang -Idrivers/a715181@@tmp_rte_net_mlx5 at sta -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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/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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -Xclang -fcolor-diagnostics -fsanitize=address -fno-omit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pedantic -DPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow.c.o' -MF 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow.c.o.d' -o 'drivers/a715181@@tmp_rte_net_mlx5 at sta/net_mlx5_mlx5_flow.c.o' -c ../drivers/net/mlx5/mlx5_flow.c
In file included from ../drivers/net/mlx5/mlx5_flow.c:32:
../drivers/net/mlx5/mlx5_tx.h:187:23: error: 'txq' may not be nested in a struct due to flexible array member [-Werror,-Wflexible-array-extensions]
struct mlx5_txq_data txq; /* Data path structure. */
^
1 error generated.
[1764/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_ixgbe at sta/net_ixgbe_ixgbe_rxtx.c.o'.
[1765/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_ixgbe at sta/net_ixgbe_ixgbe_rxtx_vec_sse.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "fedora:35-gcc" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:35-gcc" at step Build
####################################################################################
####################################################################################
#### [Begin job log] "fedora:35-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:35-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------
More information about the test-report
mailing list