Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/112933 _Compilation issues_ Submitter: Timothy McDaniel Date: 2022-06-16 19:55:17 Reply_mail: <20220616195517.344509-3-timothy.mcdaniel@intel.com> DPDK git baseline: Repo:dpdk-next-eventdev, CommitID: 4c413c66a428ef1cae6de88045193229ed4d8bc7 Meson Build Summary: 21 Builds Done, 17 Successful, 4 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC36-64 | | pass | | | | | | | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL86-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | UB2004-32 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | pass | | | | | | | | UB2204-64 | fail | pass | | | | fail | fail | | CentOS79-64 | fail | | | | | | | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ 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: FC36-64 Kernel Version: 5.17.7-300.fc36.x86_64 GCC Version: gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1) Clang Version: 14.0.0 (Fedora 14.0.0-1.fc36) x86_64-native-linuxapp-clang 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.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-doc OS: UB2204-32 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: UB2204-64 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.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.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 *Build Failed #1: OS: UB2204-64 Target: x86_64-native-linuxapp-gcc+16byte FAILED: drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_base_dlb2_resource.c.o gcc -Idrivers/libtmp_rte_event_dlb2.a.p -Idrivers -I../drivers -Idrivers/event/dlb2 -I../drivers/event/dlb2 -Ilib/eventdev -I../lib/eventdev -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/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.event.dlb2 -MD -MQ drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_base_dlb2_resource.c.o -MF drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_base_dlb2_resource.c.o.d -o drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_base_dlb2_resource.c.o -c ../drivers/event/dlb2/pf/base/dlb2_resource.c ../drivers/event/dlb2/pf/base/dlb2_resource.c: In function ‘dlb2_log_enable_cq_weight’: ../drivers/event/dlb2/pf/base/dlb2_resource.c:6385:9: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] 6385 | if (vdev_req) | ^~ In file included from ../drivers/event/dlb2/pf/base/dlb2_resource.c:8: ../drivers/event/dlb2/pf/base/dlb2_osdep.h:148:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 148 | #define DLB2_HW_DBG(dlb2, ...) do { \ | ^~ ../drivers/event/dlb2/pf/base/dlb2_resource.c:6387:17: note: in expansion of macro ‘DLB2_HW_DBG’ 6387 | DLB2_HW_DBG(hw, "\tDomain ID: %d\n", | ^~~~~~~~~~~ cc1: all warnings being treated as errors [3062/3641] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn10k_tx_80_95_seg.c.o [3063/3641] Compiling C object drivers/libtmp_rte_event_dpaa2.a.p/event_dpaa2_dpaa2_eventdev.c.o [3064/3641] Compiling C object drivers/libtmp_rte_event_opdl.a.p/event_opdl_opdl_evdev_xstats.c.o [3065/3641] Compiling C object drivers/libtmp_rte_event_dpaa2.a.p/event_dpaa2_dpaa2_eventdev_selftest.c.o [3066/3641] Compiling C object drivers/libtmp_rte_event_opdl.a.p/event_opdl_opdl_evdev.c.o [3067/3641] Compiling C object drivers/libtmp_rte_event_opdl.a.p/event_opdl_opdl_evdev_init.c.o [3068/3641] Compiling C object drivers/libtmp_rte_event_dsw.a.p/event_dsw_dsw_event.c.o [3069/3641] Compiling C object drivers/libtmp_rte_event_opdl.a.p/event_opdl_opdl_ring.c.o [3070/3641] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn10k_tx_112_127_seg.c.o ninja: build stopped *Build Failed #2: OS: UB2204-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_base_dlb2_resource.c.o gcc -Idrivers/libtmp_rte_event_dlb2.a.p -Idrivers -I../drivers -Idrivers/event/dlb2 -I../drivers/event/dlb2 -Ilib/eventdev -I../lib/eventdev -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/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.event.dlb2 -MD -MQ drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_base_dlb2_resource.c.o -MF drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_base_dlb2_resource.c.o.d -o drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_base_dlb2_resource.c.o -c ../drivers/event/dlb2/pf/base/dlb2_resource.c ../drivers/event/dlb2/pf/base/dlb2_resource.c: In function ‘dlb2_log_enable_cq_weight’: ../drivers/event/dlb2/pf/base/dlb2_resource.c:6385:9: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] 6385 | if (vdev_req) | ^~ In file included from ../drivers/event/dlb2/pf/base/dlb2_resource.c:8: ../drivers/event/dlb2/pf/base/dlb2_osdep.h:148:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 148 | #define DLB2_HW_DBG(dlb2, ...) do { \ | ^~ ../drivers/event/dlb2/pf/base/dlb2_resource.c:6387:17: note: in expansion of macro ‘DLB2_HW_DBG’ 6387 | DLB2_HW_DBG(hw, "\tDomain ID: %d\n", | ^~~~~~~~~~~ cc1: all warnings being treated as errors [3103/3641] Compiling C object drivers/libtmp_rte_event_sw.a.p/event_sw_sw_evdev_scheduler.c.o [3104/3641] Compiling C object drivers/libtmp_rte_event_opdl.a.p/event_opdl_opdl_ring.c.o [3105/3641] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_probe.c.o [3106/3641] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_evdev.c.o [3107/3641] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_timvf_worker.c.o [3108/3641] Compiling C object drivers/libtmp_rte_event_sw.a.p/event_sw_sw_evdev_selftest.c.o [3109/3641] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_worker.c.o [3110/3641] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_evdev_selftest.c.o [3111/3641] Generating drivers/rte_event_cnxk.pmd.c with a custom command ninja: build stopped *Build Failed #3: OS: UB2204-64 Target: x86_64-native-linuxapp-doc FAILED: drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_base_dlb2_resource.c.o gcc -Idrivers/libtmp_rte_event_dlb2.a.p -Idrivers -I../drivers -Idrivers/event/dlb2 -I../drivers/event/dlb2 -Ilib/eventdev -I../lib/eventdev -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/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.event.dlb2 -MD -MQ drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_base_dlb2_resource.c.o -MF drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_base_dlb2_resource.c.o.d -o drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_base_dlb2_resource.c.o -c ../drivers/event/dlb2/pf/base/dlb2_resource.c ../drivers/event/dlb2/pf/base/dlb2_resource.c: In function ‘dlb2_log_enable_cq_weight’: ../drivers/event/dlb2/pf/base/dlb2_resource.c:6385:9: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] 6385 | if (vdev_req) | ^~ In file included from ../drivers/event/dlb2/pf/base/dlb2_resource.c:8: ../drivers/event/dlb2/pf/base/dlb2_osdep.h:148:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 148 | #define DLB2_HW_DBG(dlb2, ...) do { \ | ^~ ../drivers/event/dlb2/pf/base/dlb2_resource.c:6387:17: note: in expansion of macro ‘DLB2_HW_DBG’ 6387 | DLB2_HW_DBG(hw, "\tDomain ID: %d\n", | ^~~~~~~~~~~ cc1: all warnings being treated as errors [3054/3471] Generating drivers/rte_event_dpaa2_mingw with a custom command [3055/3471] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn10k_tx_48_63_seg.c.o [3056/3471] Compiling C object drivers/libtmp_rte_event_dsw.a.p/event_dsw_dsw_evdev.c.o [3057/3471] Compiling C object drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_dlb2_selftest.c.o [3058/3471] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn10k_tx_80_95_seg.c.o [3059/3471] Compiling C object drivers/libtmp_rte_event_dpaa2.a.p/event_dpaa2_dpaa2_eventdev_selftest.c.o [3060/3471] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn10k_tx_96_111_seg.c.o [3061/3471] Compiling C object drivers/libtmp_rte_event_dsw.a.p/event_dsw_dsw_event.c.o [3062/3471] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn10k_tx_112_127_seg.c.o ninja: build stopped *Build Failed #4: OS: CentOS79-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_dlb2.c.o gcc -Idrivers/libtmp_rte_event_dlb2.a.p -Idrivers -I../drivers -Idrivers/event/dlb2 -I../drivers/event/dlb2 -Ilib/eventdev -I../lib/eventdev -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/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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=pmd.event.dlb2 -MD -MQ drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_dlb2.c.o -MF drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_dlb2.c.o.d -o drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_dlb2.c.o -c ../drivers/event/dlb2/dlb2.c ../drivers/event/dlb2/dlb2.c: In function 'dlb2_hw_create_ldb_port': ../drivers/event/dlb2/dlb2.c:1561:11: error: missing braces around initializer [-Werror=missing-braces] struct dlb2_enable_cq_weight_args cq_weight_args = {0}; ^ ../drivers/event/dlb2/dlb2.c:1561:11: error: (near initialization for 'cq_weight_args.response') [-Werror=missing-braces] ../drivers/event/dlb2/dlb2.c: In function 'dlb2_primary_eventdev_probe': ../drivers/event/dlb2/dlb2.c:4535:10: error: missing braces around initializer [-Werror=missing-braces] struct dlb2_set_cos_bw_args set_cos_bw_args = {0}; ^ ../drivers/event/dlb2/dlb2.c:4535:10: error: (near initialization for 'set_cos_bw_args.response') [-Werror=missing-braces] cc1: all warnings being treated as errors [2910/3522] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn10k_tx_112_127.c.o [2911/3522] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn10k_tx_0_15_seg.c.o [2912/3522] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn10k_tx_32_47_seg.c.o [2913/3522] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn10k_tx_64_79_seg.c.o [2914/3522] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn10k_tx_16_31_seg.c.o [2915/3522] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn10k_tx_48_63_seg.c.o [2916/3522] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn10k_tx_96_111_seg.c.o [2917/3522] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn10k_tx_80_95_seg.c.o [2918/3522] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn10k_tx_112_127_seg.c.o ninja: build stopped DPDK STV team