Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/99531 _Compilation issues_ Submitter: Nipun Gupta Date: 2021-09-24 04:37:22 Reply_mail: 20210924043722.27980-10-nipun.gupta@nxp.com DPDK git baseline: Repo:dpdk-next-crypto, CommitID: 01e561801f4b95f443fa8cd443d7aa95e7a976d3 Meson Build Summary: 22 Builds Done, 21 Successful, 1 Failures, 0 Blocked +----------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +----------------+------------+--------------+------------+------------+-----------+----------+ | UB2004-64 | pass | pass | pass | | | pass | | RHEL83-64 | pass | pass | pass | pass | pass | | | FC34-64 | pass | pass | | | | | | UB2104-64 | pass | | | | | | | WIN10-64 | | pass | | | | | | UB2004-32 | fail | | | | | | | CENTOS83-64 | pass | pass | | | | | | FreeBSD1201-64 | pass | pass | | pass | pass | | | SUSE15-64 | pass | pass | | | | | +----------------+------------+--------------+------------+------------+-----------+----------+ Test environment and configuration as below: 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: RHEL83-64 Kernel Version: 4.18.0-305.3.1.el8.x86_64 GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) Clang Version: 11.0.0 (Red Hat 11.0.0-1.module_el8.4.0+587+5187cac0) 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: FC34-64 Kernel Version: 5.11.15-300.fc34.x86_64 GCC Version: gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0) Clang Version: 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2104-64 Kernel Version: 5.11.0-16-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0 Clang Version: 12.0.0-1ubuntu1 x86_64-native-linuxapp-gcc OS: WIN10-64 Kernel Version: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang 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: CENTOS83-64 Kernel Version: 4.18.0-240.1.1.el8_3.x86_64 GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5) Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 9.2.0 Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.3.18-lp152.57-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 9.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc *Build Failed #1: OS: UB2004-32 Target: i686-native-linuxapp-gcc FAILED: drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o gcc -Idrivers/libtmp_rte_baseband_la12xx.a.p -Idrivers -I../drivers -Idrivers/baseband/la12xx -I../drivers/baseband/la12xx -Ilib/bbdev -I../lib/bbdev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/vdev -I../drivers/bus/vdev -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.bb.la12xx -MD -MQ drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o -MF drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o.d -o drivers/libtmp_rte_baseband_la12xx.a.p/baseband_la12xx_bbdev_la12xx.c.o -c ../drivers/baseband/la12xx/bbdev_la12xx.c ../drivers/baseband/la12xx/bbdev_la12xx.c: In function ‘la12xx_e200_queue_setup’: ../drivers/baseband/la12xx/bbdev_la12xx.c:201:11: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 201 | ipc_md = (ipc_metadata_t *)((uint64_t)ipc_priv->peb_start.host_vaddr + | ^ ../drivers/baseband/la12xx/bbdev_la12xx.c:212:25: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 212 | q_priv->host_params = (host_ipc_params_t *) | ^ ../drivers/baseband/la12xx/bbdev_la12xx.c: In function ‘setup_la12xx_dev’: ../drivers/baseband/la12xx/bbdev_la12xx.c:810:36: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 810 | ipc_priv->mhif_start.host_vaddr = (void *) ((uint64_t) | ^ ../drivers/baseband/la12xx/bbdev_la12xx.c:824:35: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 824 | ipc_priv->peb_start.host_vaddr = (void *)((uint64_t) | ^ ../drivers/baseband/la12xx/bbdev_la12xx.c:838:39: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 838 | ipc_priv->modem_ccsrbar.host_vaddr = (void *)((uint64_t) | ^ In file included from ../drivers/baseband/la12xx/bbdev_la12xx.c:21: ../drivers/baseband/la12xx/bbdev_la12xx.c:850:22: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=] 850 | rte_bbdev_log(INFO, "peb %lx %p %x", | ^~~~~~~~~~~~~~~ 851 | ipc_priv->peb_start.host_phys, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:9:51: note: in definition of macro ‘rte_bbdev_log’ 9 | rte_log(RTE_LOG_ ## level, bbdev_la12xx_logtype, fmt "\n", \ | ^~~ ../drivers/baseband/la12xx/bbdev_la12xx.c:850:29: note: format string is defined here 850 | rte_bbdev_log(INFO, "peb %lx %p %x", | ~~^ | | | long unsigned int | %llx In file included from ../drivers/baseband/la12xx/bbdev_la12xx.c:21: ../drivers/baseband/la12xx/bbdev_la12xx.c:854:22: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=] 854 | rte_bbdev_log(INFO, "hugepg %lx %p %x", | ^~~~~~~~~~~~~~~~~~ 855 | ipc_priv->hugepg_start.host_phys, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:9:51: note: in definition of macro ‘rte_bbdev_log’ 9 | rte_log(RTE_LOG_ ## level, bbdev_la12xx_logtype, fmt "\n", \ | ^~~ ../drivers/baseband/la12xx/bbdev_la12xx.c:854:32: note: format string is defined here 854 | rte_bbdev_log(INFO, "hugepg %lx %p %x", | ~~^ | | | long unsigned int | %llx In file included from ../drivers/baseband/la12xx/bbdev_la12xx.c:21: ../drivers/baseband/la12xx/bbdev_la12xx.c:858:22: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=] 858 | rte_bbdev_log(INFO, "mhif %lx %p %x", | ^~~~~~~~~~~~~~~~ 859 | ipc_priv->mhif_start.host_phys, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:9:51: note: in definition of macro ‘rte_bbdev_log’ 9 | rte_log(RTE_LOG_ ## level, bbdev_la12xx_logtype, fmt "\n", \ | ^~~ ../drivers/baseband/la12xx/bbdev_la12xx.c:858:30: note: format string is defined here 858 | rte_bbdev_log(INFO, "mhif %lx %p %x", | ~~^ | | | long unsigned int | %llx ../drivers/baseband/la12xx/bbdev_la12xx.c:865:11: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 865 | ipc_md = (ipc_metadata_t *)((uint64_t)ipc_priv->peb_start.host_vaddr + | ^ In file included from ../drivers/baseband/la12xx/bbdev_la12xx.c:21: ../drivers/baseband/la12xx/bbdev_la12xx.c:870:4: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Werror=format=] 870 | "ipc_metadata_t =%lx, mhif->ipc_regs.ipc_mdata_size=%x", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 871 | sizeof(ipc_metadata_t), mhif->ipc_regs.ipc_mdata_size); | ~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:9:51: note: in definition of macro ‘rte_bbdev_log’ 9 | rte_log(RTE_LOG_ ## level, bbdev_la12xx_logtype, fmt "\n", \ | ^~~ ../drivers/baseband/la12xx/bbdev_la12xx.c:870:23: note: format string is defined here 870 | "ipc_metadata_t =%lx, mhif->ipc_regs.ipc_mdata_size=%x", | ~~^ | | | long unsigned int | %x In file included from ../drivers/baseband/la12xx/bbdev_la12xx.c:21: ../drivers/baseband/la12xx/bbdev_la12xx.c:874:22: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Werror=format=] 874 | rte_bbdev_log(ERR, "gul_hif size=%lx", sizeof(struct gul_hif)); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:9:51: note: in definition of macro ‘rte_bbdev_log’ 9 | rte_log(RTE_LOG_ ## level, bbdev_la12xx_logtype, fmt "\n", \ | ^~~ ../drivers/baseband/la12xx/bbdev_la12xx.c:874:38: note: format string is defined here 874 | rte_bbdev_log(ERR, "gul_hif size=%lx", sizeof(struct gul_hif)); | ~~^ | | | long unsigned int | %x cc1: all warnings being treated as errors [1981/2448] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o [1982/2448] Generating rte_event_sw.pmd.c with a custom command [1983/2448] Compiling C object drivers/libtmp_rte_event_octeontx.a.p/event_octeontx_ssovf_evdev_selftest.c.o [1984/2448] Compiling C object app/dpdk-proc-info.p/proc-info_main.c.o [1985/2448] Compiling C object app/dpdk-test-acl.p/test-acl_main.c.o [1986/2448] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o [1987/2448] Compiling C object app/dpdk-pdump.p/pdump_main.c.o [1988/2448] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o [1989/2448] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o ninja: build stopped DPDK STV team