Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/33512 _Compilation issues_ Submitter: Moti Haimovsky Date: Wed, 10 Jan 2018 18:20:47 +0200 DPDK git baseline: Repo:dpdk, Branch:master, CommitID:612c6e8bd2582e5a3ee6289ec03979fb9c98cc8a Patch33512-33512 --> compile error Build Summary: 15 Builds Done, 10 Successful, 5 Failures Test environment and configuration as below: 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-81-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-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc 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: FreeBSD10.3_64 Target: x86_64-native-bsdapp-clang /home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:782:5: error: no previous prototype for function 'rte_vfio_clear_group' [-Werror,-Wmissing-prototypes] int rte_vfio_clear_group(int vfio_group_fd) ^ /home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:782:30: error: unused parameter 'vfio_group_fd' [-Werror,-Wunused-parameter] int rte_vfio_clear_group(int vfio_group_fd) ^ 2 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'eal.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'bsdapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed Failed Build #2: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-gcc /home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:782:5: error: no previous prototype for 'rte_vfio_clear_group' [-Werror=missing-prototypes] int rte_vfio_clear_group(int vfio_group_fd) ^ /home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c: In function 'rte_vfio_clear_group': /home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:782:30: error: unused parameter 'vfio_group_fd' [-Werror=unused-parameter] int rte_vfio_clear_group(int vfio_group_fd) ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'eal.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'eal' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'bsdapp' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_eal' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed Failed Build #3: OS: FC24_64 Target: i686-native-linuxapp-gcc In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_bus.h:52:0, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_eal.h:19, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_lcore.h:16, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/generic/rte_spinlock.h:21, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_spinlock.h:12, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_mempool.h:73, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_mbuf.h:66, from /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:9: /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c: In function ‘tap_dev_configure’: /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:621:33: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] tx_offloads, supp_tx_offloads); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:288:25: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:621:33: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] tx_offloads, supp_tx_offloads); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:288:25: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c: In function ‘tap_tx_queue_setup’: /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:1104:35: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t {aka const long long unsigned int}’ [-Werror=format=] tap_tx_offload_get_port_capa()); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:288:25: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:1104:35: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] tap_tx_offload_get_port_capa()); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:288:25: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:1104:35: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] tap_tx_offload_get_port_capa()); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:288:25: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'rte_eth_tap.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'tap' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed Failed Build #4: OS: UB1604_64 Target: i686-native-linuxapp-gcc In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_bus.h:52:0, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_eal.h:19, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_lcore.h:16, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/generic/rte_spinlock.h:21, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_spinlock.h:12, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_mempool.h:73, from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_mbuf.h:66, from /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:9: /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c: In function ‘tap_dev_configure’: /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:621:33: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] tx_offloads, supp_tx_offloads); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:288:25: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:621:33: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] tx_offloads, supp_tx_offloads); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:288:25: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c: In function ‘tap_tx_queue_setup’: /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:1104:35: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t {aka const long long unsigned int}’ [-Werror=format=] tap_tx_offload_get_port_capa()); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:288:25: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:1104:35: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] tap_tx_offload_get_port_capa()); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:288:25: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:1104:35: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=] tap_tx_offload_get_port_capa()); ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:288:25: note: in definition of macro ‘RTE_LOG’ RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:110: recipe for target 'rte_eth_tap.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'tap' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed Failed Build #5: OS: CentOS7_64 Target: i686-native-linuxapp-gcc /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c: In function ‘tap_dev_configure’: /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:618:3: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ [-Werror=format=] RTE_LOG(ERR, PMD, ^ /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:618:3: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ [-Werror=format=] /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c: In function ‘tap_tx_queue_setup’: /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:1099:4: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ [-Werror=format=] RTE_LOG(ERR, PMD, ^ /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:1099:4: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t’ [-Werror=format=] /home/patchWorkOrg/compilation/drivers/net/tap/rte_eth_tap.c:1099:4: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint64_t’ [-Werror=format=] cc1: all warnings being treated as errors DPDK STV team