Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/126181 _Compilation issues_ Submitter: Rongwei Liu Date: 2023-04-17 09:25:40 Reply_mail: <20230417092540.2617450-9-rongweil@nvidia.com> DPDK git baseline: Repo:dpdk-next-net, CommitID: f649fd010f2dd3a97e15f2ef106440a79f6c95fb Meson Build Summary: 25 Builds Done, 24 Successful, 1 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 | pass | pass | | | | | | | RHEL91-64 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | pass | | | | | | | | UB2204-64 | pass | pass | | | | fail | pass | | CentOS79-64 | pass | | | | | | | | 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: UB2204-64 Target: x86_64-native-linuxapp-doc FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o gcc -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -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 -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o -c ../drivers/net/mlx5/mlx5_flow_hw.c ../drivers/net/mlx5/mlx5_flow_hw.c: In function ‘__flow_hw_actions_translate’: ../drivers/net/mlx5/mlx5_flow_hw.c:1579:36: error: implicit conversion from ‘enum mlx5dr_action_reformat_type’ to ‘enum mlx5dr_action_type’ [-Werror=enum-conversion] 1579 | refmt_type = MLX5DR_ACTION_REFORMAT_TYPE_L2_TO_TNL_L2; | ^ ../drivers/net/mlx5/mlx5_flow_hw.c:1590:36: error: implicit conversion from ‘enum mlx5dr_action_reformat_type’ to ‘enum mlx5dr_action_type’ [-Werror=enum-conversion] 1590 | refmt_type = MLX5DR_ACTION_REFORMAT_TYPE_L2_TO_TNL_L2; | ^ ../drivers/net/mlx5/mlx5_flow_hw.c:1596:36: error: implicit conversion from ‘enum mlx5dr_action_reformat_type’ to ‘enum mlx5dr_action_type’ [-Werror=enum-conversion] 1596 | refmt_type = MLX5DR_ACTION_REFORMAT_TYPE_TNL_L2_TO_L2; | ^ ../drivers/net/mlx5/mlx5_flow_hw.c:1610:44: error: implicit conversion from ‘enum mlx5dr_action_reformat_type’ to ‘enum mlx5dr_action_type’ [-Werror=enum-conversion] 1610 | refmt_type = data_size < | ^ ../drivers/net/mlx5/mlx5_flow_hw.c:1616:44: error: implicit conversion from ‘enum mlx5dr_action_reformat_type’ to ‘enum mlx5dr_action_type’ [-Werror=enum-conversion] 1616 | refmt_type = | ^ ../drivers/net/mlx5/mlx5_flow_hw.c:1623:36: error: implicit conversion from ‘enum mlx5dr_action_reformat_type’ to ‘enum mlx5dr_action_type’ [-Werror=enum-conversion] 1623 | refmt_type = MLX5DR_ACTION_REFORMAT_TYPE_TNL_L2_TO_L2; | ^ ../drivers/net/mlx5/mlx5_flow_hw.c:1840:48: error: implicit conversion from ‘enum mlx5dr_action_type’ to ‘enum mlx5dr_action_reformat_type’ [-Werror=enum-conversion] 1840 | (priv->dr_ctx, refmt_type, | ^~~~~~~~~~ cc1: all warnings being treated as errors [1863/3282] Compiling C object drivers/libtmp_rte_net_octeon_ep.a.p/net_octeon_ep_otx_ep_vf.c.o [1864/3282] Compiling C object drivers/librte_net_octeontx.so.23.2.p/meson-generated_.._rte_net_octeontx.pmd.c.o [1865/3282] Compiling C object drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_linux.c.o [1866/3282] Compiling C object drivers/libtmp_rte_net_pfe.a.p/net_pfe_pfe_hal.c.o [1867/3282] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_rxtx.c.o [1868/3282] Compiling C object drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_ethdev.c.o [1869/3282] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_empw.c.o [1870/3282] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_nompw.c.o [1871/3282] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_txpp.c.o ninja: build stopped DPDK STV team