Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/23260 _Compilation issues_ Submitter: zhao wei Date: Thu, 6 Apr 2017 14:33:47 +0800 DPDK git baseline: Repo:dpdk-next-virtio, Branch:master, CommitID:9c77b848b1c1edf31343e70776f7767350047d01 Patch23259-23260 --> compile error Build Summary: 18 Builds Done, 0 Successful, 18 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-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: RHEL7.2_64 Target: i686-native-linuxapp-gcc PMDINFO i40e_ethdev.o.pmd.c LD i40e_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:62:0: /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:2820: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/drivers/net/i40e/i40e_logs.h:40:15: note: in definition of macro ‘PMD_INIT_LOG’ __func__, ##args) ^ /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:2887: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:2887: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: RHEL7.2_64 Target: x86_64-native-linuxapp-gcc /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘reset_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: implicit declaration of function ‘FOREACH_PORT’ [-Werror=implicit-function-declaration] FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: nested extern declaration of ‘FOREACH_PORT’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:26: error: expected ‘;’ before ‘{’ token FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1616:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ cc1: all warnings being treated as errors Failed Build #3: OS: RHEL7.2_64 Target: x86_64-native-linuxapp-gcc-shared /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘reset_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: implicit declaration of function ‘FOREACH_PORT’ [-Werror=implicit-function-declaration] FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: nested extern declaration of ‘FOREACH_PORT’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:26: error: expected ‘;’ before ‘{’ token FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1616:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ cc1: all warnings being treated as errors Failed Build #4: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-clang /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: implicit declaration of function 'FOREACH_PORT' is invalid in C99 [-Werror,-Wimplicit-function-declaration] FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:25: error: expected ';' after expression FOREACH_PORT(pi, ports) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1625:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1630:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1636:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1642:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1649:4: error: 'continue' statement not in loop statement continue; ^ 7 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'testpmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' 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 #5: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-gcc /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function 'reset_port': /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: implicit declaration of function 'FOREACH_PORT' [-Werror=implicit-function-declaration] FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: nested extern declaration of 'FOREACH_PORT' [-Werror=nested-externs] /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:26: error: expected ';' before '{' token FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1616:19: error: unused variable 'port' [-Werror=unused-variable] struct rte_port *port; ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'testpmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' 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 #6: OS: FC24_64 Target: x86_64-native-linuxapp-clang /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: implicit declaration of function 'FOREACH_PORT' is invalid in C99 [-Werror,-Wimplicit-function-declaration] FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:25: error: expected ';' after expression FOREACH_PORT(pi, ports) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1625:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1630:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1636:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1642:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1649:4: error: 'continue' statement not in loop statement continue; ^ 7 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'testpmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' 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 #7: OS: FC24_64 Target: i686-native-linuxapp-gcc PMDINFO i40e_ethdev.o.pmd.c LD i40e_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:62:0: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_store_before_reset’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_logs.h:39:48: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘unsigned int’ [-Werror=format=] rte_log(RTE_LOG_ ## level, i40e_logtype_init, "%s(): " fmt "\n", \ ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2818: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:2887: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:2887: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 #8: OS: FC24_64 Target: x86_64-native-linuxapp-gcc /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘reset_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: implicit declaration of function ‘FOREACH_PORT’ [-Werror=implicit-function-declaration] FOREACH_PORT(pi, ports) { ^~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: nested extern declaration of ‘FOREACH_PORT’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:26: error: expected ‘;’ before ‘{’ token FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1616:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'testpmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' 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 #9: OS: FC24_64 Target: x86_64-native-linuxapp-gcc-shared /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘reset_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: implicit declaration of function ‘FOREACH_PORT’ [-Werror=implicit-function-declaration] FOREACH_PORT(pi, ports) { ^~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: nested extern declaration of ‘FOREACH_PORT’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:26: error: expected ‘;’ before ‘{’ token FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1616:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'testpmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' 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 #10: OS: FC24_64 Target: x86_64-native-linuxapp-gcc-debug /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘reset_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: implicit declaration of function ‘FOREACH_PORT’ [-Werror=implicit-function-declaration] FOREACH_PORT(pi, ports) { ^~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: nested extern declaration of ‘FOREACH_PORT’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:26: error: expected ‘;’ before ‘{’ token FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1616:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'testpmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' 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 #11: OS: UB1604_64 Target: i686-native-linuxapp-gcc PMDINFO i40e_ethdev.o.pmd.c LD i40e_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:62:0: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_store_before_reset’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_logs.h:39:48: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘unsigned int’ [-Werror=format=] rte_log(RTE_LOG_ ## level, i40e_logtype_init, "%s(): " fmt "\n", \ ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2818: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:2887: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:2887: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 #12: OS: UB1604_64 Target: x86_64-native-linuxapp-clang /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: implicit declaration of function 'FOREACH_PORT' is invalid in C99 [-Werror,-Wimplicit-function-declaration] FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:25: error: expected ';' after expression FOREACH_PORT(pi, ports) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1625:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1630:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1636:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1642:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1649:4: error: 'continue' statement not in loop statement continue; ^ 7 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'testpmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' 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 #13: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc-shared /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘reset_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: implicit declaration of function ‘FOREACH_PORT’ [-Werror=implicit-function-declaration] FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: nested extern declaration of ‘FOREACH_PORT’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:26: error: expected ‘;’ before ‘{’ token FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1616:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'testpmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' 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 #14: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘reset_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: implicit declaration of function ‘FOREACH_PORT’ [-Werror=implicit-function-declaration] FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: nested extern declaration of ‘FOREACH_PORT’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:26: error: expected ‘;’ before ‘{’ token FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1616:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'testpmd.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' 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 #15: OS: CentOS7_64 Target: i686-native-linuxapp-gcc PMDINFO i40e_ethdev.o.pmd.c LD i40e_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:62:0: /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:2820: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/drivers/net/i40e/i40e_logs.h:40:15: note: in definition of macro ‘PMD_INIT_LOG’ __func__, ##args) ^ /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:2887: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:2887: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 #16: OS: CentOS7_64 Target: x86_64-native-linuxapp-clang /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: implicit declaration of function 'FOREACH_PORT' is invalid in C99 [-Werror,-Wimplicit-function-declaration] FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:25: error: expected ';' after expression FOREACH_PORT(pi, ports) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1625:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1630:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1636:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1642:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1649:4: error: 'continue' statement not in loop statement continue; ^ 7 errors generated. Failed Build #17: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc-shared /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘reset_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: implicit declaration of function ‘FOREACH_PORT’ [-Werror=implicit-function-declaration] FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: nested extern declaration of ‘FOREACH_PORT’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:26: error: expected ‘;’ before ‘{’ token FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1616:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ cc1: all warnings being treated as errors Failed Build #18: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘reset_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: implicit declaration of function ‘FOREACH_PORT’ [-Werror=implicit-function-declaration] FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:2: error: nested extern declaration of ‘FOREACH_PORT’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1623:26: error: expected ‘;’ before ‘{’ token FOREACH_PORT(pi, ports) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1616:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ cc1: all warnings being treated as errors DPDK STV team