[dpdk-test-report] |FAILURE| pw36540 [PATCH v2] net/bnxt: switch to the new offload API

sys_stv at intel.com sys_stv at intel.com
Tue Mar 27 01:43:06 CEST 2018


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

http://dpdk.org/patch/36540

_Compilation issues_

Submitter: Ajit Khaparde <ajit.khaparde at broadcom.com>
Date: Mon, 26 Mar 2018 15:47:53 -0700
DPDK git baseline: Repo:dpdk, Branch:master, CommitID:8f0b534b35a6748563e953ef40112bbb750f354c

Patch36540-36540 --> compile error
Build Summary: 15 Builds Done, 11 Successful, 4 Failures

Test environment and configuration as below:
OS: FreeBSD10.3_64
    Kernel Version:10.3-RELEASE
    CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU)
    GCC Version:gcc (FreeBSD Ports Collection) 4.8.5
    Clang Version:3.4.1
    x86_64-native-bsdapp-clang
    x86_64-native-bsdapp-gcc
OS: FC24_64
    Kernel Version:4.9.13-100.fc24.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
    GCC Version:gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2)
    Clang Version:3.8.0
    x86_64-native-linuxapp-gcc-shared
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-gcc
    x86_64-native-linuxapp-gcc-debug
    x86_64-native-linuxapp-clang
OS: UB1604_64
    Kernel Version:4.4.0-81-generic
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
    GCC Version:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
    Clang Version:3.8.0
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-clang
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-gcc
OS: CentOS7_64
    Kernel Version:3.10.0-514.10.2.el7.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
    GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
    Clang Version:3.4.2
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-clang
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-gcc

Failed Build #1:
OS: FC24_64
Target: i686-native-linuxapp-gcc
SYMLINK-FILE include/rte_pmd_bnxt.hIn file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_ethdev.c:43:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_ethdev.c: In function ‘bnxt_dev_configure_op’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt.h:341:50: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
  rte_log(RTE_LOG_ ## level, bnxt_logtype_driver, "%s(): " fmt, \
                                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt.h:345:2: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
  PMD_DRV_LOG_RAW(level, fmt, ## args)
  ^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_ethdev.c:530:3: note: in expansion of macro ‘PMD_DRV_LOG’
   PMD_DRV_LOG(ERR, "Tx offloads requested 0x%lx supported 0x%x\n",
   ^~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt.h:341:50: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
  rte_log(RTE_LOG_ ## level, bnxt_logtype_driver, "%s(): " fmt, \
                                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt.h:345:2: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
  PMD_DRV_LOG_RAW(level, fmt, ## args)
  ^~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_ethdev.c:536:3: note: in expansion of macro ‘PMD_DRV_LOG’
   PMD_DRV_LOG(ERR, "Rx offloads requested 0x%lx supported 0x%x\n",
   ^~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'bnxt_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'bnxt' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #2:
OS: UB1604_64
Target: i686-native-linuxapp-gcc
SYMLINK-FILE include/rte_pmd_bnxt.hIn file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_ethdev.c:43:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_ethdev.c: In function ‘bnxt_dev_configure_op’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt.h:341:50: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
  rte_log(RTE_LOG_ ## level, bnxt_logtype_driver, "%s(): " fmt, \
                                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt.h:345:2: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
  PMD_DRV_LOG_RAW(level, fmt, ## args)
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_ethdev.c:530:3: note: in expansion of macro ‘PMD_DRV_LOG’
   PMD_DRV_LOG(ERR, "Tx offloads requested 0x%lx supported 0x%x\n",
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt.h:341:50: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
  rte_log(RTE_LOG_ ## level, bnxt_logtype_driver, "%s(): " fmt, \
                                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt.h:345:2: note: in expansion of macro ‘PMD_DRV_LOG_RAW’
  PMD_DRV_LOG_RAW(level, fmt, ## args)
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_ethdev.c:536:3: note: in expansion of macro ‘PMD_DRV_LOG’
   PMD_DRV_LOG(ERR, "Rx offloads requested 0x%lx supported 0x%x\n",
   ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'bnxt_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'bnxt' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #3:
OS: CentOS7_64
Target: i686-native-linuxapp-gcc
SYMLINK-FILE include/rte_pmd_bnxt.h/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_ethdev.c: In function ‘bnxt_dev_configure_op’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_ethdev.c:530:3: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ [-Werror=format=]
   PMD_DRV_LOG(ERR, "Tx offloads requested 0x%lx supported 0x%x\n",
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_ethdev.c:536:3: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ [-Werror=format=]
   PMD_DRV_LOG(ERR, "Rx offloads requested 0x%lx supported 0x%x\n",
   ^
cc1: all warnings being treated as errors


Failed Build #4:
OS: CentOS7_64
Target: x86_64-native-linuxapp-clang
In file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/qbman/qbman_portal.c:7:
In file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/qbman/qbman_portal.h:7:
In file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/qbman/qbman_sys.h:21:
In file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/qbman/qbman_sys_decl.h:7:
/home/patchWorkOrg/compilation/drivers/bus/fslmc/qbman/include/fsl_qbman_base.h:9:19: error: redefinition of typedef 'dma_addr_t' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef uint64_t  dma_addr_t;
                  ^
/home/patchWorkOrg/compilation/drivers/bus/fslmc/qbman/include/compat.h:35:18: note: previous definition is here
typedef uint64_t        dma_addr_t;
                        ^
1 error generated.


DPDK STV team


More information about the test-report mailing list