Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/92108 _Compilation issues_ Submitter: Hemant Agrawal Date: 2021-04-24 10:37:00 Reply_mail: 20210424103700.8098-9-hemant.agrawal@nxp.com DPDK git baseline: Repo:dpdk, CommitID: 1b593b9c832e9b284cc59665fe662242a3fc1daf 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 | | | | | | | FC33-64 | pass | pass | | | | | | CentOsStream8-64 | pass | | | | | | | UB2010-64 | pass | | | | | | | WIN10-64 | | pass | | | | | | UB2004-32 | FAIL | | | | | | | CENTOS83-64 | pass | pass | pass | 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.2.0-5ubuntu1~20.04) 10.2.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-240.el8.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+7459+90c24896) x86_64-native-linuxapp-gcc OS: FC33-64 Kernel Version: 5.8.16-300.fc33.x86_64 GCC Version: gcc (GCC) 10.2.1 20201005 (Red Hat 10.2.1-5) Clang Version: 11.0.0 (Fedora 11.0.0-1.fc33) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: CentOsStream8-64 Kernel Version: 4.18.0-257.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-0.2.rc2.module_el8.4.0+533+50191577) x86_64-native-linuxapp-gcc OS: UB2010-64 Kernel Version: 5.8.0-25-generic GCC Version: gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0 Clang Version: 11.0.0-2 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.2.0-5ubuntu1~20.04) 10.2.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 x86_64-native-linuxapp-icc x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug 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 -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:202:11: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 202 | ipc_md = (ipc_metadata_t *)((uint64_t)ipc_priv->peb_start.host_vaddr + | ^ ../drivers/baseband/la12xx/bbdev_la12xx.c:213:25: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 213 | 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:811:36: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 811 | ipc_priv->mhif_start.host_vaddr = (void *) ((uint64_t) | ^ ../drivers/baseband/la12xx/bbdev_la12xx.c:825:35: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 825 | ipc_priv->peb_start.host_vaddr = (void *)((uint64_t) | ^ ../drivers/baseband/la12xx/bbdev_la12xx.c:839:39: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 839 | 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:851: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=] 851 | rte_bbdev_log(INFO, "peb %lx %p %x", | ^~~~~~~~~~~~~~~ 852 | 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:851:29: note: format string is defined here 851 | 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:855: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=] 855 | rte_bbdev_log(INFO, "hugepg %lx %p %x", | ^~~~~~~~~~~~~~~~~~ 856 | 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:855:32: note: format string is defined here 855 | 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:859: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=] 859 | rte_bbdev_log(INFO, "mhif %lx %p %x", | ^~~~~~~~~~~~~~~~ 860 | 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:859:30: note: format string is defined here 859 | rte_bbdev_log(INFO, "mhif %lx %p %x", | ~~^ | | | long unsigned int | %llx ../drivers/baseband/la12xx/bbdev_la12xx.c:866:11: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 866 | 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:871:4: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Werror=format=] 871 | "ipc_metadata_t =%lx, mhif->ipc_regs.ipc_mdata_size=%x", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 872 | 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:871:23: note: format string is defined here 871 | "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:875:22: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Werror=format=] 875 | 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:875:38: note: format string is defined here 875 | rte_bbdev_log(ERR, "gul_hif size=%lx", sizeof(struct gul_hif)); | ~~^ | | | long unsigned int | %x cc1: all warnings being treated as errors [1853/2306] Linking static target drivers/libtmp_rte_baseband_fpga_5gnr_fec.a [1854/2306] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o [1855/2306] Generating rte_event_octeontx.pmd.c with a custom command [1856/2306] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o [1857/2306] Compiling C object app/dpdk-proc-info.p/proc-info_main.c.o [1858/2306] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o [1859/2306] Compiling C object app/dpdk-pdump.p/pdump_main.c.o [1860/2306] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o [1861/2306] Compiling C object drivers/libtmp_rte_baseband_acc100.a.p/baseband_acc100_rte_acc100_pmd.c.o ninja: build stopped DPDK STV team