Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/111231 _Compilation issues_ Submitter: Wei Huang Date: 2022-05-17 06:28:54 Reply_mail: <20220517062854.1161727-5-wei.huang@intel.com> DPDK git baseline: Repo:dpdk-next-net-intel, CommitID: bf294fac8b513025cee2ebaac03cb14577986b7c Meson Build Summary: 21 Builds Done, 20 Successful, 1 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 | fail | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | pass | | | | | | | | UB2204-64 | pass | pass | | | | pass | pass | | CentOS79-64 | 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: 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.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: 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: UB2004-32 Target: i686-native-linuxapp-gcc FAILED: drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_enumerate.c.o gcc -Idrivers/raw/ifpga/base/libifpga_rawdev_base.a.p -Idrivers/raw/ifpga/base -I../drivers/raw/ifpga/base -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 -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_enumerate.c.o -MF drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_enumerate.c.o.d -o drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_enumerate.c.o -c ../drivers/raw/ifpga/base/ifpga_enumerate.c In file included from ../lib/eal/include/rte_debug.h:17, from ../lib/eal/include/generic/rte_cycles.h:17, from ../lib/eal/x86/include/rte_cycles.h:13, from ../drivers/raw/ifpga/base/osdep_rte/osdep_generic.h:9, from ../drivers/raw/ifpga/base/opae_osdep.h:12, from ../drivers/raw/ifpga/base/opae_hw_api.h:13, from ../drivers/raw/ifpga/base/ifpga_enumerate.c:9: ../drivers/raw/ifpga/base/ifpga_enumerate.c: In function ‘find_dfls_by_vsec’: ../drivers/raw/ifpga/base/ifpga_enumerate.c:878:26: error: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘u64’ {aka ‘long long unsigned int’} [-Werror=format=] 878 | __func__, offset, len); | ^ ../lib/eal/include/rte_log.h:343:25: note: in definition of macro ‘RTE_LOG’ 343 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ ../drivers/raw/ifpga/base/opae_osdep.h:56:29: note: in expansion of macro ‘dev_printf’ 56 | #define dev_err(x, args...) dev_printf(ERR, args) | ^~~~~~~~~~ ../drivers/raw/ifpga/base/ifpga_enumerate.c:877:4: note: in expansion of macro ‘dev_err’ 877 | dev_err(hw, "%s bad offset %u >= %zu\n", | ^~~~~~~ cc1: all warnings being treated as errors [1705/2482] Generating rte_net_txgbe.pmd.c with a custom command [1706/2482] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_fme.c.o [1707/2482] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_feature_dev.c.o [1708/2482] Generating rte_raw_dpaa2_cmdif.sym_chk with a custom command (wrapped by meson to capture output) [1709/2482] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_port.c.o [1710/2482] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o [1711/2482] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_fme_iperf.c.o [1712/2482] Compiling C object drivers/libtmp_rte_raw_dpaa2_qdma.a.p/raw_dpaa2_qdma_dpaa2_qdma.c.o [1713/2482] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o ninja: build stopped DPDK STV team