Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/55511 _Compilation issues_ Submitter: Ivan Malov Date: 2019-06-27 21:06:18 Reply_mail: 20190627210618.22205-1-ivan.malov@oktetlabs.ru DPDK git baseline: Repo:dpdk-next-net, CommitID: 5b1cf13693603bbc01b0383843dbe5538fae263c Build Summary: 22 Builds Done, 22 Successful, 0 Failures Meson Summary: 8 Builds Done, 7 Successful, 1 Failures Test environment and configuration as below: **Make Build** OS: RHEL76-64 Kernel Version: 3.10.0-957.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Clang Version: NA x86_64-native-linuxapp-gcc OS: CENTOS76-64 Kernel Version: 3.10.0-957.10.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-icc x86_64-native-linuxapp-gcc OS: UB1904-64 Kernel Version: 5.0.0-13-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0 Clang Version: 8.0.0-3 (tags/RELEASE_800/final) x86_64-native-linuxapp-gcc OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) i686-native-linuxapp-gcc OS: UB1604-64 Kernel Version: 4.4.0-47-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.98-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) x86_64-native-bsdapp-gcc+debug x86_64-native-bsdapp-gcc x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-clang OS: RHEL80-64 Kernel Version: 4.18.0-80.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: NA x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-icc x86_64-native-linuxapp-gcc OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FD30-64 Kernel Version: 5.1.7-300.fc30.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang **Meson Build** OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-doc build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: WIN10-64 Kernel Version: N/A CPU info: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.99-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: RHEL80-64 Kernel Version: 4.18.0-80.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: NA build-gcc-static build-gcc-shared build-x86-default OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: FD30-64 Kernel Version: 5.0.9-301.fc30.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default *Meson Build Failed #1: OS: UB1604-32 Target:build-gcc-static FAILED: drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_wq.c.o gcc -Idrivers/net/hinic/base/12a4447@@hinic_base@sta -Idrivers/net/hinic/base -I../drivers/net/hinic/base -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-pointer-to-int-cast -D_GNU_SOURCE -fPIC -march=native -MD -MQ 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_wq.c.o' -MF 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_wq.c.o.d' -o 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_wq.c.o' -c ../drivers/net/hinic/base/hinic_pmd_wq.c ../drivers/net/hinic/base/hinic_pmd_wq.c: In function ‘free_wq_pages’: ../drivers/net/hinic/base/hinic_pmd_wq.c:11:44: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] dma_free_coherent(hwdev, wq->wq_buf_size, (void *)wq->queue_buf_vaddr, ^ ../drivers/net/hinic/base/hinic_pmd_wq.c: In function ‘alloc_wq_pages’: ../drivers/net/hinic/base/hinic_pmd_wq.c:33:7: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] (void *)wq->queue_buf_vaddr, ^ In file included from ../drivers/net/hinic/base/hinic_pmd_wq.c:7:0: ../drivers/net/hinic/base/hinic_pmd_wq.c: In function ‘hinic_read_wqe’: ../drivers/net/hinic/base/hinic_pmd_wq.h:72:31: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] #define WQ_WQE_ADDR(wq, idx) ((void *)((u64)((wq)->queue_buf_vaddr) + \ ^ ../drivers/net/hinic/base/hinic_pmd_wq.c:101:9: note: in expansion of macro ‘WQ_WQE_ADDR’ return WQ_WQE_ADDR(wq, (u32)(*cons_idx)); ^ ../drivers/net/hinic/base/hinic_pmd_wq.c: In function ‘hinic_wq_wqe_pg_clear’: ../drivers/net/hinic/base/hinic_pmd_wq.c:153:9: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memset((void *)wq->queue_buf_vaddr, 0, wq->wq_buf_size); ^ In file included from ../drivers/net/hinic/base/hinic_pmd_wq.c:7:0: ../drivers/net/hinic/base/hinic_pmd_wq.c: In function ‘hinic_get_wqe’: ../drivers/net/hinic/base/hinic_pmd_wq.h:72:31: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] #define WQ_WQE_ADDR(wq, idx) ((void *)((u64)((wq)->queue_buf_vaddr) + \ ^ ../drivers/net/hinic/base/hinic_pmd_wq.c:165:9: note: in expansion of macro ‘WQ_WQE_ADDR’ return WQ_WQE_ADDR(wq, (u32)(*prod_idx)); ^ cc1: all warnings being treated as errors [792/1590] Linking target drivers/librte_pmd_i40e.so.2.1. [793/1590] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_hwdev.c.o'. FAILED: drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_hwdev.c.o gcc -Idrivers/net/hinic/base/12a4447@@hinic_base@sta -Idrivers/net/hinic/base -I../drivers/net/hinic/base -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-pointer-to-int-cast -D_GNU_SOURCE -fPIC -march=native -MD -MQ 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_hwdev.c.o' -MF 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_hwdev.c.o.d' -o 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_hwdev.c.o' -c ../drivers/net/hinic/base/hinic_pmd_hwdev.c In file included from ../drivers/net/hinic/base/hinic_pmd_hwdev.c:10:0: ../drivers/net/hinic/base/hinic_pmd_hwdev.c: In function ‘hinic_dma_mem_zalloc’: ../drivers/net/hinic/base/hinic_pmd_hwdev.c:102:4: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] (void *)iova, rc, z_name); ^ ../drivers/net/hinic/base/hinic_compat.h:88:37: note: in definition of macro ‘PMD_DRV_LOG’ HINIC_DRIVER_NAME": " fmt "\n", ##args) ^ ../drivers/net/hinic/base/hinic_pmd_hwdev.c:110:11: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] (void *)(u64)mz); ^ In file included from ../drivers/net/hinic/base/hinic_pmd_hwdev.c:10:0: ../drivers/net/hinic/base/hinic_pmd_hwdev.c:114:4: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] (void *)iova, rc, z_name); ^ ../drivers/net/hinic/base/hinic_compat.h:88:37: note: in definition of macro ‘PMD_DRV_LOG’ HINIC_DRIVER_NAME": " fmt "\n", ##args) ^ ../drivers/net/hinic/base/hinic_pmd_hwdev.c: In function ‘hinic_dma_mem_free’: ../drivers/net/hinic/base/hinic_pmd_hwdev.c:146:4: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] (void *)phys, rc); ^ ../drivers/net/hinic/base/hinic_compat.h:88:37: note: in definition of macro ‘PMD_DRV_LOG’ HINIC_DRIVER_NAME": " fmt "\n", ##args) ^ ../drivers/net/hinic/base/hinic_pmd_hwdev.c:154:14: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] mz->name, (void *)mz->iova, mz->addr, mz->len, ^ ../drivers/net/hinic/base/hinic_compat.h:88:37: note: in definition of macro ‘PMD_DRV_LOG’ HINIC_DRIVER_NAME": " fmt "\n", ##args) ^ ../drivers/net/hinic/base/hinic_pmd_hwdev.c:155:4: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] (void *)phys, virt, size); ^ ../drivers/net/hinic/base/hinic_compat.h:88:37: note: in definition of macro ‘PMD_DRV_LOG’ HINIC_DRIVER_NAME": " fmt "\n", ##args) ^ ../drivers/net/hinic/base/hinic_pmd_hwdev.c: In function ‘dma_free_coherent_volatile’: ../drivers/net/hinic/base/hinic_pmd_hwdev.c:209:4: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] (void *)phys, rc); ^ ../drivers/net/hinic/base/hinic_compat.h:88:37: note: in definition of macro ‘PMD_DRV_LOG’ HINIC_DRIVER_NAME": " fmt "\n", ##args) ^ ../drivers/net/hinic/base/hinic_pmd_hwdev.c:217:14: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] mz->name, (void *)mz->iova, mz->addr, mz->len, ^ ../drivers/net/hinic/base/hinic_compat.h:88:37: note: in definition of macro ‘PMD_DRV_LOG’ HINIC_DRIVER_NAME": " fmt "\n", ##args) ^ ../drivers/net/hinic/base/hinic_pmd_hwdev.c:218:4: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] (void *)phys, virt, size); ^ ../drivers/net/hinic/base/hinic_compat.h:88:37: note: in definition of macro ‘PMD_DRV_LOG’ HINIC_DRIVER_NAME": " fmt "\n", ##args) ^ ../drivers/net/hinic/base/hinic_pmd_hwdev.c: In function ‘hinic_osdep_deinit’: ../drivers/net/hinic/base/hinic_pmd_hwdev.c:325:6: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] (void *)key_pa, data_mz->name); ^ ../drivers/net/hinic/base/hinic_compat.h:88:37: note: in definition of macro ‘PMD_DRV_LOG’ HINIC_DRIVER_NAME": " fmt "\n", ##args) ^ cc1: all warnings being treated as errors [794/1590] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_niccfg.c.o'. [795/1590] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_nicio.c.o'. [796/1590] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_ethdev.c.o'. ninja: build stopped: subcommand failed DPDK STV team