[dpdk-test-report] |FAILURE| pw32025 [PATCH RFC v1 6/9] app/testpmd: add pktgen forwarding engine

sys_stv at intel.com sys_stv at intel.com
Fri Dec 8 14:37:33 CET 2017


Test-Label: Intel-compilation
Test-Status: FAILURE

http://dpdk.org/patch/32025

_Compilation issues_

Submitter: Xueming Li <xuemingl at mellanox.com>
Date: Fri,  8 Dec 2017 16:22:21 +0800
DPDK git baseline: Repo:dpdk, Branch:master, CommitID:224374cc0e3ca44af5141fb7035a97f338d00c18

Patch32019-32025 --> compile error
Build Summary: 21 Builds Done, 3 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: UB1610_64
    Kernel Version:4.8.0-22-generic
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
    GCC Version:gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005
    Clang Version:NA
    x86_64-native-linuxapp-icc
OS: RHEL7.3_64
    Kernel Version:3.10.0-514.16.1.el7.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
    GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)
    Clang Version:NA
    x86_64-native-linuxapp-icc
OS: FC25_64
    Kernel Version:4.8.6-300.fc25.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
    GCC Version:gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)
    Clang Version:NA
    x86_64-native-linuxapp-icc
OS: FreeBSD10.3_64
    Kernel Version:10.3-RELEASE
    CPU info:
    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: 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
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-gcc-debug
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-clang
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-gcc
OS: UB1604_64
    Kernel Version:4.4.0-78-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

Failed Build #1:
OS: RHEL7.2_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c: In function ‘pg_dump_mbuf_header’:
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:151:4: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint64_t’ [-Werror=format=]
    );
    ^
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c: In function ‘pg_mbuf_field_expect’:
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:213:6: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t’ [-Werror=format=]
      task->val, fs->rx_queue);
      ^
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:226:5: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Werror=format=]
     task->val & fields[i].mask, val);
     ^
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:226:5: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ [-Werror=format=]
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:226:5: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ [-Werror=format=]
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c: At top level:
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:468:1: error: ‘pg_idle_set’ defined but not used [-Werror=unused-function]
 pg_idle_set(int mode)
 ^
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/pktgen.c:468:1: error: ‘pg_idle_set’ defined but not used [-Werror=unused-function]
 pg_idle_set(int mode)
 ^
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/pktgen.c:468:1: error: ‘pg_idle_set’ defined but not used [-Werror=unused-function]
 pg_idle_set(int mode)
 ^
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/pktgen.c:146:4: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                        is_rx ? fs->rx_port : fs->tx_port,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:147:4: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                        is_rx ? fs->rx_queue : fs->tx_queue,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:160:5: error: format specifies type 'unsigned short' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat]
                                mbuf->tso_segsz);
                                ^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:581:61: error: expression which evaluates to zero treated as a null pointer constant of type 'const char *' [-Werror,-Wnon-literal-null-conversion]
                TOKEN_NUM_INITIALIZER(struct cmd_pktgen_cmd_result, mode, UINT8);
                                                                          ^~~~~
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/cmdline_parse_num.h:107:3: note: expanded from macro 'TOKEN_NUM_INITIALIZER'
                numtype,                        /* type */          \
                ^
4 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'pktgen.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'app' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed


Failed Build #5:
OS: FreeBSD10.3_64
Target: x86_64-native-bsdapp-gcc
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:468:1: error: 'pg_idle_set' defined but not used [-Werror=unused-function]
 pg_idle_set(int mode)
 ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'pktgen.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'app' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed


Failed Build #6:
OS: CentOS7_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c: In function ‘pg_dump_mbuf_header’:
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:151:4: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint64_t’ [-Werror=format=]
    );
    ^
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c: In function ‘pg_mbuf_field_expect’:
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:213:6: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t’ [-Werror=format=]
      task->val, fs->rx_queue);
      ^
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:226:5: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Werror=format=]
     task->val & fields[i].mask, val);
     ^
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:226:5: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ [-Werror=format=]
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:226:5: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ [-Werror=format=]
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c: At top level:
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:468:1: error: ‘pg_idle_set’ defined but not used [-Werror=unused-function]
 pg_idle_set(int mode)
 ^
cc1: all warnings being treated as errors


Failed Build #7:
OS: CentOS7_64
Target: x86_64-native-linuxapp-clang
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:146:4: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                        is_rx ? fs->rx_port : fs->tx_port,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:147:4: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                        is_rx ? fs->rx_queue : fs->tx_queue,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:160:5: error: format specifies type 'unsigned short' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat]
                                mbuf->tso_segsz);
                                ^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:581:61: error: expression which evaluates to zero treated as a null pointer constant of type 'const char *' [-Werror,-Wnon-literal-null-conversion]
                TOKEN_NUM_INITIALIZER(struct cmd_pktgen_cmd_result, mode, UINT8);
                                                                          ^~~~~
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/cmdline_parse_num.h:107:3: note: expanded from macro 'TOKEN_NUM_INITIALIZER'
                numtype,                        /* type */          \
                ^
4 errors generated.


Failed Build #8:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc-shared

/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:468:1: error: ‘pg_idle_set’ defined but not used [-Werror=unused-function]
 pg_idle_set(int mode)
 ^
cc1: all warnings being treated as errors


Failed Build #9:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:468:1: error: ‘pg_idle_set’ defined but not used [-Werror=unused-function]
 pg_idle_set(int mode)
 ^
cc1: all warnings being treated as errors


Failed Build #10:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-debug

/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:468:1: error: ‘pg_idle_set’ defined but not used [-Werror=unused-function]
 pg_idle_set(int mode)
 ^~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'pktgen.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'app' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed


Failed Build #11:
OS: FC24_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c: In function ‘pg_dump_mbuf_header’:
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:144:57: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
  printf("%s P:%hu Q:%hu len:%hu ptype:0x%x ol_flags:0x%lx rss:0x%08x fdir:0x%x\n",
                                                         ^
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c: In function ‘pg_mbuf_field_expect’:
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:212:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
    printf("Failed: queue expect: 0x%lu received:0x%hu\n",
                                      ^
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:224:33: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
    printf("Failed: %s mask: 0x%lx expect: 0x%lx received: 0x%lx\n",
                                 ^
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:224:47: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
    printf("Failed: %s mask: 0x%lx expect: 0x%lx received: 0x%lx\n",
                                               ^
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:224:63: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
    printf("Failed: %s mask: 0x%lx expect: 0x%lx received: 0x%lx\n",
                                                               ^
At top level:
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:468:1: error: ‘pg_idle_set’ defined but not used [-Werror=unused-function]
 pg_idle_set(int mode)
 ^~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'pktgen.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'app' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed


Failed Build #12:
OS: FC24_64
Target: x86_64-native-linuxapp-clang
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:146:4: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                        is_rx ? fs->rx_port : fs->tx_port,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:147:4: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                        is_rx ? fs->rx_queue : fs->tx_queue,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:160:5: error: format specifies type 'unsigned short' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat]
                                mbuf->tso_segsz);
                                ^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:581:61: error: expression which evaluates to zero treated as a null pointer constant of type 'const char *' [-Werror,-Wnon-literal-null-conversion]
                TOKEN_NUM_INITIALIZER(struct cmd_pktgen_cmd_result, mode, UINT8);
                                                                          ^~~~~
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/cmdline_parse_num.h:107:3: note: expanded from macro 'TOKEN_NUM_INITIALIZER'
                numtype,                        /* type */          \
                ^~~~~~~
4 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'pktgen.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'app' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed


Failed Build #13:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-shared

/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:468:1: error: ‘pg_idle_set’ defined but not used [-Werror=unused-function]
 pg_idle_set(int mode)
 ^~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'pktgen.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'app' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed


Failed Build #14:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:468:1: error: ‘pg_idle_set’ defined but not used [-Werror=unused-function]
 pg_idle_set(int mode)
 ^~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'pktgen.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'app' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed


Failed Build #15:
OS: UB1604_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c: In function ‘pg_dump_mbuf_header’:
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:144:9: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
  printf("%s P:%hu Q:%hu len:%hu ptype:0x%x ol_flags:0x%lx rss:0x%08x fdir:0x%x\n",
         ^
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c: In function ‘pg_mbuf_field_expect’:
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:212:11: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
    printf("Failed: queue expect: 0x%lu received:0x%hu\n",
           ^
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:224:11: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
    printf("Failed: %s mask: 0x%lx expect: 0x%lx received: 0x%lx\n",
           ^
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:224:11: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:224:11: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c: At top level:
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:468:1: error: ‘pg_idle_set’ defined but not used [-Werror=unused-function]
 pg_idle_set(int mode)
 ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'pktgen.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'app' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed


Failed Build #16:
OS: UB1604_64
Target: x86_64-native-linuxapp-clang
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:146:4: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                        is_rx ? fs->rx_port : fs->tx_port,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:147:4: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
                        is_rx ? fs->rx_queue : fs->tx_queue,
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:160:5: error: format specifies type 'unsigned short' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat]
                                mbuf->tso_segsz);
                                ^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:581:61: error: expression which evaluates to zero treated as a null pointer constant of type 'const char *' [-Werror,-Wnon-literal-null-conversion]
                TOKEN_NUM_INITIALIZER(struct cmd_pktgen_cmd_result, mode, UINT8);
                                                                          ^~~~~
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/cmdline_parse_num.h:107:3: note: expanded from macro 'TOKEN_NUM_INITIALIZER'
                numtype,                        /* type */          \
                ^~~~~~~
4 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'pktgen.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'app' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed


Failed Build #17:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc-shared

/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:468:1: error: ‘pg_idle_set’ defined but not used [-Werror=unused-function]
 pg_idle_set(int mode)
 ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'pktgen.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'app' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed


Failed Build #18:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc
/home/patchWorkOrg/compilation/app/test-pmd/pktgen.c:468:1: error: ‘pg_idle_set’ defined but not used [-Werror=unused-function]
 pg_idle_set(int mode)
 ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'pktgen.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:76: recipe for target 'app' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed


DPDK STV team


More information about the test-report mailing list