Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/122908 _Compilation issues_ Submitter: Tomasz Duszynski Date: 2023-02-02 09:43:58 Reply_mail: <20230202094358.2838758-5-tduszynski@marvell.com> DPDK git baseline: Repo:dpdk, CommitID: 7e40372522c5a129da616d1420ff582968b81b46 Meson Build Summary: 25 Builds Done, 23 Successful, 2 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL86-64 | pass | pass | | pass | pass | | | | SUSE15-64 | fail | pass | | | | | | | RHEL91-64 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | pass | | | | | | | | UB2204-64 | pass | pass | | | | pass | pass | | CentOS79-64 | fail | | | | | | | | RHEL86-64Rt | pass | | | | | | | | UB2210-64 | pass | | | | | | | | FC37-64 | pass | pass | | | | | | | 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: RHEL91-64 Kernel Version: 5.14.0-162.6.1.el9_1.x86_64 GCC Version: gcc (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2) Clang Version: 14.0.6 (Red Hat 14.0.6-1.el9) 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 x86_64-native-linuxapp-doc 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: UB2210-64 Kernel Version: 5.19.0-21-generic GCC Version: gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0 Clang Version: 15.0.2-1 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: SUSE15-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_pmu.a.p/pmu_rte_pmu.c.o gcc -Ilib/librte_pmu.a.p -Ilib -I../lib -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/pmu -I../lib/pmu -fdiagnostics-color=always -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-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.pmu -MD -MQ lib/librte_pmu.a.p/pmu_rte_pmu.c.o -MF lib/librte_pmu.a.p/pmu_rte_pmu.c.o.d -o lib/librte_pmu.a.p/pmu_rte_pmu.c.o -c ../lib/pmu/rte_pmu.c ../lib/pmu/rte_pmu.c: In function ‘rte_pmu_add_events_by_pattern’: ../lib/pmu/rte_pmu.c:455:6: error: ‘ret’ may be used uninitialized in this function [-Werror=maybe-uninitialized] if (ret) ^ cc1: all warnings being treated as errors [10/3262] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o [11/3262] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_errno.c.o [12/3262] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_hexdump.c.o [13/3262] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o [14/3262] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o [15/3262] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o [16/3262] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o [17/3262] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o [18/3262] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #2: OS: CentOS79-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_pmu.a.p/pmu_rte_pmu.c.o gcc -Ilib/librte_pmu.a.p -Ilib -I../lib -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/pmu -I../lib/pmu -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.pmu -MD -MQ lib/librte_pmu.a.p/pmu_rte_pmu.c.o -MF lib/librte_pmu.a.p/pmu_rte_pmu.c.o.d -o lib/librte_pmu.a.p/pmu_rte_pmu.c.o -c ../lib/pmu/rte_pmu.c ../lib/pmu/rte_pmu.c: In function 'rte_pmu_add_events_by_pattern': ../lib/pmu/rte_pmu.c:426:2: error: 'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized] return ret >= 0 ? 0 : ret; ^ ../lib/pmu/rte_pmu.c:409:6: note: 'ret' was declared here int ret; ^ cc1: all warnings being treated as errors [7/3211] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o [8/3211] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_data.c.o [9/3211] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_errno.c.o [10/3211] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o [11/3211] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o [12/3211] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o [13/3211] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o [14/3211] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o [15/3211] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped DPDK STV team