Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/106470 _Compilation issues_ Submitter: Andy Pei Date: 2022-01-25 06:47:38 Reply_mail: 1643093258-47258-16-git-send-email-andy.pei@intel.com DPDK git baseline: Repo:dpdk-next-virtio, CommitID: 6f716880ee53ac1e50c9c75dc749886e3257bb8f Meson Build Summary: 20 Builds Done, 17 Successful, 3 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 | pass | 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: drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o icc -Idrivers/libtmp_rte_vdpa_ifc.a.p -Idrivers -I../drivers -Idrivers/vdpa/ifc -I../drivers/vdpa/ifc -I../drivers/vdpa/ifc/base -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/pci -I../lib/pci -Ilib/vhost -I../lib/vhost -Ilib/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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=pmd.vdpa.ifc -MD -MQ drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o -MF drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o.d -o drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o -c ../drivers/vdpa/ifc/ifcvf_vdpa.c ../drivers/vdpa/ifc/ifcvf_vdpa.c(1496): error #269: invalid format string conversion DRV_LOG(INFO, "capacity : %quG", capacity >> 21); ^ ../drivers/vdpa/ifc/ifcvf_vdpa.c(1657): error #269: invalid format string conversion DRV_LOG(INFO, "capacity : %quG", capacity >> 21); ^ compilation aborted for ../drivers/vdpa/ifc/ifcvf_vdpa.c (code 2) [2330/3035] Compiling C object drivers/librte_compress_zlib.so.22.1.p/meson-generated_.._rte_compress_zlib.pmd.c.o [2331/3035] Linking target drivers/librte_compress_isal.so.22.1 [2332/3035] Generating rte_regex_cn9k.pmd.c with a custom command [2333/3035] Generating symbol file drivers/librte_crypto_dpaa_sec.so.22.1.p/librte_crypto_dpaa_sec.so.22.1.symbols [2334/3035] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o [2335/3035] Generating rte_compress_octeontx.sym_chk with a custom command (wrapped by meson to capture output) [2336/3035] Generating rte_compress_zlib.sym_chk with a custom command (wrapped by meson to capture output) [2337/3035] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o [2338/3035] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o ninja: build stopped *Build Failed #2: OS: UB2004-32 Target: i686-native-linuxapp-gcc FAILED: drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o gcc -Idrivers/libtmp_rte_vdpa_ifc.a.p -Idrivers -I../drivers -Idrivers/vdpa/ifc -I../drivers/vdpa/ifc -I../drivers/vdpa/ifc/base -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/pci -I../lib/pci -Ilib/vhost -I../lib/vhost -Ilib/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.vdpa.ifc -MD -MQ drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o -MF drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o.d -o drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o -c ../drivers/vdpa/ifc/ifcvf_vdpa.c ../drivers/vdpa/ifc/ifcvf_vdpa.c: In function ‘ifcvf_blk_get_config’: ../drivers/vdpa/ifc/ifcvf_vdpa.c:32:3: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘unsigned int’ [-Werror=format=] 32 | "IFCVF %s(): " fmt "\n", __func__, ##args) | ^~~~~~~~~~~~~~ ...... 1470 | len, sizeof(struct virtio_blk_config)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int ../drivers/vdpa/ifc/ifcvf_vdpa.c:1469:3: note: in expansion of macro ‘DRV_LOG’ 1469 | DRV_LOG(ERR, "Invalid len: %u, required: %lu", | ^~~~~~~ cc1: all warnings being treated as errors [1906/2478] Compiling C object drivers/libtmp_rte_event_dpaa2.a.p/event_dpaa2_dpaa2_eventdev.c.o [1907/2478] Generating rte_event_dpaa.pmd.c with a custom command [1908/2478] Compiling C object drivers/libtmp_rte_event_dpaa2.a.p/event_dpaa2_dpaa2_hw_dpcon.c.o [1909/2478] Generating rte_crypto_virtio.sym_chk with a meson_exe.py custom command [1910/2478] Compiling C object drivers/libtmp_rte_event_dpaa2.a.p/event_dpaa2_dpaa2_eventdev_selftest.c.o [1911/2478] Compiling C object drivers/libtmp_rte_crypto_dpaa_sec.a.p/crypto_dpaa_sec_dpaa_sec.c.o [1912/2478] Compiling C object drivers/libtmp_rte_crypto_dpaa2_sec.a.p/crypto_dpaa2_sec_dpaa2_sec_dpseci.c.o [1913/2478] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o [1914/2478] Compiling C object drivers/libtmp_rte_event_dsw.a.p/event_dsw_dsw_event.c.o ninja: build stopped *Build Failed #3: OS: UB2004-64 Target: x86_64-native-linuxapp-icc FAILED: drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o icc -Idrivers/libtmp_rte_vdpa_ifc.a.p -Idrivers -I../drivers -Idrivers/vdpa/ifc -I../drivers/vdpa/ifc -I../drivers/vdpa/ifc/base -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/pci -I../lib/pci -Ilib/vhost -I../lib/vhost -Ilib/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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=pmd.vdpa.ifc -MD -MQ drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o -MF drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o.d -o drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o -c ../drivers/vdpa/ifc/ifcvf_vdpa.c ../drivers/vdpa/ifc/ifcvf_vdpa.c(1496): error #269: invalid format string conversion DRV_LOG(INFO, "capacity : %quG", capacity >> 21); ^ ../drivers/vdpa/ifc/ifcvf_vdpa.c(1657): error #269: invalid format string conversion DRV_LOG(INFO, "capacity : %quG", capacity >> 21); ^ compilation aborted for ../drivers/vdpa/ifc/ifcvf_vdpa.c (code 2) [2319/3021] Generating rte_regex_cn9k.pmd.c with a custom command [2320/3021] Generating symbol file drivers/librte_crypto_dpaa_sec.so.22.1.p/librte_crypto_dpaa_sec.so.22.1.symbols [2321/3021] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o [2322/3021] Generating rte_compress_zlib.sym_chk with a meson_exe.py custom command [2323/3021] Generating rte_compress_octeontx.sym_chk with a meson_exe.py custom command [2324/3021] Compiling C object drivers/libtmp_rte_vdpa_sfc.a.p/vdpa_sfc_sfc_vdpa.c.o [2325/3021] Compiling C object drivers/libtmp_rte_vdpa_sfc.a.p/vdpa_sfc_sfc_vdpa_hw.c.o [2326/3021] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o [2327/3021] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o ninja: build stopped DPDK STV team