Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/91046 _Compilation issues_ Submitter: Hemant Agrawal Date: 2021-04-10 17:02:52 Reply_mail: 20210410170252.4587-9-hemant.agrawal@nxp.com DPDK git baseline: Repo:dpdk-next-crypto, CommitID: c6d502e2c6eab85e3814f107863bb36508a3cec5 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/librte_bbdev -I../lib/librte_bbdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_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:197:11: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 197 | ipc_md = (ipc_metadata_t *)((uint64_t)ipc_priv->peb_start.host_vaddr + | ^ ../drivers/baseband/la12xx/bbdev_la12xx.c:215:25: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 215 | q_priv->host_params = (host_ipc_params_t *) | ^ ../drivers/baseband/la12xx/bbdev_la12xx.c:224:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 224 | q_priv->msg_ch_vaddr[i] = (void *)join_32_bits(h, l); | ^ ../drivers/baseband/la12xx/bbdev_la12xx.c: In function ‘enqueue_single_op’: ../drivers/baseband/la12xx/bbdev_la12xx.c:508:17: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 508 | bbdev_ipc_op = (struct bbdev_ipc_dequeue_op *)virt; | ^ In file included from ../drivers/baseband/la12xx/bbdev_la12xx.c:21: ../drivers/baseband/la12xx/bbdev_la12xx.c: In function ‘setup_la12xx_dev’: ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:13:47: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘phys_addr_t’ {aka ‘long long unsigned int’} [-Werror=format=] 13 | rte_log(RTE_LOG_DEBUG, bbdev_la12xx_logtype, "bbdev_la12xx: %s(): "\ | ^~~~~~~~~~~~~~~~~~~~~~~ 14 | fmt "\n", __func__, ##args) | ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:13:47: note: in definition of macro ‘BBDEV_LA12XX_PMD_DEBUG’ 13 | rte_log(RTE_LOG_DEBUG, bbdev_la12xx_logtype, "bbdev_la12xx: %s(): "\ | ^~~~~~~~~~~~~~~~~~~~~~~ 14 | fmt "\n", __func__, ##args) | ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:13:47: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=] 13 | rte_log(RTE_LOG_DEBUG, bbdev_la12xx_logtype, "bbdev_la12xx: %s(): "\ | ^~~~~~~~~~~~~~~~~~~~~~~ 14 | fmt "\n", __func__, ##args) | ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:13:47: note: in definition of macro ‘BBDEV_LA12XX_PMD_DEBUG’ 13 | rte_log(RTE_LOG_DEBUG, bbdev_la12xx_logtype, "bbdev_la12xx: %s(): "\ | ^~~~~~~~~~~~~~~~~~~~~~~ 14 | fmt "\n", __func__, ##args) | ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:13:47: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘phys_addr_t’ {aka ‘long long unsigned int’} [-Werror=format=] 13 | rte_log(RTE_LOG_DEBUG, bbdev_la12xx_logtype, "bbdev_la12xx: %s(): "\ | ^~~~~~~~~~~~~~~~~~~~~~~ 14 | fmt "\n", __func__, ##args) | ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:13:47: note: in definition of macro ‘BBDEV_LA12XX_PMD_DEBUG’ 13 | rte_log(RTE_LOG_DEBUG, bbdev_la12xx_logtype, "bbdev_la12xx: %s(): "\ | ^~~~~~~~~~~~~~~~~~~~~~~ 14 | fmt "\n", __func__, ##args) | ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:13:47: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=] 13 | rte_log(RTE_LOG_DEBUG, bbdev_la12xx_logtype, "bbdev_la12xx: %s(): "\ | ^~~~~~~~~~~~~~~~~~~~~~~ 14 | fmt "\n", __func__, ##args) | ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:13:47: note: in definition of macro ‘BBDEV_LA12XX_PMD_DEBUG’ 13 | rte_log(RTE_LOG_DEBUG, bbdev_la12xx_logtype, "bbdev_la12xx: %s(): "\ | ^~~~~~~~~~~~~~~~~~~~~~~ 14 | fmt "\n", __func__, ##args) | ../drivers/baseband/la12xx/bbdev_la12xx.c:890:36: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 890 | ipc_priv->mhif_start.host_vaddr = (void *) ((uint64_t) | ^ ../drivers/baseband/la12xx/bbdev_la12xx.c:904:35: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 904 | ipc_priv->peb_start.host_vaddr = (void *)((uint64_t) | ^ ../drivers/baseband/la12xx/bbdev_la12xx.c:918:39: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 918 | 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_pmd_logs.h:9:51: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=] 9 | rte_log(RTE_LOG_ ## level, bbdev_la12xx_logtype, "bbdev_la12xx: " \ | ^~~~~~~~~~~~~~~~ ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:21:2: note: in expansion of macro ‘BBDEV_LA12XX_PMD_LOG’ 21 | BBDEV_LA12XX_PMD_LOG(INFO, fmt, ## args) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/baseband/la12xx/bbdev_la12xx.c:930:2: note: in expansion of macro ‘BBDEV_LA12XX_PMD_INFO’ 930 | BBDEV_LA12XX_PMD_INFO("peb %lx %p %x", | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:9:51: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=] 9 | rte_log(RTE_LOG_ ## level, bbdev_la12xx_logtype, "bbdev_la12xx: " \ | ^~~~~~~~~~~~~~~~ ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:21:2: note: in expansion of macro ‘BBDEV_LA12XX_PMD_LOG’ 21 | BBDEV_LA12XX_PMD_LOG(INFO, fmt, ## args) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/baseband/la12xx/bbdev_la12xx.c:934:2: note: in expansion of macro ‘BBDEV_LA12XX_PMD_INFO’ 934 | BBDEV_LA12XX_PMD_INFO("hugepg %lx %p %x", | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:9:51: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=] 9 | rte_log(RTE_LOG_ ## level, bbdev_la12xx_logtype, "bbdev_la12xx: " \ | ^~~~~~~~~~~~~~~~ ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:21:2: note: in expansion of macro ‘BBDEV_LA12XX_PMD_LOG’ 21 | BBDEV_LA12XX_PMD_LOG(INFO, fmt, ## args) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/baseband/la12xx/bbdev_la12xx.c:938:2: note: in expansion of macro ‘BBDEV_LA12XX_PMD_INFO’ 938 | BBDEV_LA12XX_PMD_INFO("mhif %lx %p %x", | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/baseband/la12xx/bbdev_la12xx.c:945:11: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 945 | 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_pmd_logs.h:9:51: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Werror=format=] 9 | rte_log(RTE_LOG_ ## level, bbdev_la12xx_logtype, "bbdev_la12xx: " \ | ^~~~~~~~~~~~~~~~ ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:23:2: note: in expansion of macro ‘BBDEV_LA12XX_PMD_LOG’ 23 | BBDEV_LA12XX_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/baseband/la12xx/bbdev_la12xx.c:949:3: note: in expansion of macro ‘BBDEV_LA12XX_PMD_ERR’ 949 | BBDEV_LA12XX_PMD_ERR( | ^~~~~~~~~~~~~~~~~~~~ ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:9:51: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Werror=format=] 9 | rte_log(RTE_LOG_ ## level, bbdev_la12xx_logtype, "bbdev_la12xx: " \ | ^~~~~~~~~~~~~~~~ ../drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h:23:2: note: in expansion of macro ‘BBDEV_LA12XX_PMD_LOG’ 23 | BBDEV_LA12XX_PMD_LOG(ERR, fmt, ## args) | ^~~~~~~~~~~~~~~~~~~~ ../drivers/baseband/la12xx/bbdev_la12xx.c:955:3: note: in expansion of macro ‘BBDEV_LA12XX_PMD_ERR’ 955 | BBDEV_LA12XX_PMD_ERR( | ^~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [992/2392] Generating rte_net_dpaa.pmd.c with a custom command [993/2392] Compiling C object drivers/libtmp_rte_net_e1000.a.p/net_e1000_em_ethdev.c.o [994/2392] Compiling C object drivers/net/e1000/base/libe1000_base.a.p/e1000_phy.c.o [995/2392] Compiling C object drivers/libtmp_rte_net_e1000.a.p/net_e1000_igb_pf.c.o [996/2392] Compiling C object drivers/libtmp_rte_net_e1000.a.p/net_e1000_igb_flow.c.o [997/2392] Compiling C object lib/librte_pipeline.a.p/librte_pipeline_rte_table_action.c.o [998/2392] Compiling C object drivers/libtmp_rte_net_e1000.a.p/net_e1000_em_rxtx.c.o [999/2392] Compiling C object drivers/libtmp_rte_net_dpaa2.a.p/net_dpaa2_dpaa2_flow.c.o [1000/2392] Compiling C object drivers/libtmp_rte_net_e1000.a.p/net_e1000_igb_ethdev.c.o ninja: build stopped DPDK STV team