Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/106176 _Compilation issues_ Submitter: Ronan Randles Date: 2022-01-21 10:31:22 Reply_mail: 20220121103122.2926856-16-ronan.randles@intel.com DPDK git baseline: Repo:dpdk, CommitID: c8557ed434213fe11ecd867819823ea6865311d2 Meson Build Summary: 20 Builds Done, 16 Successful, 4 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +--------------+------------+--------------+------------+------------+-----------+----------+ | FC35-64 | pass | pass | | | | | | FreeBSD13-64 | pass | pass | | pass | pass | | | RHEL84-64 | pass | pass | fail | pass | pass | | | SUSE15-64 | fail | pass | | | | | | UB2004-32 | fail | | | | | | | UB2004-64 | pass | pass | fail | | | pass | | UB2110-64 | pass | | | | | | | RHEL85-64 | pass | | | | | | +--------------+------------+--------------+------------+------------+-----------+----------+ Test environment and configuration as below: OS: FC35-64 Kernel Version: 5.14.16-301.fc35.x86_64 GCC Version: gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1) Clang Version: 13.0.0 (Fedora 13.0.0~rc1-1.fc35) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD13-64 Kernel Version: 13.0-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL84-64 Kernel Version: 4.18.0-348.7.1.el8_5.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4) Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-icc OS: SUSE15-64 Kernel Version: 5.3.18-57-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-32 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 i686-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 x86_64-native-linuxapp-icc x86_64-native-linuxapp-doc OS: UB2110-64 Kernel Version: 5.13.0-19-generic GCC Version: gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0 Clang Version: 13.0.0-2 x86_64-native-linuxapp-gcc OS: RHEL85-64 Kernel Version: 4.18.0-348.7.1.el8_5.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4) Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c) x86_64-native-linuxapp-gcc *Build Failed #1: OS: RHEL84-64 Target: x86_64-native-linuxapp-icc FAILED: lib/librte_gen.a.p/gen_rte_gen.c.o icc -Ilib/librte_gen.a.p -Ilib -I../lib -Ilib/gen -I../lib/gen -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/mbuf -I../lib/mbuf -Ilib/net -I../lib/net -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.gen -MD -MQ lib/librte_gen.a.p/gen_rte_gen.c.o -MF lib/librte_gen.a.p/gen_rte_gen.c.o.d -o lib/librte_gen.a.p/gen_rte_gen.c.o -c ../lib/gen/rte_gen.c ../lib/gen/rte_gen.c(360): error #589: transfer of control bypasses initialization of: variable "udp" (declared at line 363) switch (inner) { ^ compilation aborted for ../lib/gen/rte_gen.c (code 2) [265/3026] Generating symbol file lib/librte_eal.so.22.1.p/librte_eal.so.22.1.symbols [266/3026] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_event_eth_tx_adapter.c.o [267/3026] Compiling C object lib/librte_gro.a.p/gro_rte_gro.c.o [268/3026] Generating efd.sym_chk with a custom command (wrapped by meson to capture output) [269/3026] Compiling C object lib/librte_gro.a.p/gro_gro_tcp4.c.o [270/3026] Generating cryptodev.sym_chk with a custom command (wrapped by meson to capture output) [271/3026] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_event_eth_rx_adapter.c.o [272/3026] Generating gpudev.sym_chk with a custom command (wrapped by meson to capture output) [273/3026] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_flow.c.o ninja: build stopped *Build Failed #2: OS: SUSE15-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/76b5a35@@rte_gen@sta/gen_rte_gen.c.o gcc -Ilib/76b5a35@@rte_gen@sta -Ilib -I../lib -Ilib/gen -I../lib/gen -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/mbuf -I../lib/mbuf -Ilib/net -I../lib/net -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.gen -MD -MQ 'lib/76b5a35@@rte_gen@sta/gen_rte_gen.c.o' -MF 'lib/76b5a35@@rte_gen@sta/gen_rte_gen.c.o.d' -o 'lib/76b5a35@@rte_gen@sta/gen_rte_gen.c.o' -c ../lib/gen/rte_gen.c ../lib/gen/rte_gen.c: In function ‘gen_parse_udp’: ../lib/gen/rte_gen.c:476:2: error: ‘inner’ may be used uninitialized in this function [-Werror=maybe-uninitialized] switch (inner) { ^~~~~~ ../lib/gen/rte_gen.c: In function ‘gen_parse_ether’: ../lib/gen/rte_gen.c:435:2: error: ‘inner’ may be used uninitialized in this function [-Werror=maybe-uninitialized] switch (inner) { ^~~~~~ ../lib/gen/rte_gen.c: In function ‘gen_parse_ipv4’: ../lib/gen/rte_gen.c:360:2: error: ‘inner’ may be used uninitialized in this function [-Werror=maybe-uninitialized] switch (inner) { ^~~~~~ ../lib/gen/rte_gen.c: In function ‘rte_gen_packet_parse_string’: ../lib/gen/rte_gen.c:680:5: error: ‘inner’ may be used uninitialized in this function [-Werror=maybe-uninitialized] if (inner != GEN_PROTO_ETHER) { ^ cc1: all warnings being treated as errors [264/3024] Compiling C object 'lib/76b5a35@@rte_eventdev@sta/eventdev_rte_eventdev.c.o' [265/3024] Compiling C object 'lib/76b5a35@@rte_gro@sta/gro_gro_udp4.c.o' [266/3024] Compiling C object 'lib/76b5a35@@rte_eventdev@sta/eventdev_rte_event_eth_rx_adapter.c.o' [267/3024] Compiling C object 'lib/76b5a35@@rte_gro@sta/gro_gro_vxlan_tcp4.c.o' [268/3024] Compiling C object 'lib/76b5a35@@rte_gro@sta/gro_gro_vxlan_udp4.c.o' [269/3024] Generating gpudev.sym_chk with a meson_exe.py custom command [270/3024] Generating cryptodev.sym_chk with a meson_exe.py custom command [271/3024] Generating ethdev.sym_chk with a meson_exe.py custom command [272/3024] Generating eal.sym_chk with a meson_exe.py custom command ninja: build stopped *Build Failed #3: OS: UB2004-32 Target: i686-native-linuxapp-gcc FAILED: examples/dpdk-generator.p/generator_main.c.o gcc -Iexamples/dpdk-generator.p -Iexamples -I../examples -Iexamples/generator -I../examples/generator -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/gen -I../lib/gen -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-generator.p/generator_main.c.o -MF examples/dpdk-generator.p/generator_main.c.o.d -o examples/dpdk-generator.p/generator_main.c.o -c ../examples/generator/main.c ../examples/generator/main.c: In function ‘tele_gen_mpps’: ../examples/generator/main.c:346:30: error: format ‘%li’ expects argument of type ‘long int’, but argument 2 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=] 346 | printf("Packet rate set: %li\n", args->target_tx_pps); | ~~^ ~~~~~~~~~~~~~~~~~~~ | | | | long int uint64_t {aka long long unsigned int} | %lli cc1: all warnings being treated as errors [2340/2488] Linking target examples/dpdk-eventdev_pipeline [2341/2488] Compiling C object examples/dpdk-helloworld.p/helloworld_main.c.o [2342/2488] Compiling C object examples/dpdk-fips_validation.p/fips_validation_fips_dev_self_test.c.o [2343/2488] Compiling C object examples/dpdk-flow_filtering.p/flow_filtering_main.c.o [2344/2488] Compiling C object examples/dpdk-flow_classify.p/flow_classify_flow_classify.c.o [2345/2488] Compiling C object examples/dpdk-ip_pipeline.p/ip_pipeline_action.c.o [2346/2488] Compiling C object app/test/dpdk-test.p/test_trace_perf.c.o [2347/2488] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o [2348/2488] Compiling C object app/test/dpdk-test.p/test_ring.c.o ninja: build stopped *Build Failed #4: OS: UB2004-64 Target: x86_64-native-linuxapp-icc FAILED: lib/librte_gen.a.p/gen_rte_gen.c.o icc -Ilib/librte_gen.a.p -Ilib -I../lib -Ilib/gen -I../lib/gen -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/mbuf -I../lib/mbuf -Ilib/net -I../lib/net -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.gen -MD -MQ lib/librte_gen.a.p/gen_rte_gen.c.o -MF lib/librte_gen.a.p/gen_rte_gen.c.o.d -o lib/librte_gen.a.p/gen_rte_gen.c.o -c ../lib/gen/rte_gen.c ../lib/gen/rte_gen.c(360): error #589: transfer of control bypasses initialization of: variable "udp" (declared at line 363) switch (inner) { ^ compilation aborted for ../lib/gen/rte_gen.c (code 2) [264/3012] Generating efd.sym_chk with a meson_exe.py custom command [265/3012] Linking target lib/librte_ring.so.22.1 [266/3012] Compiling C object lib/librte_gro.a.p/gro_rte_gro.c.o [267/3012] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_event_eth_tx_adapter.c.o [268/3012] Compiling C object lib/librte_gro.a.p/gro_gro_tcp4.c.o [269/3012] Generating gpudev.sym_chk with a meson_exe.py custom command [270/3012] Generating cryptodev.sym_chk with a meson_exe.py custom command [271/3012] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_event_eth_rx_adapter.c.o [272/3012] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_flow.c.o ninja: build stopped DPDK STV team