automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |FAILURE| pw(126446) sid(27839) job(PER_PATCH_BUILD7197)[v3] net/idpf: add VF support
@ 2023-04-24  9:34 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2023-04-24  9:34 UTC (permalink / raw)
  To: test-report, beilei.xing

[-- Attachment #1: Type: text/plain, Size: 26949 bytes --]


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/126446

_Compilation issues_

Submitter: Xing, Beilei <beilei.xing@intel.com>
Date: 2023-04-24 08:28:52
Reply_mail: <20230424082852.14206-1-beilei.xing@intel.com>

DPDK git baseline: Repo:dpdk-next-net-intel, CommitID: f649fd010f2dd3a97e15f2ef106440a79f6c95fb


Meson Build Summary: 22 Builds Done, 15 Successful, 7 Failures, 0 Blocked

+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| os           | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| FreeBSD13-64 | pass       | fail         |            | pass       | pass      |          |            |
| RHEL86-64    | pass       | fail         |            | pass       | pass      |          |            |
| SUSE15-64    | pass       | fail         |            |            |           |          |            |
| UB2004-64    | pass       | fail         |            |            |           |          |            |
| UB2204-32    | pass       |              |            |            |           |          |            |
| UB2204-64    | pass       | fail         |            |            |           | pass     | pass       |
| CentOS79-64  | fail       |              |            |            |           |          |            |
| RHEL86-64Rt  | pass       |              |            |            |           |          |            |
| FC37-64      | pass       | fail         |            |            |           |          |            |
| UB2204-64Rt  | pass       |              |            |            |           |          |            |
+--------------+------------+--------------+------------+------------+-----------+----------+------------+

Comments: 
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. 
 
Test environment and configuration as below:


OS: FreeBSD13-64
	Kernel Version: 13.1-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 10.3.0
	Clang Version: 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL86-64
	Kernel Version: 4.18.0-372.9.1.el8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13)
	Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug

OS: SUSE15-64
	Kernel Version: 5.14.21-150400.22-default
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 11.0.1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc

OS: UB2004-64
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc

OS: UB2204-32
	Kernel Version: 5.15.0-58-generic
	GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
	Clang Version: NA
	i686-native-linuxapp-gcc

OS: UB2204-64
	Kernel Version: 5.15.0-58-generic
	GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
	Clang Version: 14.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc+16byte
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-doc

OS: CentOS79-64
	Kernel Version: 3.10.0-1160.81.1.el7.x86_64
	GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
	Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
	x86_64-native-linuxapp-gcc

OS: RHEL86-64Rt
	Kernel Version: 4.18.0-372.9.1.rt7.166.el8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13)
	Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54)
	x86_64-native-linuxapp-gcc

OS: FC37-64
	Kernel Version: 6.0.15-300.fc37.x86_64
	GCC Version: gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4)
	Clang Version: 15.0.6 (Fedora 15.0.6-2.fc37)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: UB2204-64Rt
	Kernel Version: 5.15.85-rt55
	GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
	Clang Version: 14.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
clang -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
../drivers/common/idpf/idpf_common_device.c:376:13: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
        } else if (hw->device_id == IDPF_DEV_ID_SRIOV) {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_device.c:379:6: note: uninitialized use occurs here
        if (ret != 0) {
            ^~~
../drivers/common/idpf/idpf_common_device.c:376:9: note: remove the 'if' if its condition is always true
        } else if (hw->device_id == IDPF_DEV_ID_SRIOV) {
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_device.c:371:9: note: initialize the variable 'ret' to silence this warning
        int ret;
               ^
                = 0
1 error generated.
[901/1856] Generating rte_common_cpt.sym_chk with a custom command (wrapped by meson to capture output)
[902/1856] Generating rte_common_iavf.pmd.c with a custom command
[903/1856] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_base_idpf_common.c.o
[904/1856] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[905/1856] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_base_idpf_controlq.c.o
[906/1856] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_base_idpf_controlq_setup.c.o
[907/1856] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
[908/1856] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[909/1856] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
ninja: build stopped




*Build Failed #2:
OS: RHEL86-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
clang -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
../drivers/common/idpf/idpf_common_device.c:376:13: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
        } else if (hw->device_id == IDPF_DEV_ID_SRIOV) {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_device.c:379:6: note: uninitialized use occurs here
        if (ret != 0) {
            ^~~
../drivers/common/idpf/idpf_common_device.c:376:9: note: remove the 'if' if its condition is always true
        } else if (hw->device_id == IDPF_DEV_ID_SRIOV) {
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_device.c:371:9: note: initialize the variable 'ret' to silence this warning
        int ret;
               ^
                = 0
1 error generated.
[520/3235] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[521/3235] Generating symbol file drivers/librte_common_cpt.so.23.2.p/librte_common_cpt.so.23.2.symbols
[522/3235] Generating symbol file drivers/librte_common_dpaax.so.23.2.p/librte_common_dpaax.so.23.2.symbols
[523/3235] Generating rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[524/3235] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
[525/3235] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[526/3235] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[527/3235] Generating vhost.sym_chk with a custom command (wrapped by meson to capture output)
[528/3235] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #3:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
clang -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
../drivers/common/idpf/idpf_common_device.c:376:13: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
        } else if (hw->device_id == IDPF_DEV_ID_SRIOV) {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_device.c:379:6: note: uninitialized use occurs here
        if (ret != 0) {
            ^~~
../drivers/common/idpf/idpf_common_device.c:376:9: note: remove the 'if' if its condition is always true
        } else if (hw->device_id == IDPF_DEV_ID_SRIOV) {
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_device.c:371:9: note: initialize the variable 'ret' to silence this warning
        int ret;
               ^
                = 0
1 error generated.
[510/3316] Compiling C object drivers/librte_common_iavf.a.p/meson-generated_.._rte_common_iavf.pmd.c.o
[511/3316] Generating drivers/rte_common_dpaax.sym_chk with a custom command (wrapped by meson to capture output)
[512/3316] Generating symbol file drivers/librte_common_cpt.so.23.2.p/librte_common_cpt.so.23.2.symbols
[513/3316] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[514/3316] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[515/3316] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
[516/3316] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[517/3316] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[518/3316] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #4:
OS: UB2004-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
clang -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
../drivers/common/idpf/idpf_common_device.c:376:13: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
        } else if (hw->device_id == IDPF_DEV_ID_SRIOV) {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_device.c:379:6: note: uninitialized use occurs here
        if (ret != 0) {
            ^~~
../drivers/common/idpf/idpf_common_device.c:376:9: note: remove the 'if' if its condition is always true
        } else if (hw->device_id == IDPF_DEV_ID_SRIOV) {
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_device.c:371:9: note: initialize the variable 'ret' to silence this warning
        int ret;
               ^
                = 0
1 error generated.
[517/3308] Generating symbol file drivers/librte_common_cpt.so.23.2.p/librte_common_cpt.so.23.2.symbols
[518/3308] Generating symbol file drivers/librte_common_dpaax.so.23.2.p/librte_common_dpaax.so.23.2.symbols
[519/3308] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
[520/3308] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[521/3308] Generating rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[522/3308] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[523/3308] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[524/3308] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[525/3308] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #5:
OS: UB2204-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
clang -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
../drivers/common/idpf/idpf_common_device.c:376:13: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
        } else if (hw->device_id == IDPF_DEV_ID_SRIOV) {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_device.c:379:6: note: uninitialized use occurs here
        if (ret != 0) {
            ^~~
../drivers/common/idpf/idpf_common_device.c:376:9: note: remove the 'if' if its condition is always true
        } else if (hw->device_id == IDPF_DEV_ID_SRIOV) {
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_device.c:371:9: note: initialize the variable 'ret' to silence this warning
        int ret;
               ^
                = 0
1 error generated.
[512/3316] Generating drivers/rte_common_iavf.pmd.c with a custom command
[513/3316] Generating drivers/rte_common_dpaax.sym_chk with a custom command (wrapped by meson to capture output)
[514/3316] Generating symbol file drivers/librte_common_cpt.so.23.2.p/librte_common_cpt.so.23.2.symbols
[515/3316] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[516/3316] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[517/3316] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
[518/3316] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[519/3316] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[520/3316] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #6:
OS: CentOS79-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
../drivers/common/idpf/idpf_common_device.c: In function 'idpf_adapter_init':
../drivers/common/idpf/idpf_common_device.c:379:5: error: 'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  if (ret != 0) {
     ^
../drivers/common/idpf/idpf_common_device.c: At top level:
cc1: error: unrecognized command line option "-Wno-implicit-fallthrough" [-Werror]
cc1: all warnings being treated as errors
[507/3263] Generating drivers/rte_common_dpaax.sym_chk with a custom command (wrapped by meson to capture output)
[508/3263] Generating symbol file drivers/librte_common_cpt.so.23.2.p/librte_common_cpt.so.23.2.symbols
[509/3263] Generating symbol file lib/librte_graph.so.23.2.p/librte_graph.so.23.2.symbols
[510/3263] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[511/3263] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[512/3263] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[513/3263] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[514/3263] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_elink.c.o
[515/3263] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #7:
OS: FC37-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
clang -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
../drivers/common/idpf/idpf_common_device.c:376:13: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
        } else if (hw->device_id == IDPF_DEV_ID_SRIOV) {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_device.c:379:6: note: uninitialized use occurs here
        if (ret != 0) {
            ^~~
../drivers/common/idpf/idpf_common_device.c:376:9: note: remove the 'if' if its condition is always true
        } else if (hw->device_id == IDPF_DEV_ID_SRIOV) {
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_device.c:371:9: note: initialize the variable 'ret' to silence this warning
        int ret;
               ^
                = 0
1 error generated.
[521/3270] Compiling C object drivers/librte_common_iavf.so.23.2.p/meson-generated_.._rte_common_iavf.pmd.c.o
[522/3270] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_base_idpf_common.c.o
[523/3270] Generating symbol file drivers/librte_common_cpt.so.23.2.p/librte_common_cpt.so.23.2.symbols
[524/3270] Generating drivers/rte_common_dpaax.sym_chk with a custom command (wrapped by meson to capture output)
[525/3270] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[526/3270] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[527/3270] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[528/3270] Generating lib/vhost.sym_chk with a custom command (wrapped by meson to capture output)
[529/3270] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped


DPDK STV team

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-24  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-24  9:34 [dpdk-test-report] |FAILURE| pw(126446) sid(27839) job(PER_PATCH_BUILD7197)[v3] net/idpf: add VF support sys_stv

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).