Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/81161 _Compilation issues_ Submitter: Dharmik Thakkar Date: 2020-10-16 17:38:58 Reply_mail: 20201016173858.1134-4-dharmik.thakkar@arm.com DPDK git baseline: Repo:dpdk, CommitID: 028c57407df4288f061698b95336a9e9a0cf75b3 Meson Build Summary: 21 Builds Done, 15 Successful, 6 Failures, 0 Blocked +----------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +----------------+------------+--------------+------------+------------+-----------+----------+ | CENTOS82-64 | pass | FAIL | pass | pass | pass | | | RHEL82-64 | pass | | | | | | | UB1804-64 | pass | | | | | | | FC32-64 | pass | FAIL | | | | | | UB2004-64 | pass | FAIL | pass | | | pass | | WIN10-64 | | FAIL | | | | | | UB2004-32 | pass | | | | | | | FreeBSD1201-64 | pass | FAIL | | pass | pass | | | SUSE15-64 | pass | FAIL | | | | | +----------------+------------+--------------+------------+------------+-----------+----------+ Test environment and configuration as below: OS: CENTOS82-64 Kernel Version: 4.18.0-193.14.2.el8_2.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: 5.3.0-59-generic CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz GCC Version: gcc (Ubuntu 8.4.0-1ubuntu1~18.04) 8.4.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: UB2004-64 Kernel Version: 5.4.0-47-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 x86_64-native-linuxapp-doc 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-47-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 *Build Failed #1: OS: CENTOS82-64 Target: x86_64-native-linuxapp-clang FAILED: lib/librte_hash.a.p/librte_hash_rte_cuckoo_hash.c.o clang -Ilib/librte_hash.a.p -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_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 -O3 -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/librte_hash.a.p/librte_hash_rte_cuckoo_hash.c.o -MF lib/librte_hash.a.p/librte_hash_rte_cuckoo_hash.c.o.d -o lib/librte_hash.a.p/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/2669] Compiling C object lib/librte_acl.a.p/librte_acl_acl_gen.c.o [170/2669] Compiling C object lib/librte_acl.a.p/librte_acl_acl_run_scalar.c.o [171/2669] Compiling C object lib/librte_acl.a.p/librte_acl_rte_acl.c.o [172/2669] Compiling C object lib/librte_ethdev.a.p/librte_ethdev_rte_ethdev.c.o [173/2669] Compiling C object lib/librte_acl.a.p/librte_acl_acl_bld.c.o [174/2669] Generating eal.sym_chk with a meson_exe.py custom command [175/2669] Generating cmdline.sym_chk with a meson_exe.py custom command [176/2669] Generating timer.sym_chk with a meson_exe.py custom command [177/2669] Generating metrics.sym_chk with a meson_exe.py custom command ninja: build stopped: subcommand failed *Build Failed #2: OS: FC32-64 Target: x86_64-native-linuxapp-clang FAILED: lib/librte_hash.a.p/librte_hash_rte_cuckoo_hash.c.o clang -Ilib/librte_hash.a.p -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_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 -O3 -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/librte_hash.a.p/librte_hash_rte_cuckoo_hash.c.o -MF lib/librte_hash.a.p/librte_hash_rte_cuckoo_hash.c.o.d -o lib/librte_hash.a.p/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. [175/2674] Compiling C object lib/librte_ethdev.a.p/librte_ethdev_rte_ethdev.c.o [176/2674] Compiling C object lib/librte_acl.a.p/librte_acl_acl_run_scalar.c.o [177/2674] Compiling C object lib/librte_acl.a.p/librte_acl_rte_acl.c.o [178/2674] Generating eal.sym_chk with a meson_exe.py custom command [179/2674] Compiling C object lib/librte_acl.a.p/librte_acl_tb_mem.c.o [180/2674] Compiling C object lib/librte_acl.a.p/librte_acl_acl_bld.c.o [181/2674] Compiling C object lib/librte_acl.a.p/librte_acl_acl_run_sse.c.o [182/2674] Compiling C object lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o [183/2674] Compiling C object lib/librte_acl.a.p/librte_acl_acl_run_avx2.c.o ninja: build stopped: subcommand failed *Build Failed #3: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-clang FAILED: lib/librte_hash.a.p/librte_hash_rte_cuckoo_hash.c.o clang -Ilib/librte_hash.a.p -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 -O3 -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/librte_hash.a.p/librte_hash_rte_cuckoo_hash.c.o -MF lib/librte_hash.a.p/librte_hash_rte_cuckoo_hash.c.o.d -o lib/librte_hash.a.p/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. [158/1976] Generating cmdline.sym_chk with a meson_exe.py custom command [159/1976] Generating metrics.sym_chk with a meson_exe.py custom command [160/1976] Compiling C object lib/librte_timer.a.p/librte_timer_rte_timer.c.o [161/1976] Generating eal.sym_chk with a meson_exe.py custom command [162/1976] Generating ethdev.sym_chk with a meson_exe.py custom command ninja: build stopped: subcommand failed *Build Failed #4: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang FAILED: lib/librte_hash.a.p/librte_hash_rte_cuckoo_hash.c.o clang -Ilib/librte_hash.a.p -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_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 -O3 -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/librte_hash.a.p/librte_hash_rte_cuckoo_hash.c.o -MF lib/librte_hash.a.p/librte_hash_rte_cuckoo_hash.c.o.d -o lib/librte_hash.a.p/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. [164/2640] Compiling C object lib/librte_ethdev.a.p/librte_ethdev_rte_ethdev.c.o [165/2640] Generating cmdline.sym_chk with a meson_exe.py custom command [166/2640] Generating metrics.sym_chk with a meson_exe.py custom command [167/2640] Compiling C object lib/librte_acl.a.p/librte_acl_acl_gen.c.o [168/2640] Generating timer.sym_chk with a meson_exe.py custom command [169/2640] Compiling C object lib/librte_acl.a.p/librte_acl_acl_run_scalar.c.o [170/2640] Generating eal.sym_chk with a meson_exe.py custom command [171/2640] Compiling C object lib/librte_acl.a.p/librte_acl_acl_bld.c.o [172/2640] Compiling C object lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o ninja: build stopped: subcommand failed *Build Failed #5: OS: UB2004-64 Target: x86_64-native-linuxapp-clang FAILED: lib/librte_hash.a.p/librte_hash_rte_cuckoo_hash.c.o clang -Ilib/librte_hash.a.p -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_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 -O3 -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/librte_hash.a.p/librte_hash_rte_cuckoo_hash.c.o -MF lib/librte_hash.a.p/librte_hash_rte_cuckoo_hash.c.o.d -o lib/librte_hash.a.p/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/2663] Linking static target lib/librte_timer.a [168/2663] Generating eal.sym_chk with a meson_exe.py custom command [169/2663] Compiling C object lib/librte_acl.a.p/librte_acl_acl_run_scalar.c.o [170/2663] Compiling C object lib/librte_acl.a.p/librte_acl_rte_acl.c.o [171/2663] Generating metrics.sym_chk with a meson_exe.py custom command [172/2663] Generating cmdline.sym_chk with a meson_exe.py custom command [173/2663] Compiling C object lib/librte_acl.a.p/librte_acl_acl_gen.c.o [174/2663] Compiling C object lib/librte_ethdev.a.p/librte_ethdev_rte_ethdev.c.o [175/2663] Compiling C object lib/librte_acl.a.p/librte_acl_acl_bld.c.o ninja: build stopped: subcommand failed *Build Failed #6: OS: WIN10-64 Target: x86_64-windows-clang Message: lib/librte_pci: Defining dependency "pci" Message: lib/librte_cmdline: Defining dependency "cmdline" lib\meson.build:89:4: ERROR: Problem encountered: Missing internal dependency "rcu" for hash [lib/librte_hash] A full log can be found at C:\windows-dpdk\dpdk\build\meson-logs\meson-log.txt ninja: Entering directory `build' DPDK STV team