Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/22559 _Compilation issues_ Submitter: zhao wei Date: Tue, 28 Mar 2017 15:52:40 +0800 DPDK git baseline: Repo:dpdk, Branch:master, CommitID:b88161be422750fca0e66c76385d3d00912ba8fb Patch22558-22559 --> compile error Build Summary: 18 Builds Done, 14 Successful, 4 Failures Test environment and configuration as below: OS: RHEL7.2_64 Kernel Version:3.10.0-514.10.2.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-4) Clang Version:3.4.2 i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared OS: FreeBSD10.3_64 Kernel Version:10.3-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU) GCC Version:gcc (FreeBSD Ports Collection) 4.8.5 Clang Version:3.4.1 x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc OS: FC24_64 Kernel Version:4.9.13-100.fc24.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2) Clang Version:3.8.0 x86_64-native-linuxapp-clang i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc-debug OS: UB1604_64 Kernel Version:4.4.0-64-generic CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 Clang Version:3.8.0 i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-clang OS: CentOS7_64 Kernel Version:3.10.0-514.10.2.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Clang Version:3.4.2 i686-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc Failed Build #1: OS: RHEL7.2_64 Target: i686-native-linuxapp-gcc PMDINFO i40e_ethdev.o.pmd.c LD i40e_ethdev.oIn file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_debug.h:46:0, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/generic/rte_cycles.h:74, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_cycles.h:71, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:44: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_store_before_reset’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2818:19: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘unsigned int’ [-Werror=format=] sizeof(struct i40e_vf_reset_store)); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:259:32: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2816:3: note: in expansion of macro ‘PMD_INIT_LOG’ PMD_INIT_LOG(ERR, "Failed to allocate %ld bytes needed to" ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_reset_dev’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2885:9: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] (uint64_t)&adapter->reset_flag - (uint64_t)adapter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2885:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] (uint64_t)&adapter->reset_flag - (uint64_t)adapter); ^ cc1: all warnings being treated as errors Failed Build #2: OS: FC24_64 Target: i686-native-linuxapp-gcc PMDINFO i40e_ethdev.o.pmd.c LD i40e_ethdev.oIn file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_debug.h:46:0, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/generic/rte_cycles.h:74, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_cycles.h:71, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:44: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_store_before_reset’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2818:39: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘unsigned int’ [-Werror=format=] sizeof(struct i40e_vf_reset_store)); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:259:25: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2816:3: note: in expansion of macro ‘PMD_INIT_LOG’ PMD_INIT_LOG(ERR, "Failed to allocate %ld bytes needed to" ^~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_reset_dev’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2885:9: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] (uint64_t)&adapter->reset_flag - (uint64_t)adapter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2885:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] (uint64_t)&adapter->reset_flag - (uint64_t)adapter); ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'i40e_ethdev_vf.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #3: OS: UB1604_64 Target: i686-native-linuxapp-gcc PMDINFO i40e_ethdev.o.pmd.c LD i40e_ethdev.oIn file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_debug.h:46:0, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/generic/rte_cycles.h:74, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_cycles.h:71, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:44: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_store_before_reset’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2818:39: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘unsigned int’ [-Werror=format=] sizeof(struct i40e_vf_reset_store)); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:259:25: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2816:3: note: in expansion of macro ‘PMD_INIT_LOG’ PMD_INIT_LOG(ERR, "Failed to allocate %ld bytes needed to" ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_reset_dev’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2885:9: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] (uint64_t)&adapter->reset_flag - (uint64_t)adapter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2885:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] (uint64_t)&adapter->reset_flag - (uint64_t)adapter); ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'i40e_ethdev_vf.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #4: OS: CentOS7_64 Target: i686-native-linuxapp-gcc PMDINFO i40e_ethdev.o.pmd.c LD i40e_ethdev.oIn file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_debug.h:46:0, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/generic/rte_cycles.h:74, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_cycles.h:71, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:44: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_store_before_reset’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2818:19: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘unsigned int’ [-Werror=format=] sizeof(struct i40e_vf_reset_store)); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:259:32: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2816:3: note: in expansion of macro ‘PMD_INIT_LOG’ PMD_INIT_LOG(ERR, "Failed to allocate %ld bytes needed to" ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_reset_dev’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2885:9: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] (uint64_t)&adapter->reset_flag - (uint64_t)adapter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2885:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] (uint64_t)&adapter->reset_flag - (uint64_t)adapter); ^ cc1: all warnings being treated as errors DPDK STV team