[dpdk-test-report] |FAILURE| pw(75701) [RFC, v2] lib/hash: integrate RCU QSBR

sys_stv at intel.com sys_stv at intel.com
Wed Aug 19 09:59:56 CEST 2020


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

_Compilation issues_

Submitter: Dharmik Thakkar <dharmik.thakkar at arm.com>
Date: 2020-08-19 04:05:37
Reply_mail: 20200819040537.1792-1-dharmik.thakkar at arm.com

DPDK git baseline: Repo:dpdk, CommitID: b9b10ddb4292f2bc5524ae9f427a2795514eff02


Meson build Summary: 8 Builds Done, 3 Successful, 5 Failures, 0 Blocked

Makefile build Summary: 20 Builds Done, 20 Successful, 0 Failures, 0 Blocked

                +==============================================+===========+==========+
                |                   Makefile                   |   Meson   | Document |
+----------------+------+-------+------+------------+-----------+-----------+----------+
| os             | gcc  | clang | icc  | gcc+shared | gcc+debug | gcc/clang | pdf/html |
+----------------+------+-------+------+------------+-----------+-----------+----------+
| CENTOS82-64    | pass | pass  | pass | pass       | pass      | FAIL      |          |
| RHEL82-64      | pass |       |      |            |           |           |          |
| UB1804-64      | pass |       |      |            |           |           |          |
| FC32-64        | pass | pass  |      |            |           | FAIL      |          |
| CENTOS77-64    | pass |       |      |            |           |           |          |
| UB2004-64      | pass | pass  | pass |            |           | FAIL      | pass     |
| WIN10-64       |      |       |      |            |           | pass      |          |
| UB2004-32      | pass |       |      |            |           | pass      |          |
| FreeBSD1201-64 | pass | pass  |      | pass       | pass      | FAIL      |          |
| SUSE15-64      | pass | pass  |      |            |           | FAIL      |          |
+----------------+------+-------+------+------------+-----------+-----------+----------+
Test environment and configuration as below:

** Makefile build **


OS: CENTOS82-64
	Kernel Version: 4.18.0-193.el8.x86_64
	CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 9.0.1 (Red Hat 9.0.1-2.module_el8.2.0+309+0c7b6b03)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug


OS: RHEL82-64
	Kernel Version: 4.18.0-193.el8.x86_64
	CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 8.0.1 (Red Hat 8.0.1-1.module_el8.1.0+215+a01033fb)
	x86_64-native-linuxapp-gcc


OS: UB1804-64
	Kernel Version: 4.15.0-29-generic
	CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
	GCC Version: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
	Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
	x86_64-native-linuxapp-gcc


OS: FC32-64
	Kernel Version: 5.6.0-0.rc7.git0.2.fc32.x86_64
	CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
	GCC Version: gcc (GCC) 10.0.1 20200311 (Red Hat 10.0.1-0.9)
	Clang Version: 10.0.0 (Fedora 10.0.0-0.3.rc4.fc32)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang


OS: CENTOS77-64
	Kernel Version: 3.10.0-1062.9.1.el7.x86_64
	CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
	GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
	Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
	x86_64-native-linuxapp-gcc


OS: UB2004-64
	Kernel Version: 5.4.0-26-generic
	CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
	GCC Version: gcc (Ubuntu 10-20200416-0ubuntu1) 10.0.1 20200416 (experimental) [master revision 3c3f12e2a76:dcee354ce56:44b326839d864fc10c459916abcc97f35a9ac3de]
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-icc


OS: UB2004-32
	Kernel Version: 5.4.0-26-generic
	CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
	GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
	Clang Version: 10.0.0-4ubuntu1
	i686-native-linuxapp-gcc


OS: FreeBSD1201-64
	Kernel Version: 12.1-RELEASE
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz (2294.74-MHz K8-class CPU)
	GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
	Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug


OS: SUSE15-64
	Kernel Version: 4.12.14-lp150.11-default
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]
	Clang Version: 5.0.1 (tags/RELEASE_501/final 312548)
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc

** Meson build **


OS: CENTOS82-64
	Kernel Version: 4.18.0-193.el8.x86_64
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 9.0.1 (Red Hat 9.0.1-2.module_el8.2.0+309+0c7b6b03)
	./build-gcc-static
	./build-gcc-shared
	./build-clang-static
	./build-clang-shared
	./build-x86-default


OS: UB2004-64
	Kernel Version: 5.4.0-26-generic
	CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
	GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-doc
	./build-gcc-static
	./build-gcc-shared
	./build-clang-static
	./build-clang-shared
	./build-x86-default


OS: FC32-64
	Kernel Version: 5.6.0-0.rc7.git0.2.fc32.x86_64
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (GCC) 10.0.1 20200311 (Red Hat 10.0.1-0.9)
	Clang Version: 10.0.0 (Fedora 10.0.0-0.3.rc4.fc32)
	./build-gcc-static
	./build-gcc-shared
	./build-clang-static
	./build-clang-shared
	./build-x86-default


OS: WIN10-64
	Kernel Version: N/A
	CPU info: N/A
	GCC Version: N/A
	Clang Version: Clang 8.0.0
	x86_64-windows-clang


OS: UB2004-32
	Kernel Version: 5.4.0-26-generic
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
	Clang Version: 10.0.0-4ubuntu1
	./build-gcc-static
	./build-gcc-shared
	./build-x86-default
	/root/UB2004-32_K4.15.0_GCC9.3.0/i686-native-linuxapp-gcc/e13c769731ea40369a751eb1d5994487/dpdk/build-x86-default install >/dev/null


OS: FreeBSD1201-64
	Kernel Version: 12.1-RELEASE
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU)
	GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
	Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
	./build-gcc-static
	./build-gcc-shared
	./build-clang-static
	./build-clang-shared
	./build-x86-default


OS: SUSE15-64
	Kernel Version: 4.12.14-lp150.12.82-default
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (SUSE Linux) 7.4.1 20190905 [gcc-7-branch revision 275407]
	Clang Version: 5.0.1 (tags/RELEASE_501/final 312548)
	./build-gcc-static
	./build-gcc-shared
	./build-clang-static
	./build-clang-shared
	./build-x86-default



*Meson Build Failed #1:
OS: CENTOS82-64
Target:./build-gcc-static
FAILED: lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o 
clang -Ilib/76b5a35@@rte_hash at sta -Ilib -I../lib -Ilib/librte_hash -I../lib/librte_hash -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_rcu -I../lib/librte_rcu -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o' -MF 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o.d' -o 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o' -c ../lib/librte_hash/rte_cuckoo_hash.c
../lib/librte_hash/rte_cuckoo_hash.c:1459:6: error: variable 'cached_free_slots' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
        if (h->use_local_cache) {
            ^~~~~~~~~~~~~~~~~~
../lib/librte_hash/rte_cuckoo_hash.c:1474:23: note: uninitialized use occurs here
        enqueue_slot_back(h, cached_free_slots, slot_id);
                             ^~~~~~~~~~~~~~~~~
../lib/librte_hash/rte_cuckoo_hash.c:1459:2: note: remove the 'if' if its condition is always true
        if (h->use_local_cache) {
        ^~~~~~~~~~~~~~~~~~~~~~~~
../lib/librte_hash/rte_cuckoo_hash.c:1457:39: note: initialize the variable 'cached_free_slots' to silence this warning
        struct lcore_cache *cached_free_slots;
                                             ^
                                              = NULL
1 error generated.
[169/2395] Linking static target lib/librte_timer.a.
[170/2395] Generating metrics.sym_chk with a meson_exe.py custom command.
[171/2395] Generating cmdline.sym_chk with a meson_exe.py custom command.
[172/2395] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_run_scalar.c.o'.
[173/2395] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_rte_acl.c.o'.
[174/2395] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_gen.c.o'.
[175/2395] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_tb_mem.c.o'.
[176/2395] Generating eal.sym_chk with a meson_exe.py custom command.
[177/2395] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_bld.c.o'.
[178/2395] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_run_sse.c.o'.
[179/2395] Compiling C object 'lib/76b5a35@@rte_ethdev at sta/librte_ethdev_rte_ethdev.c.o'.
ninja: build stopped: subcommand failed




*Meson Build Failed #2:
OS: FC32-64
Target:./build-gcc-static
FAILED: lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o 
clang -Ilib/76b5a35@@rte_hash at sta -Ilib -I../lib -Ilib/librte_hash -I../lib/librte_hash -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_rcu -I../lib/librte_rcu -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -MD -MQ 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o' -MF 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o.d' -o 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o' -c ../lib/librte_hash/rte_cuckoo_hash.c
../lib/librte_hash/rte_cuckoo_hash.c:1459:6: error: variable 'cached_free_slots' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
        if (h->use_local_cache) {
            ^~~~~~~~~~~~~~~~~~
../lib/librte_hash/rte_cuckoo_hash.c:1474:23: note: uninitialized use occurs here
        enqueue_slot_back(h, cached_free_slots, slot_id);
                             ^~~~~~~~~~~~~~~~~
../lib/librte_hash/rte_cuckoo_hash.c:1459:2: note: remove the 'if' if its condition is always true
        if (h->use_local_cache) {
        ^~~~~~~~~~~~~~~~~~~~~~~~
../lib/librte_hash/rte_cuckoo_hash.c:1457:39: note: initialize the variable 'cached_free_slots' to silence this warning
        struct lcore_cache *cached_free_slots;
                                             ^
                                              = NULL
1 error generated.
[170/2396] Generating rte_acl_mingw with a custom command.
[171/2396] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_rte_acl.c.o'.
[172/2396] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_run_scalar.c.o'.
[173/2396] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_tb_mem.c.o'.
[174/2396] Compiling C object 'lib/76b5a35@@rte_timer at sta/librte_timer_rte_timer.c.o'.
[175/2396] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_gen.c.o'.
[176/2396] Generating eal.sym_chk with a meson_exe.py custom command.
[177/2396] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_run_sse.c.o'.
[178/2396] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_bld.c.o'.
[179/2396] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_run_avx2.c.o'.
[180/2396] Compiling C object 'lib/76b5a35@@rte_ethdev at sta/librte_ethdev_rte_ethdev.c.o'.
ninja: build stopped: subcommand failed




*Meson Build Failed #3:
OS: FreeBSD1201-64
Target:./build-gcc-static
FAILED: lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o 
clang -Ilib/76b5a35@@rte_hash at sta -Ilib -I../lib -Ilib/librte_hash -I../lib/librte_hash -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_rcu -I../lib/librte_rcu -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o' -MF 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o.d' -o 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o' -c ../lib/librte_hash/rte_cuckoo_hash.c
../lib/librte_hash/rte_cuckoo_hash.c:1459:6: error: variable 'cached_free_slots' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
        if (h->use_local_cache) {
            ^~~~~~~~~~~~~~~~~~
../lib/librte_hash/rte_cuckoo_hash.c:1474:23: note: uninitialized use occurs here
        enqueue_slot_back(h, cached_free_slots, slot_id);
                             ^~~~~~~~~~~~~~~~~
../lib/librte_hash/rte_cuckoo_hash.c:1459:2: note: remove the 'if' if its condition is always true
        if (h->use_local_cache) {
        ^~~~~~~~~~~~~~~~~~~~~~~~
../lib/librte_hash/rte_cuckoo_hash.c:1457:39: note: initialize the variable 'cached_free_slots' to silence this warning
        struct lcore_cache *cached_free_slots;
                                             ^
                                              = NULL
1 error generated.
[162/1781] Compiling C object 'lib/76b5a35@@rte_ethdev at sta/librte_ethdev_rte_flow.c.o'
[163/1781] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_gen.c.o'
[164/1781] Generating cmdline.sym_chk with a meson_exe.py custom command
[165/1781] Generating metrics.sym_chk with a meson_exe.py custom command
[166/1781] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_run_scalar.c.o'
[167/1781] Generating eal.sym_chk with a meson_exe.py custom command
[168/1781] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_bld.c.o'
[169/1781] Generating timer.sym_chk with a meson_exe.py custom command
[170/1781] Compiling C object 'lib/76b5a35@@rte_ethdev at sta/librte_ethdev_rte_ethdev.c.o'
ninja: build stopped: subcommand failed




*Meson Build Failed #4:
OS: SUSE15-64
Target:./build-gcc-static
FAILED: lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o 
clang -Ilib/76b5a35@@rte_hash at sta -Ilib -I../lib -Ilib/librte_hash -I../lib/librte_hash -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_rcu -I../lib/librte_rcu -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -MD -MQ 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o' -MF 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o.d' -o 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o' -c ../lib/librte_hash/rte_cuckoo_hash.c
../lib/librte_hash/rte_cuckoo_hash.c:1459:6: error: variable 'cached_free_slots' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
        if (h->use_local_cache) {
            ^~~~~~~~~~~~~~~~~~
../lib/librte_hash/rte_cuckoo_hash.c:1474:23: note: uninitialized use occurs here
        enqueue_slot_back(h, cached_free_slots, slot_id);
                             ^~~~~~~~~~~~~~~~~
../lib/librte_hash/rte_cuckoo_hash.c:1459:2: note: remove the 'if' if its condition is always true
        if (h->use_local_cache) {
        ^~~~~~~~~~~~~~~~~~~~~~~~
../lib/librte_hash/rte_cuckoo_hash.c:1457:39: note: initialize the variable 'cached_free_slots' to silence this warning
        struct lcore_cache *cached_free_slots;
                                             ^
                                              = NULL
1 error generated.
[169/2290] Compiling C object 'lib/76b5a35@@rte_timer at sta/librte_timer_rte_timer.c.o'.
[170/2290] Generating cmdline.sym_chk with a meson_exe.py custom command.
[171/2290] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_run_scalar.c.o'.
[172/2290] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_rte_acl.c.o'.
[173/2290] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_gen.c.o'.
[174/2290] Generating metrics.sym_chk with a meson_exe.py custom command.
[175/2290] Compiling C object 'lib/76b5a35@@rte_ethdev at sta/librte_ethdev_rte_ethdev.c.o'.
[176/2290] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_bld.c.o'.
[177/2290] Generating eal.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed




*Meson Build Failed #5:
OS: UB2004-64
Target:./build-gcc-static
FAILED: lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o 
clang -Ilib/76b5a35@@rte_hash at sta -Ilib -I../lib -Ilib/librte_hash -I../lib/librte_hash -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_rcu -I../lib/librte_rcu -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -MD -MQ 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o' -MF 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o.d' -o 'lib/76b5a35@@rte_hash at sta/librte_hash_rte_cuckoo_hash.c.o' -c ../lib/librte_hash/rte_cuckoo_hash.c
../lib/librte_hash/rte_cuckoo_hash.c:1459:6: error: variable 'cached_free_slots' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
        if (h->use_local_cache) {
            ^~~~~~~~~~~~~~~~~~
../lib/librte_hash/rte_cuckoo_hash.c:1474:23: note: uninitialized use occurs here
        enqueue_slot_back(h, cached_free_slots, slot_id);
                             ^~~~~~~~~~~~~~~~~
../lib/librte_hash/rte_cuckoo_hash.c:1459:2: note: remove the 'if' if its condition is always true
        if (h->use_local_cache) {
        ^~~~~~~~~~~~~~~~~~~~~~~~
../lib/librte_hash/rte_cuckoo_hash.c:1457:39: note: initialize the variable 'cached_free_slots' to silence this warning
        struct lcore_cache *cached_free_slots;
                                             ^
                                              = NULL
1 error generated.
[167/2386] Compiling C object 'lib/76b5a35@@rte_ethdev at sta/librte_ethdev_rte_flow.c.o'.
[168/2386] Compiling C object 'lib/76b5a35@@rte_timer at sta/librte_timer_rte_timer.c.o'.
[169/2386] Generating cmdline.sym_chk with a meson_exe.py custom command.
[170/2386] Generating metrics.sym_chk with a meson_exe.py custom command.
[171/2386] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_run_scalar.c.o'.
[172/2386] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_tb_mem.c.o'.
[173/2386] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_gen.c.o'.
[174/2386] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_rte_acl.c.o'.
[175/2386] Generating eal.sym_chk with a meson_exe.py custom command.
[176/2386] Compiling C object 'lib/76b5a35@@rte_acl at sta/librte_acl_acl_bld.c.o'.
[177/2386] Compiling C object 'lib/76b5a35@@rte_ethdev at sta/librte_ethdev_rte_ethdev.c.o'.
ninja: build stopped: subcommand failed


DPDK STV team


More information about the test-report mailing list