Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/21337 _Compilation issues_ Submitter: Gaetan Rivet Date: Fri, 3 Mar 2017 16:40:13 +0100 DPDK git baseline: Repo:dpdk, Branch:master, CommitID:b0c958e14dee3570a684fafb0ef5ca9c86c6f80d Patch21337-21337 --> 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-327.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-327.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 ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1301:20: error: unused variable ‘mac_addr’ [-Werror=unused-variable] struct ether_addr mac_addr; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1300:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1299:12: error: unused variable ‘qi’ [-Werror=unused-variable] queueid_t qi; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1297:6: error: unused variable ‘diag’ [-Werror=unused-variable] int diag, need_check_link_status = -1; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘stop_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1453:6: error: unused variable ‘need_check_link_status’ [-Werror=unused-variable] int need_check_link_status = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1452:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘close_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1501:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘pmd_test_exit’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1614:30: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pt_id) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘check_all_ports_link_status’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1645:31: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(portid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1639:22: error: unused variable ‘link’ [-Werror=unused-variable] struct rte_eth_link link; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1638:39: error: variable ‘print_flag’ set but not used [-Werror=unused-but-set-variable] uint8_t portid, count, all_ports_up, print_flag = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:38: error: unused parameter ‘port_mask’ [-Werror=unused-parameter] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘init_port_config’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1810:27: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1808:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘main’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:2118:3: error: expected ‘;’ before ‘rte_eth_promiscuous_enable’ rte_eth_promiscuous_enable(port_id); ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: At top level: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:1: error: ‘check_all_ports_link_status’ defined but not used [-Werror=unused-function] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘all_ports_stopped’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1268:1: error: control reaches end of non-void function [-Werror=return-type] } ^ 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:1301:20: error: unused variable ‘mac_addr’ [-Werror=unused-variable] struct ether_addr mac_addr; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1300:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1299:12: error: unused variable ‘qi’ [-Werror=unused-variable] queueid_t qi; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1297:6: error: unused variable ‘diag’ [-Werror=unused-variable] int diag, need_check_link_status = -1; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘stop_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1453:6: error: unused variable ‘need_check_link_status’ [-Werror=unused-variable] int need_check_link_status = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1452:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘close_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1501:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘pmd_test_exit’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1614:30: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pt_id) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘check_all_ports_link_status’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1645:31: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(portid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1639:22: error: unused variable ‘link’ [-Werror=unused-variable] struct rte_eth_link link; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1638:39: error: variable ‘print_flag’ set but not used [-Werror=unused-but-set-variable] uint8_t portid, count, all_ports_up, print_flag = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:38: error: unused parameter ‘port_mask’ [-Werror=unused-parameter] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘init_port_config’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1810:27: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1808:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘main’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:2118:3: error: expected ‘;’ before ‘rte_eth_promiscuous_enable’ rte_eth_promiscuous_enable(port_id); ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: At top level: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:1: error: ‘check_all_ports_link_status’ defined but not used [-Werror=unused-function] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘all_ports_stopped’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1268:1: error: control reaches end of non-void function [-Werror=return-type] } ^ 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:1301:20: error: unused variable ‘mac_addr’ [-Werror=unused-variable] struct ether_addr mac_addr; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1300:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1299:12: error: unused variable ‘qi’ [-Werror=unused-variable] queueid_t qi; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1297:6: error: unused variable ‘diag’ [-Werror=unused-variable] int diag, need_check_link_status = -1; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘stop_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1453:6: error: unused variable ‘need_check_link_status’ [-Werror=unused-variable] int need_check_link_status = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1452:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘close_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1501:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘pmd_test_exit’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1614:30: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pt_id) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘check_all_ports_link_status’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1645:31: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(portid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1639:22: error: unused variable ‘link’ [-Werror=unused-variable] struct rte_eth_link link; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1638:39: error: variable ‘print_flag’ set but not used [-Werror=unused-but-set-variable] uint8_t portid, count, all_ports_up, print_flag = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:38: error: unused parameter ‘port_mask’ [-Werror=unused-parameter] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘init_port_config’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1810:27: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1808:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘main’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:2118:3: error: expected ‘;’ before ‘rte_eth_promiscuous_enable’ rte_eth_promiscuous_enable(port_id); ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: At top level: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:1: error: ‘check_all_ports_link_status’ defined but not used [-Werror=unused-function] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘all_ports_stopped’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1268:1: error: control reaches end of non-void function [-Werror=return-type] } ^ 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:536:2: error: implicit declaration of function 'RTE_ETH_FOREACH_DEV' is invalid in C99 [-Werror,-Wimplicit-function-declaration] RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:536:26: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pid) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:621:26: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pid) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1242:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1260:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1308:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1310:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1317:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1422:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1467:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1471:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1476:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1482:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1510:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1514:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1519:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1526:4: error: 'continue' statement not in loop statement continue; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 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:61: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: 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:1301:20: error: unused variable 'mac_addr' [-Werror=unused-variable] struct ether_addr mac_addr; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1300:19: error: unused variable 'port' [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1299:12: error: unused variable 'qi' [-Werror=unused-variable] queueid_t qi; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1297:6: error: unused variable 'diag' [-Werror=unused-variable] int diag, need_check_link_status = -1; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function 'stop_port': /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:26: error: expected ';' before '{' token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1453:6: error: unused variable 'need_check_link_status' [-Werror=unused-variable] int need_check_link_status = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1452:19: error: unused variable 'port' [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function 'close_port': /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:26: error: expected ';' before '{' token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1501:19: error: unused variable 'port' [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function 'pmd_test_exit': /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1614:30: error: expected ';' before '{' token RTE_ETH_FOREACH_DEV(pt_id) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function 'check_all_ports_link_status': /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1645:31: error: expected ';' before '{' token RTE_ETH_FOREACH_DEV(portid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1639:22: error: unused variable 'link' [-Werror=unused-variable] struct rte_eth_link link; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1638:39: error: variable 'print_flag' set but not used [-Werror=unused-but-set-variable] uint8_t portid, count, all_ports_up, print_flag = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:38: error: unused parameter 'port_mask' [-Werror=unused-parameter] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function 'init_port_config': /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1810:27: error: expected ';' before '{' token RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1808:19: error: unused variable 'port' [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function 'main': /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:2118:3: error: expected ';' before 'rte_eth_promiscuous_enable' rte_eth_promiscuous_enable(port_id); ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: At top level: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:1: error: 'check_all_ports_link_status' defined but not used [-Werror=unused-function] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function 'all_ports_stopped': /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1268:1: error: control reaches end of non-void function [-Werror=return-type] } ^ 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:61: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: 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:536:2: error: implicit declaration of function 'RTE_ETH_FOREACH_DEV' is invalid in C99 [-Werror,-Wimplicit-function-declaration] RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:536:26: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pid) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:621:26: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pid) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1242:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1260:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1308:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1310:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1317:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1422:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1467:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1471:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1476:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1482:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1510:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1514:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1519:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1526:4: error: 'continue' statement not in loop statement continue; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 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:61: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed Failed Build #7: OS: FC24_64 Target: i686-native-linuxapp-gcc ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1301:20: error: unused variable ‘mac_addr’ [-Werror=unused-variable] struct ether_addr mac_addr; ^~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1300:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1299:12: error: unused variable ‘qi’ [-Werror=unused-variable] queueid_t qi; ^~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1297:6: error: unused variable ‘diag’ [-Werror=unused-variable] int diag, need_check_link_status = -1; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘stop_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1453:6: error: unused variable ‘need_check_link_status’ [-Werror=unused-variable] int need_check_link_status = 0; ^~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1452:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘close_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1501:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘pmd_test_exit’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1614:30: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pt_id) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘check_all_ports_link_status’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1645:31: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(portid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1639:22: error: unused variable ‘link’ [-Werror=unused-variable] struct rte_eth_link link; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1638:39: error: variable ‘print_flag’ set but not used [-Werror=unused-but-set-variable] uint8_t portid, count, all_ports_up, print_flag = 0; ^~~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:38: error: unused parameter ‘port_mask’ [-Werror=unused-parameter] check_all_ports_link_status(uint32_t port_mask) ^~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘init_port_config’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1810:27: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1808:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘main’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:2118:3: error: expected ‘;’ before ‘rte_eth_promiscuous_enable’ rte_eth_promiscuous_enable(port_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘all_ports_stopped’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1268:1: error: control reaches end of non-void function [-Werror=return-type] } ^ At top level: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:1: error: ‘check_all_ports_link_status’ defined but not used [-Werror=unused-function] check_all_ports_link_status(uint32_t port_mask) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:61: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: 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:1301:20: error: unused variable ‘mac_addr’ [-Werror=unused-variable] struct ether_addr mac_addr; ^~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1300:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1299:12: error: unused variable ‘qi’ [-Werror=unused-variable] queueid_t qi; ^~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1297:6: error: unused variable ‘diag’ [-Werror=unused-variable] int diag, need_check_link_status = -1; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘stop_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1453:6: error: unused variable ‘need_check_link_status’ [-Werror=unused-variable] int need_check_link_status = 0; ^~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1452:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘close_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1501:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘pmd_test_exit’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1614:30: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pt_id) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘check_all_ports_link_status’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1645:31: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(portid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1639:22: error: unused variable ‘link’ [-Werror=unused-variable] struct rte_eth_link link; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1638:39: error: variable ‘print_flag’ set but not used [-Werror=unused-but-set-variable] uint8_t portid, count, all_ports_up, print_flag = 0; ^~~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:38: error: unused parameter ‘port_mask’ [-Werror=unused-parameter] check_all_ports_link_status(uint32_t port_mask) ^~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘init_port_config’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1810:27: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1808:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘main’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:2118:3: error: expected ‘;’ before ‘rte_eth_promiscuous_enable’ rte_eth_promiscuous_enable(port_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘all_ports_stopped’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1268:1: error: control reaches end of non-void function [-Werror=return-type] } ^ At top level: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:1: error: ‘check_all_ports_link_status’ defined but not used [-Werror=unused-function] check_all_ports_link_status(uint32_t port_mask) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:61: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: 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:1301:20: error: unused variable ‘mac_addr’ [-Werror=unused-variable] struct ether_addr mac_addr; ^~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1300:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1299:12: error: unused variable ‘qi’ [-Werror=unused-variable] queueid_t qi; ^~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1297:6: error: unused variable ‘diag’ [-Werror=unused-variable] int diag, need_check_link_status = -1; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘stop_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1453:6: error: unused variable ‘need_check_link_status’ [-Werror=unused-variable] int need_check_link_status = 0; ^~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1452:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘close_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1501:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘pmd_test_exit’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1614:30: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pt_id) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘check_all_ports_link_status’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1645:31: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(portid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1639:22: error: unused variable ‘link’ [-Werror=unused-variable] struct rte_eth_link link; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1638:39: error: variable ‘print_flag’ set but not used [-Werror=unused-but-set-variable] uint8_t portid, count, all_ports_up, print_flag = 0; ^~~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:38: error: unused parameter ‘port_mask’ [-Werror=unused-parameter] check_all_ports_link_status(uint32_t port_mask) ^~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘init_port_config’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1810:27: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1808:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘main’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:2118:3: error: expected ‘;’ before ‘rte_eth_promiscuous_enable’ rte_eth_promiscuous_enable(port_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘all_ports_stopped’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1268:1: error: control reaches end of non-void function [-Werror=return-type] } ^ At top level: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:1: error: ‘check_all_ports_link_status’ defined but not used [-Werror=unused-function] check_all_ports_link_status(uint32_t port_mask) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:61: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: 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:1301:20: error: unused variable ‘mac_addr’ [-Werror=unused-variable] struct ether_addr mac_addr; ^~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1300:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1299:12: error: unused variable ‘qi’ [-Werror=unused-variable] queueid_t qi; ^~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1297:6: error: unused variable ‘diag’ [-Werror=unused-variable] int diag, need_check_link_status = -1; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘stop_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1453:6: error: unused variable ‘need_check_link_status’ [-Werror=unused-variable] int need_check_link_status = 0; ^~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1452:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘close_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1501:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘pmd_test_exit’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1614:30: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pt_id) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘check_all_ports_link_status’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1645:31: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(portid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1639:22: error: unused variable ‘link’ [-Werror=unused-variable] struct rte_eth_link link; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1638:39: error: variable ‘print_flag’ set but not used [-Werror=unused-but-set-variable] uint8_t portid, count, all_ports_up, print_flag = 0; ^~~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:38: error: unused parameter ‘port_mask’ [-Werror=unused-parameter] check_all_ports_link_status(uint32_t port_mask) ^~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘init_port_config’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1810:27: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1808:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘main’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:2118:3: error: expected ‘;’ before ‘rte_eth_promiscuous_enable’ rte_eth_promiscuous_enable(port_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘all_ports_stopped’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1268:1: error: control reaches end of non-void function [-Werror=return-type] } ^ At top level: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:1: error: ‘check_all_ports_link_status’ defined but not used [-Werror=unused-function] check_all_ports_link_status(uint32_t port_mask) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:61: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed Failed Build #11: OS: UB1604_64 Target: i686-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1301:20: error: unused variable ‘mac_addr’ [-Werror=unused-variable] struct ether_addr mac_addr; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1300:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1299:12: error: unused variable ‘qi’ [-Werror=unused-variable] queueid_t qi; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1297:6: error: unused variable ‘diag’ [-Werror=unused-variable] int diag, need_check_link_status = -1; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘stop_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1453:6: error: unused variable ‘need_check_link_status’ [-Werror=unused-variable] int need_check_link_status = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1452:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘close_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1501:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘pmd_test_exit’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1614:30: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pt_id) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘check_all_ports_link_status’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1645:31: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(portid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1639:22: error: unused variable ‘link’ [-Werror=unused-variable] struct rte_eth_link link; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1638:39: error: variable ‘print_flag’ set but not used [-Werror=unused-but-set-variable] uint8_t portid, count, all_ports_up, print_flag = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:38: error: unused parameter ‘port_mask’ [-Werror=unused-parameter] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘init_port_config’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1810:27: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1808:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘main’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:2118:3: error: expected ‘;’ before ‘rte_eth_promiscuous_enable’ rte_eth_promiscuous_enable(port_id); ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: At top level: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:1: error: ‘check_all_ports_link_status’ defined but not used [-Werror=unused-function] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘all_ports_stopped’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1268:1: error: control reaches end of non-void function [-Werror=return-type] } ^ 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:61: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed Failed Build #12: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1301:20: error: unused variable ‘mac_addr’ [-Werror=unused-variable] struct ether_addr mac_addr; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1300:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1299:12: error: unused variable ‘qi’ [-Werror=unused-variable] queueid_t qi; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1297:6: error: unused variable ‘diag’ [-Werror=unused-variable] int diag, need_check_link_status = -1; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘stop_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1453:6: error: unused variable ‘need_check_link_status’ [-Werror=unused-variable] int need_check_link_status = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1452:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘close_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1501:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘pmd_test_exit’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1614:30: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pt_id) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘check_all_ports_link_status’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1645:31: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(portid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1639:22: error: unused variable ‘link’ [-Werror=unused-variable] struct rte_eth_link link; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1638:39: error: variable ‘print_flag’ set but not used [-Werror=unused-but-set-variable] uint8_t portid, count, all_ports_up, print_flag = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:38: error: unused parameter ‘port_mask’ [-Werror=unused-parameter] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘init_port_config’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1810:27: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1808:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘main’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:2118:3: error: expected ‘;’ before ‘rte_eth_promiscuous_enable’ rte_eth_promiscuous_enable(port_id); ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: At top level: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:1: error: ‘check_all_ports_link_status’ defined but not used [-Werror=unused-function] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘all_ports_stopped’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1268:1: error: control reaches end of non-void function [-Werror=return-type] } ^ 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:61: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: 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:1301:20: error: unused variable ‘mac_addr’ [-Werror=unused-variable] struct ether_addr mac_addr; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1300:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1299:12: error: unused variable ‘qi’ [-Werror=unused-variable] queueid_t qi; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1297:6: error: unused variable ‘diag’ [-Werror=unused-variable] int diag, need_check_link_status = -1; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘stop_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1453:6: error: unused variable ‘need_check_link_status’ [-Werror=unused-variable] int need_check_link_status = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1452:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘close_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1501:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘pmd_test_exit’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1614:30: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pt_id) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘check_all_ports_link_status’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1645:31: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(portid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1639:22: error: unused variable ‘link’ [-Werror=unused-variable] struct rte_eth_link link; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1638:39: error: variable ‘print_flag’ set but not used [-Werror=unused-but-set-variable] uint8_t portid, count, all_ports_up, print_flag = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:38: error: unused parameter ‘port_mask’ [-Werror=unused-parameter] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘init_port_config’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1810:27: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1808:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘main’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:2118:3: error: expected ‘;’ before ‘rte_eth_promiscuous_enable’ rte_eth_promiscuous_enable(port_id); ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: At top level: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:1: error: ‘check_all_ports_link_status’ defined but not used [-Werror=unused-function] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘all_ports_stopped’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1268:1: error: control reaches end of non-void function [-Werror=return-type] } ^ 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:61: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed Failed Build #14: OS: UB1604_64 Target: x86_64-native-linuxapp-clang /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:536:2: error: implicit declaration of function 'RTE_ETH_FOREACH_DEV' is invalid in C99 [-Werror,-Wimplicit-function-declaration] RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:536:26: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pid) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:621:26: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pid) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1242:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1260:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1308:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1310:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1317:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1422:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1467:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1471:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1476:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1482:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1510:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1514:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1519:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1526:4: error: 'continue' statement not in loop statement continue; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 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:61: recipe for target 'test-pmd' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'app' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed Failed Build #15: OS: CentOS7_64 Target: i686-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1301:20: error: unused variable ‘mac_addr’ [-Werror=unused-variable] struct ether_addr mac_addr; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1300:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1299:12: error: unused variable ‘qi’ [-Werror=unused-variable] queueid_t qi; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1297:6: error: unused variable ‘diag’ [-Werror=unused-variable] int diag, need_check_link_status = -1; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘stop_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1453:6: error: unused variable ‘need_check_link_status’ [-Werror=unused-variable] int need_check_link_status = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1452:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘close_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1501:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘pmd_test_exit’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1614:30: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pt_id) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘check_all_ports_link_status’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1645:31: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(portid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1639:22: error: unused variable ‘link’ [-Werror=unused-variable] struct rte_eth_link link; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1638:39: error: variable ‘print_flag’ set but not used [-Werror=unused-but-set-variable] uint8_t portid, count, all_ports_up, print_flag = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:38: error: unused parameter ‘port_mask’ [-Werror=unused-parameter] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘init_port_config’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1810:27: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1808:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘main’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:2118:3: error: expected ‘;’ before ‘rte_eth_promiscuous_enable’ rte_eth_promiscuous_enable(port_id); ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: At top level: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:1: error: ‘check_all_ports_link_status’ defined but not used [-Werror=unused-function] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘all_ports_stopped’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1268:1: error: control reaches end of non-void function [-Werror=return-type] } ^ 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:536:2: error: implicit declaration of function 'RTE_ETH_FOREACH_DEV' is invalid in C99 [-Werror,-Wimplicit-function-declaration] RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:536:26: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pid) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:621:26: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pid) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1242:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1260:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1308:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1310:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1317:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1422:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1467:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1471:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1476:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1482:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:25: error: expected ';' after expression RTE_ETH_FOREACH_DEV(pi) { ^ ; /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1510:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1514:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1519:4: error: 'continue' statement not in loop statement continue; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1526:4: error: 'continue' statement not in loop statement continue; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. Failed Build #17: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc-shared ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1301:20: error: unused variable ‘mac_addr’ [-Werror=unused-variable] struct ether_addr mac_addr; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1300:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1299:12: error: unused variable ‘qi’ [-Werror=unused-variable] queueid_t qi; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1297:6: error: unused variable ‘diag’ [-Werror=unused-variable] int diag, need_check_link_status = -1; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘stop_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1453:6: error: unused variable ‘need_check_link_status’ [-Werror=unused-variable] int need_check_link_status = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1452:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘close_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1501:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘pmd_test_exit’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1614:30: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pt_id) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘check_all_ports_link_status’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1645:31: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(portid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1639:22: error: unused variable ‘link’ [-Werror=unused-variable] struct rte_eth_link link; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1638:39: error: variable ‘print_flag’ set but not used [-Werror=unused-but-set-variable] uint8_t portid, count, all_ports_up, print_flag = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:38: error: unused parameter ‘port_mask’ [-Werror=unused-parameter] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘init_port_config’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1810:27: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1808:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘main’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:2118:3: error: expected ‘;’ before ‘rte_eth_promiscuous_enable’ rte_eth_promiscuous_enable(port_id); ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: At top level: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:1: error: ‘check_all_ports_link_status’ defined but not used [-Werror=unused-function] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘all_ports_stopped’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1268:1: error: control reaches end of non-void function [-Werror=return-type] } ^ 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:1301:20: error: unused variable ‘mac_addr’ [-Werror=unused-variable] struct ether_addr mac_addr; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1300:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1299:12: error: unused variable ‘qi’ [-Werror=unused-variable] queueid_t qi; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1297:6: error: unused variable ‘diag’ [-Werror=unused-variable] int diag, need_check_link_status = -1; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘stop_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1465:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1453:6: error: unused variable ‘need_check_link_status’ [-Werror=unused-variable] int need_check_link_status = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1452:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘close_port’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1508:26: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pi) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1501:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘pmd_test_exit’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1614:30: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pt_id) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘check_all_ports_link_status’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1645:31: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(portid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1639:22: error: unused variable ‘link’ [-Werror=unused-variable] struct rte_eth_link link; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1638:39: error: variable ‘print_flag’ set but not used [-Werror=unused-but-set-variable] uint8_t portid, count, all_ports_up, print_flag = 0; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:38: error: unused parameter ‘port_mask’ [-Werror=unused-parameter] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘init_port_config’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1810:27: error: expected ‘;’ before ‘{’ token RTE_ETH_FOREACH_DEV(pid) { ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1808:19: error: unused variable ‘port’ [-Werror=unused-variable] struct rte_port *port; ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘main’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:2118:3: error: expected ‘;’ before ‘rte_eth_promiscuous_enable’ rte_eth_promiscuous_enable(port_id); ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: At top level: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1634:1: error: ‘check_all_ports_link_status’ defined but not used [-Werror=unused-function] check_all_ports_link_status(uint32_t port_mask) ^ /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c: In function ‘all_ports_stopped’: /home/patchWorkOrg/compilation/app/test-pmd/testpmd.c:1268:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors DPDK STV team