From: 0-day Robot <robot@bytheb.org>
To: test-report@dpdk.org
Cc: andremue@linux.microsoft.com, robot@bytheb.org
Subject: |FAILURE| pw150631 [PATCH v17 25/25] config: add -Wvla project-wide
Date: Thu, 30 Jan 2025 10:23:49 -0500 [thread overview]
Message-ID: <20250130152349.3592100-1-robot@bytheb.org> (raw)
In-Reply-To: <1738247561-26955-26-git-send-email-andremue@linux.microsoft.com>
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/150631/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/13054734545
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-22.04-gcc-stdatomic" failed at step Build and test
"ubuntu-22.04-clang-stdatomic" failed at step Build and test
"ubuntu-22.04-gcc-abi+debug+doc+examples+tests" failed at step Build and test
"ubuntu-22.04-clang-asan+doc+tests" failed at step Build and test
"ubuntu-22.04-gcc-static-i386" failed at step Build and test
"ubuntu-22.04-gcc-shared-aarch64" failed at step Build and test
"ubuntu-22.04-gcc-ppc64le" failed at step Build and test
"ubuntu-22.04-gcc-riscv64" failed at step Build and test
"fedora:39-gcc" failed at step Build
"fedora:39-clang" failed at step Build
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
[817/3216] Generating rte_common_cnxk.pmd.c with a custom command
[818/3216] Compiling C object drivers/librte_common_cnxk.so.25.1.p/meson-generated_.._rte_common_cnxk.pmd.c.o
[819/3216] Compiling C object drivers/librte_common_cnxk.a.p/meson-generated_.._rte_common_cnxk.pmd.c.o
[820/3216] Linking static target drivers/librte_common_cnxk.a
[821/3216] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_common_os.c.o
[822/3216] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_mp.c.o
[823/3216] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common.c.o
[824/3216] Compiling C object drivers/libtmp_rte_common_nfp.a.p/common_nfp_nfp_dev.c.o
[825/3216] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_common_auxiliary.c.o
[826/3216] Compiling C object drivers/libtmp_rte_common_nfp.a.p/common_nfp_nfp_common_pci.c.o
[827/3216] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o
FAILED: drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o
ccache gcc -Idrivers/libtmp_rte_common_mlx5.a.p -Idrivers -I../drivers -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Ilib/hash -I../lib/hash -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 -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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/rcu -I../lib/rcu -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/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 -std=c11 -O2 -g -include rte_config.h -Wvla -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pedantic -DPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.mlx5 -MD -MQ drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o -MF drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o.d -o drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o -c ../drivers/common/mlx5/linux/mlx5_nl.c
../drivers/common/mlx5/linux/mlx5_nl.c: In function ‘mlx5_nl_mac_addr_sync’:
../drivers/common/mlx5/linux/mlx5_nl.c:794:16: error: ISO C90 forbids variable length array ‘macs’ [-Werror=vla]
794 | struct rte_ether_addr macs[n];
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[828/3216] Compiling C object drivers/libtmp_rte_common_nfp.a.p/common_nfp_nfp_common_log.c.o
[829/3216] Compiling C object drivers/libtmp_rte_common_nfp.a.p/common_nfp_nfp_common.c.o
[830/3216] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_devx_cmds.c.o
[831/3216] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[832/3216] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################
[799/3216] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_rvu_lf.c.o
[800/3216] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_ree.c.o
[801/3216] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_security.c.o
[802/3216] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_utils.c.o
[803/3216] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_telemetry_bphy.c.o
[804/3216] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_telemetry_npa.c.o
[805/3216] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_telemetry_sso.c.o
[806/3216] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_telemetry_nix.c.o
[807/3216] Linking static target drivers/libtmp_rte_common_cnxk.a
[808/3216] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common.c.o
[809/3216] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_devx.c.o
[810/3216] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o
FAILED: drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o
ccache clang -Idrivers/libtmp_rte_common_mlx5.a.p -Idrivers -I../drivers -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Ilib/hash -I../lib/hash -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 -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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/rcu -I../lib/rcu -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wvla -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pedantic -DPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.mlx5 -MD -MQ drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o -MF drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o.d -o drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o -c ../drivers/common/mlx5/linux/mlx5_nl.c
../drivers/common/mlx5/linux/mlx5_nl.c:794:29: error: variable length array used [-Werror,-Wvla]
struct rte_ether_addr macs[n];
^
1 error generated.
[811/3216] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_mr.c.o
[812/3216] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_malloc.c.o
[813/3216] Generating rte_common_cnxk.pmd.c with a custom command
[814/3216] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_common_os.c.o
[815/3216] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-abi+debug+doc+examples+tests" at step Build and test
####################################################################################
[820/6652] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_telemetry_bphy.c.o
[821/6652] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_telemetry_npa.c.o
[822/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_common_verbs.c.o
[823/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_malloc.c.o
[824/6652] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_telemetry_nix.c.o
[825/6652] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_telemetry_sso.c.o
[826/6652] Linking static target drivers/libtmp_rte_common_cnxk.a
[827/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common.c.o
[828/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_devx.c.o
[829/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_utils.c.o
[830/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o
FAILED: drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o
ccache gcc -Idrivers/libtmp_rte_common_mlx5.a.p -Idrivers -I../drivers -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Ilib/hash -I../lib/hash -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 -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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/rcu -I../lib/rcu -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/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 -std=c11 -g -include rte_config.h -Wvla -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pedantic -DPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.mlx5 -MD -MQ drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o -MF drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o.d -o drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o -c ../drivers/common/mlx5/linux/mlx5_nl.c
../drivers/common/mlx5/linux/mlx5_nl.c: In function ‘mlx5_nl_mac_addr_sync’:
../drivers/common/mlx5/linux/mlx5_nl.c:794:16: error: ISO C90 forbids variable length array ‘macs’ [-Werror=vla]
794 | struct rte_ether_addr macs[n];
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[831/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_pci.c.o
[832/6652] Generating rte_common_cnxk.pmd.c with a custom command
[833/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_common_auxiliary.c.o
[834/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_mr.c.o
[835/6652] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-abi+debug+doc+examples+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test
####################################################################################
[816/6652] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_telemetry_bphy.c.o
[817/6652] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_utils.c.o
[818/6652] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_security.c.o
[819/6652] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_telemetry_sso.c.o
[820/6652] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_telemetry_npa.c.o
[821/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_common_auxiliary.c.o
[822/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_pci.c.o
[823/6652] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_telemetry_nix.c.o
[824/6652] Linking static target drivers/libtmp_rte_common_cnxk.a
[825/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_devx.c.o
[826/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_utils.c.o
[827/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o
FAILED: drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o
ccache clang -Idrivers/libtmp_rte_common_mlx5.a.p -Idrivers -I../drivers -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Ilib/hash -I../lib/hash -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 -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -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/rcu -I../lib/rcu -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/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 -std=c11 -O2 -g -include rte_config.h -Wvla -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pedantic -DPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.mlx5 -MD -MQ drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o -MF drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o.d -o drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_linux_mlx5_nl.c.o -c ../drivers/common/mlx5/linux/mlx5_nl.c
../drivers/common/mlx5/linux/mlx5_nl.c:794:29: error: variable length array used [-Werror,-Wvla]
struct rte_ether_addr macs[n];
^
1 error generated.
[828/6652] Generating rte_common_cnxk.pmd.c with a custom command
[829/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_mr.c.o
[830/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_common_mp.c.o
[831/6652] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx5_mlx5_devx_cmds.c.o
[832/6652] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-static-i386" at step Build and test
####################################################################################
123 | struct rte_ipv6_addr ipv6_arr[nb_rx];
| ^~~~~~~~~~~~~
../examples/l3fwd/l3fwd_fib.c:124:9: error: ISO C90 forbids variable length array ‘hops’ [-Werror=vla]
124 | uint16_t hops[SENDM_PORT_OVERHEAD(nb_rx)];
| ^~~~~~~~
../examples/l3fwd/l3fwd_fib.c:125:9: error: ISO C90 forbids variable length array ‘hopsv4’ [-Werror=vla]
125 | uint64_t hopsv4[nb_rx], hopsv6[nb_rx];
| ^~~~~~~~
../examples/l3fwd/l3fwd_fib.c:125:9: error: ISO C90 forbids variable length array ‘hopsv6’ [-Werror=vla]
../examples/l3fwd/l3fwd_fib.c:126:9: error: ISO C90 forbids variable length array ‘type_arr’ [-Werror=vla]
126 | uint8_t type_arr[nb_rx];
| ^~~~~~~
cc1: all warnings being treated as errors
[2281/5603] Compiling C object examples/dpdk-l3fwd.p/l3fwd_l3fwd_lpm.c.o
FAILED: examples/dpdk-l3fwd.p/l3fwd_l3fwd_lpm.c.o
ccache gcc -Iexamples/dpdk-l3fwd.p -Iexamples -I../examples -Iexamples/l3fwd -I../examples/l3fwd -I../examples/common -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 -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/acl -I../lib/acl -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/lpm -I../lib/lpm -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wvla -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-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=corei7 -mrtm -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-l3fwd.p/l3fwd_l3fwd_lpm.c.o -MF examples/dpdk-l3fwd.p/l3fwd_l3fwd_lpm.c.o.d -o examples/dpdk-l3fwd.p/l3fwd_l3fwd_lpm.c.o -c ../examples/l3fwd/l3fwd_lpm.c
../examples/l3fwd/l3fwd_lpm.c: In function ‘lpm_check_ptype’:
../examples/l3fwd/l3fwd_lpm.c:674:9: error: ISO C90 forbids variable length array ‘ptypes’ [-Werror=vla]
674 | uint32_t ptypes[ret];
| ^~~~~~~~
cc1: all warnings being treated as errors
[2282/5603] Compiling C object app/dpdk-test.p/test_test_trace_perf.c.o
[2283/5603] Compiling C object app/dpdk-test.p/test_test_memcpy_perf.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
[3244/6623] Linking target examples/dpdk-helloworld
[3245/6623] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_action.c.o
[3246/6623] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_conn.c.o
[3247/6623] Compiling C object examples/dpdk-fips_validation.p/fips_validation_main.c.o
FAILED: examples/dpdk-fips_validation.p/fips_validation_main.c.o
ccache aarch64-linux-gnu-gcc -Iexamples/dpdk-fips_validation.p -Iexamples -I../examples -Iexamples/fips_validation -I../examples/fips_validation -I../examples/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include -I../lib/eal/arm/include -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wvla -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=armv8-a+crc -moutline-atomics -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-fips_validation.p/fips_validation_main.c.o -MF examples/dpdk-fips_validation.p/fips_validation_main.c.o.d -o examples/dpdk-fips_validation.p/fips_validation_main.c.o -c ../examples/fips_validation/main.c
../examples/fips_validation/main.c: In function ‘fips_mct_sha_test’:
../examples/fips_validation/main.c:2535:16: error: ISO C90 forbids variable length array ‘md’ [-Werror=vla]
2535 | struct fips_val md[md_blocks];
| ^~~~~~~~
cc1: all warnings being treated as errors
[3248/6623] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_cryptodev.c.o
[3249/6623] Compiling C object examples/dpdk-ip_fragmentation.p/ip_fragmentation_main.c.o
FAILED: examples/dpdk-ip_fragmentation.p/ip_fragmentation_main.c.o
ccache aarch64-linux-gnu-gcc -Iexamples/dpdk-ip_fragmentation.p -Iexamples -I../examples -Iexamples/ip_fragmentation -I../examples/ip_fragmentation -I../examples/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include -I../lib/eal/arm/include -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/ip_frag -I../lib/ip_frag -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/lpm -I../lib/lpm -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wvla -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=armv8-a+crc -moutline-atomics -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-ip_fragmentation.p/ip_fragmentation_main.c.o -MF examples/dpdk-ip_fragmentation.p/ip_fragmentation_main.c.o.d -o examples/dpdk-ip_fragmentation.p/ip_fragmentation_main.c.o -c ../examples/ip_fragmentation/main.c
../examples/ip_fragmentation/main.c: In function ‘check_ptype’:
../examples/ip_fragmentation/main.c:659:9: error: ISO C90 forbids variable length array ‘ptypes’ [-Werror=vla]
659 | uint32_t ptypes[ret];
| ^~~~~~~~
cc1: all warnings being treated as errors
[3250/6623] Compiling C object app/dpdk-test.p/test_test_trace_perf.c.o
[3251/6623] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_cli.c.o
[3252/6623] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn20k_tx_112_127_seg.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-ppc64le" at step Build and test
####################################################################################
../examples/l3fwd/l3fwd_fib.c: In function ‘fib_send_packets’:
../examples/l3fwd/l3fwd_fib.c:122:9: error: ISO C90 forbids variable length array ‘ipv4_arr’ [-Werror=vla]
122 | uint32_t ipv4_arr[nb_rx];
| ^~~~~~~~
../examples/l3fwd/l3fwd_fib.c:123:16: error: ISO C90 forbids variable length array ‘ipv6_arr’ [-Werror=vla]
123 | struct rte_ipv6_addr ipv6_arr[nb_rx];
| ^~~~~~~~~~~~~
../examples/l3fwd/l3fwd_fib.c:124:9: error: ISO C90 forbids variable length array ‘hops’ [-Werror=vla]
124 | uint16_t hops[SENDM_PORT_OVERHEAD(nb_rx)];
| ^~~~~~~~
../examples/l3fwd/l3fwd_fib.c:125:9: error: ISO C90 forbids variable length array ‘hopsv4’ [-Werror=vla]
125 | uint64_t hopsv4[nb_rx], hopsv6[nb_rx];
| ^~~~~~~~
../examples/l3fwd/l3fwd_fib.c:125:9: error: ISO C90 forbids variable length array ‘hopsv6’ [-Werror=vla]
../examples/l3fwd/l3fwd_fib.c:126:9: error: ISO C90 forbids variable length array ‘type_arr’ [-Werror=vla]
126 | uint8_t type_arr[nb_rx];
| ^~~~~~~
cc1: all warnings being treated as errors
[2618/5894] Compiling C object app/dpdk-test.p/test_test_vdev.c.o
[2619/5894] Compiling C object app/dpdk-test.p/test_test_ring_perf.c.o
[2620/5894] Compiling C object app/dpdk-test.p/test_virtual_pmd.c.o
[2621/5894] Compiling C object app/dpdk-test.p/test_test_ring.c.o
[2622/5894] Compiling C object app/dpdk-test.p/test_test_trace_perf.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-ppc64le" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-riscv64" at step Build and test
####################################################################################
../examples/l3fwd/l3fwd_fib.c:124:9: error: ISO C90 forbids variable length array ‘hops’ [-Werror=vla]
124 | uint16_t hops[SENDM_PORT_OVERHEAD(nb_rx)];
| ^~~~~~~~
../examples/l3fwd/l3fwd_fib.c:125:9: error: ISO C90 forbids variable length array ‘hopsv4’ [-Werror=vla]
125 | uint64_t hopsv4[nb_rx], hopsv6[nb_rx];
| ^~~~~~~~
../examples/l3fwd/l3fwd_fib.c:125:9: error: ISO C90 forbids variable length array ‘hopsv6’ [-Werror=vla]
../examples/l3fwd/l3fwd_fib.c:126:9: error: ISO C90 forbids variable length array ‘type_arr’ [-Werror=vla]
126 | uint8_t type_arr[nb_rx];
| ^~~~~~~
cc1: all warnings being treated as errors
[2575/5865] Compiling C object app/dpdk-test.p/test_test_thash_perf.c.o
[2576/5865] Compiling C object examples/dpdk-l3fwd.p/l3fwd_l3fwd_em.c.o
FAILED: examples/dpdk-l3fwd.p/l3fwd_l3fwd_em.c.o
ccache riscv64-linux-gnu-gcc -Iexamples/dpdk-l3fwd.p -Iexamples -I../examples -Iexamples/l3fwd -I../examples/l3fwd -I../examples/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/riscv/include -I../lib/eal/riscv/include -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/acl -I../lib/acl -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/lpm -I../lib/lpm -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wvla -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=rv64gc -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-l3fwd.p/l3fwd_l3fwd_em.c.o -MF examples/dpdk-l3fwd.p/l3fwd_l3fwd_em.c.o.d -o examples/dpdk-l3fwd.p/l3fwd_l3fwd_em.c.o -c ../examples/l3fwd/l3fwd_em.c
../examples/l3fwd/l3fwd_em.c: In function ‘em_check_ptype’:
../examples/l3fwd/l3fwd_em.c:490:9: error: ISO C90 forbids variable length array ‘ptypes’ [-Werror=vla]
490 | uint32_t ptypes[ret];
| ^~~~~~~~
cc1: all warnings being treated as errors
[2577/5865] Compiling C object app/dpdk-test.p/test_test_table_combined.c.o
[2578/5865] Compiling C object app/dpdk-test.p/test_test_ring_perf.c.o
[2579/5865] Compiling C object app/dpdk-test.p/test_test_ring.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-riscv64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "fedora:39-gcc" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:39-gcc" at step Build
####################################################################################
####################################################################################
#### [Begin job log] "fedora:39-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:39-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------
next prev parent reply other threads:[~2025-01-30 15:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1738247561-26955-26-git-send-email-andremue@linux.microsoft.com>
2025-01-30 14:02 ` |SUCCESS| pw150612-150631 " qemudev
2025-01-30 14:08 ` |FAILURE| " qemudev
2025-01-30 14:36 ` |SUCCESS| pw150631 " checkpatch
2025-01-30 15:23 ` 0-day Robot [this message]
2025-01-30 16:09 ` |FAILURE| pw150612-150631 [PATCH] [v17, " dpdklab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250130152349.3592100-1-robot@bytheb.org \
--to=robot@bytheb.org \
--cc=andremue@linux.microsoft.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).