* |FAILURE| pw121456 [PATCH v3] net/iavf: add lock for vf commands
[not found] <20221228222809.1426996-1-mkp@redhat.com>
2022-12-28 22:20 ` |FAILURE| pw121456 [PATCH v3] net/iavf: add lock for vf commands qemudev
2022-12-28 22:30 ` |SUCCESS| " checkpatch
@ 2022-12-28 22:59 ` 0-day Robot
2 siblings, 0 replies; 4+ messages in thread
From: 0-day Robot @ 2022-12-28 22:59 UTC (permalink / raw)
To: test-report; +Cc: mkp, robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/121456/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/3797003655
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
"ubuntu-20.04-gcc-static-i386" failed at step Build and test
"ubuntu-20.04-gcc-static-mingw" failed at step Build and test
"ubuntu-20.04-gcc-aarch64" failed at step Build and test
"ubuntu-20.04-gcc-ppc64le" failed at step Build and test
"ubuntu-20.04-gcc-riscv64" 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
####################################################################################
[1549/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_i40e_pf.c.o'.
[1550/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_i40e_flow.c.o'.
[1551/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_i40e_fdir.c.o'.
[1552/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_i40e_tm.c.o'.
[1553/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_i40e_hash.c.o'.
[1554/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_i40e_vf_representor.c.o'.
[1555/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_net_iavf@sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../common/iavf -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 -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o' -MF 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o.d' -o 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o' -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd_safe’:
../drivers/net/iavf/iavf_vchnl.c:406:21: error: ‘vf’ undeclared (first use in this function)
406 | rte_spinlock_lock(&vf->aq_lock);
| ^~
../drivers/net/iavf/iavf_vchnl.c:406:21: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_promisc’:
../drivers/net/iavf/iavf_vchnl.c:1473:8: error: implicit declaration of function ‘iavf_execute_vf_cm_safed’; did you mean ‘iavf_execute_vf_cmd_safe’? [-Werror=implicit-function-declaration]
1473 | err = iavf_execute_vf_cm_safed(adapter, &args, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| iavf_execute_vf_cmd_safe
../drivers/net/iavf/iavf_vchnl.c:1473:8: error: nested extern declaration of ‘iavf_execute_vf_cm_safed’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1556/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_generic_flow.c.o'.
[1557/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_rte_pmd_i40e.c.o'.
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
####################################################################################
ccache clang -Idrivers/a715181@@tmp_rte_net_iavf@sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../common/iavf -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 -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o' -MF 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o.d' -o 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o' -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c:406:21: error: use of undeclared identifier 'vf'
rte_spinlock_lock(&vf->aq_lock);
^
../drivers/net/iavf/iavf_vchnl.c:408:23: error: use of undeclared identifier 'vf'
rte_spinlock_unlock(&vf->aq_lock);
^
../drivers/net/iavf/iavf_vchnl.c:1473:8: error: implicit declaration of function 'iavf_execute_vf_cm_safed' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
err = iavf_execute_vf_cm_safed(adapter, &args, 0);
^
../drivers/net/iavf/iavf_vchnl.c:1473:8: note: did you mean 'iavf_execute_vf_cmd_safe'?
../drivers/net/iavf/iavf_vchnl.c:401:1: note: 'iavf_execute_vf_cmd_safe' declared here
iavf_execute_vf_cmd_safe(struct iavf_adapter *adapter,
^
../drivers/net/iavf/iavf_vchnl.c:1924:8: error: implicit declaration of function 'iavf_execute_vf_cm_safed' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
err = iavf_execute_vf_cm_safed(adapter, &args, 0);
^
../drivers/net/iavf/iavf_vchnl.c:2025:8: error: implicit declaration of function 'iavf_execute_vf_cm_safed' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
err = iavf_execute_vf_cm_safed(adapter, &args, 0);
^
5 errors generated.
[1567/4279] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_rxtx.c.o'.
[1568/4279] Compiling C object 'drivers/net/iavf/cd88e11@@iavf_avx512_lib@sta/iavf_rxtx_vec_avx512.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] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
[1126/2981] Linking static target drivers/net/iavf/libiavf_avx2_lib.a.
[1127/2981] Linking target drivers/librte_net_i40e.so.23.1.
[1128/2981] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_tm.c.o'.
[1129/2981] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_rxtx.c.o'.
[1130/2981] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_ipsec_crypto.c.o'.
[1131/2981] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_fdir.c.o'.
[1132/2981] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_net_iavf@sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../common/iavf -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 -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o' -MF 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o.d' -o 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o' -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd_safe’:
../drivers/net/iavf/iavf_vchnl.c:406:21: error: ‘vf’ undeclared (first use in this function)
406 | rte_spinlock_lock(&vf->aq_lock);
| ^~
../drivers/net/iavf/iavf_vchnl.c:406:21: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_promisc’:
../drivers/net/iavf/iavf_vchnl.c:1473:8: error: implicit declaration of function ‘iavf_execute_vf_cm_safed’; did you mean ‘iavf_execute_vf_cmd_safe’? [-Werror=implicit-function-declaration]
1473 | err = iavf_execute_vf_cm_safed(adapter, &args, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| iavf_execute_vf_cmd_safe
../drivers/net/iavf/iavf_vchnl.c:1473:8: error: nested extern declaration of ‘iavf_execute_vf_cm_safed’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1133/2981] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_ethdev.c.o'.
[1134/2981] Compiling C object 'drivers/net/iavf/cd88e11@@iavf_avx512_lib@sta/iavf_rxtx_vec_avx512.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
[385/1297] Generating rte_net_i40e_mingw with a custom command.
[386/1297] Linking static target drivers/libtmp_rte_net_i40e.a.
[387/1297] Generating rte_net_i40e.pmd.c with a custom command.
[388/1297] Compiling C object 'drivers/a715181@@rte_net_i40e@sta/meson-generated_.._rte_net_i40e.pmd.c.obj'.
[389/1297] Compiling C object 'drivers/a715181@@rte_net_i40e@sha/meson-generated_.._rte_net_i40e.pmd.c.obj'.
[390/1297] Linking static target drivers/librte_net_i40e.a.
[391/1297] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.obj'.
FAILED: drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.obj
ccache x86_64-w64-mingw32-gcc -Idrivers/a715181@@tmp_rte_net_iavf@sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/windows/include -I../lib/eal/windows/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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/windows -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -pipe -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 -D_WIN32_WINNT=0x0A00 -D__USE_MINGW_ANSI_STDIO -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -fno-asynchronous-unwind-tables -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.obj' -MF 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.obj.d' -o 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.obj' -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd_safe’:
../drivers/net/iavf/iavf_vchnl.c:406:21: error: ‘vf’ undeclared (first use in this function)
406 | rte_spinlock_lock(&vf->aq_lock);
| ^~
../drivers/net/iavf/iavf_vchnl.c:406:21: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_promisc’:
../drivers/net/iavf/iavf_vchnl.c:1473:8: error: implicit declaration of function ‘iavf_execute_vf_cm_safed’; did you mean ‘iavf_execute_vf_cmd_safe’? [-Werror=implicit-function-declaration]
1473 | err = iavf_execute_vf_cm_safed(adapter, &args, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| iavf_execute_vf_cmd_safe
../drivers/net/iavf/iavf_vchnl.c:1473:8: error: nested extern declaration of ‘iavf_execute_vf_cm_safed’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[392/1297] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_rxtx.c.obj'.
[393/1297] Compiling C object 'drivers/net/iavf/cd88e11@@iavf_avx512_lib@sta/iavf_rxtx_vec_avx512.c.obj'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-aarch64" at step Build and test
####################################################################################
[1474/3912] Compiling C object 'drivers/a715181@@rte_net_hns3@sta/meson-generated_.._rte_net_hns3.pmd.c.o'.
[1475/3912] Linking static target drivers/librte_net_hns3.a.
[1476/3912] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_i40e_tm.c.o'.
[1477/3912] Linking target drivers/librte_net_hns3.so.23.1.
[1478/3912] Linking static target drivers/libtmp_rte_net_i40e.a.
[1479/3912] Linking target drivers/librte_net_cnxk.so.23.1.
[1480/3912] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o
ccache aarch64-linux-gnu-gcc -Idrivers/a715181@@tmp_rte_net_iavf@sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../common/iavf -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/arm/include -I../lib/eal/arm/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 -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -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=armv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o' -MF 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o.d' -o 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o' -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd_safe’:
../drivers/net/iavf/iavf_vchnl.c:406:21: error: ‘vf’ undeclared (first use in this function)
406 | rte_spinlock_lock(&vf->aq_lock);
| ^~
../drivers/net/iavf/iavf_vchnl.c:406:21: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_promisc’:
../drivers/net/iavf/iavf_vchnl.c:1473:8: error: implicit declaration of function ‘iavf_execute_vf_cm_safed’; did you mean ‘iavf_execute_vf_cmd_safe’? [-Werror=implicit-function-declaration]
1473 | err = iavf_execute_vf_cm_safed(adapter, &args, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| iavf_execute_vf_cmd_safe
../drivers/net/iavf/iavf_vchnl.c:1473:8: error: nested extern declaration of ‘iavf_execute_vf_cm_safed’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1481/3912] Generating rte_net_i40e.pmd.c with a custom command.
[1482/3912] Generating symbol file 'drivers/a715181@@rte_net_cnxk@sha/librte_net_cnxk.so.23.1.symbols'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################
[1361/3762] Compiling C object 'drivers/a715181@@rte_net_i40e@sha/meson-generated_.._rte_net_i40e.pmd.c.o'.
[1362/3762] Linking target drivers/librte_net_cnxk.so.23.1.
[1363/3762] Generating symbol file 'drivers/a715181@@rte_net_cnxk@sha/librte_net_cnxk.so.23.1.symbols'.
[1364/3762] Linking static target drivers/librte_net_i40e.a.
[1365/3762] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_ethdev.c.o'.
[1366/3762] Generating rte_net_i40e.sym_chk with a meson_exe.py custom command.
[1367/3762] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o
ccache powerpc64le-linux-gnu-gcc -Idrivers/a715181@@tmp_rte_net_iavf@sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../common/iavf -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/ppc/include -I../lib/eal/ppc/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 -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -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 -mcpu=power8 -mtune=power8 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o' -MF 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o.d' -o 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o' -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd_safe’:
../drivers/net/iavf/iavf_vchnl.c:406:21: error: ‘vf’ undeclared (first use in this function)
406 | rte_spinlock_lock(&vf->aq_lock);
| ^~
../drivers/net/iavf/iavf_vchnl.c:406:21: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_promisc’:
../drivers/net/iavf/iavf_vchnl.c:1473:8: error: implicit declaration of function ‘iavf_execute_vf_cm_safed’; did you mean ‘iavf_execute_vf_cmd_safe’? [-Werror=implicit-function-declaration]
1473 | err = iavf_execute_vf_cm_safed(adapter, &args, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| iavf_execute_vf_cmd_safe
../drivers/net/iavf/iavf_vchnl.c:1473:8: error: nested extern declaration of ‘iavf_execute_vf_cm_safed’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1368/3762] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_generic_flow.c.o'.
[1369/3762] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_rxtx.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-riscv64" at step Build and test
####################################################################################
[1325/3734] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_ethdev.c.o'.
[1326/3734] Linking static target drivers/net/hinic/base/libhinic_base.a.
[1327/3734] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_tx.c.o'.
[1328/3734] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_flow.c.o'.
[1329/3734] Linking static target drivers/libtmp_rte_net_hinic.a.
[1330/3734] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_ethdev.c.o'.
[1331/3734] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o
ccache riscv64-linux-gnu-gcc -Idrivers/a715181@@tmp_rte_net_iavf@sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../common/iavf -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/riscv/include -I../lib/eal/riscv/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 -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -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=rv64gc -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o' -MF 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o.d' -o 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.o' -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd_safe’:
../drivers/net/iavf/iavf_vchnl.c:406:21: error: ‘vf’ undeclared (first use in this function)
406 | rte_spinlock_lock(&vf->aq_lock);
| ^~
../drivers/net/iavf/iavf_vchnl.c:406:21: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_promisc’:
../drivers/net/iavf/iavf_vchnl.c:1473:8: error: implicit declaration of function ‘iavf_execute_vf_cm_safed’; did you mean ‘iavf_execute_vf_cmd_safe’? [-Werror=implicit-function-declaration]
1473 | err = iavf_execute_vf_cm_safed(adapter, &args, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| iavf_execute_vf_cmd_safe
../drivers/net/iavf/iavf_vchnl.c:1473:8: error: nested extern declaration of ‘iavf_execute_vf_cm_safed’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1332/3734] Generating rte_net_hinic.pmd.c with a custom command.
[1333/3734] Generating rte_net_cnxk.pmd.c with a custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-riscv64" 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-----------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread