[dpdk-test-report] |FAILURE| pw23399 [PATCH v7 2/3] net/i40e: implement device reset on port

sys_stv at intel.com sys_stv at intel.com
Tue Apr 11 16:08:30 CEST 2017


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

http://dpdk.org/patch/23399

_Compilation issues_

Submitter: zhao wei <wei.zhao1 at intel.com>
Date: Mon, 10 Apr 2017 11:02:28 +0800
DPDK git baseline: Repo:dpdk-next-virtio, Branch:master, CommitID:9c77b848b1c1edf31343e70776f7767350047d01

Patch23398-23399 --> compile error
Build Summary: 18 Builds Done, 10 Successful, 8 Failures

Test environment and configuration as below:
OS: RHEL7.2_64
    Kernel Version:3.10.0-514.10.2.el7.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
    GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
    Clang Version:3.4.2
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-gcc
    x86_64-native-linuxapp-gcc-shared
OS: FreeBSD10.3_64
    Kernel Version:10.3-RELEASE
    CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU)
    GCC Version:gcc (FreeBSD Ports Collection) 4.8.5
    Clang Version:3.4.1
    x86_64-native-bsdapp-clang
    x86_64-native-bsdapp-gcc
OS: FC24_64
    Kernel Version:4.9.13-100.fc24.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
    GCC Version:gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2)
    Clang Version:3.8.0
    x86_64-native-linuxapp-clang
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-gcc-debug
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-gcc
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-514.10.2.el7.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
    GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
    Clang Version:3.4.2
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-clang
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-gcc

Failed Build #1:
OS: RHEL7.2_64
Target: i686-native-linuxapp-gcc
PMDINFO i40e_ethdev.o.pmd.c  LD i40e_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:62:0:
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_store_before_reset’:
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2820:19: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘unsigned int’ [-Werror=format=]
     sizeof(struct i40e_vf_reset_store));
                   ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_logs.h:40:15: note: in definition of macro ‘PMD_INIT_LOG’
   __func__, ##args)
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_reset_dev’:
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2887:9: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
         (uint64_t)&adapter->reset_flag - (uint64_t)adapter);
         ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2887:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
         (uint64_t)&adapter->reset_flag - (uint64_t)adapter);
                                          ^
cc1: all warnings being treated as errors


Failed Build #2:
OS: RHEL7.2_64
Target: x86_64-native-linuxapp-gcc-shared

testpmd.o: In function `check_all_ports_link_status.constprop.7':
testpmd.c:(.text+0x363): undefined reference to `rte_eth_find_next'
testpmd.c:(.text+0x387): undefined reference to `rte_eth_find_next'
testpmd.c:(.text+0x427): undefined reference to `rte_eth_find_next'
testpmd.o: In function `init_fwd_streams':
testpmd.c:(.text+0x1101): undefined reference to `rte_eth_find_next'
testpmd.c:(.text+0x1184): undefined reference to `rte_eth_find_next'
testpmd.o:testpmd.c:(.text+0x1472): more undefined references to `rte_eth_find_next' follow
collect2: error: ld returned 1 exit status


Failed Build #3:
OS: FC24_64
Target: i686-native-linuxapp-gcc
PMDINFO i40e_ethdev.o.pmd.c  LD i40e_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:62:0:
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_store_before_reset’:
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_logs.h:39:48: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘unsigned int’ [-Werror=format=]
  rte_log(RTE_LOG_ ## level, i40e_logtype_init, "%s(): " fmt "\n", \
                                                ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2818:3: note: in expansion of macro ‘PMD_INIT_LOG’
   PMD_INIT_LOG(ERR, "Failed to allocate %ld bytes needed to"
   ^~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_reset_dev’:
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2887:9: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
         (uint64_t)&adapter->reset_flag - (uint64_t)adapter);
         ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2887:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
         (uint64_t)&adapter->reset_flag - (uint64_t)adapter);
                                          ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'i40e_ethdev_vf.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'i40e' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed


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

testpmd.o: In function `check_all_ports_link_status.constprop.10':
testpmd.c:(.text+0xaeb): undefined reference to `rte_eth_find_next'
testpmd.c:(.text+0xb08): undefined reference to `rte_eth_find_next'
testpmd.c:(.text+0xb89): undefined reference to `rte_eth_find_next'
testpmd.c:(.text+0xbb8): undefined reference to `rte_eth_find_next'
testpmd.o: In function `init_fwd_streams':
testpmd.c:(.text+0x1931): undefined reference to `rte_eth_find_next'
testpmd.o:testpmd.c:(.text+0x19bb): more undefined references to `rte_eth_find_next' follow
collect2: error: ld returned 1 exit status
/home/patchWorkOrg/compilation/mk/rte.app.mk:249: recipe for target 'testpmd' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed


Failed Build #5:
OS: UB1604_64
Target: i686-native-linuxapp-gcc
PMDINFO i40e_ethdev.o.pmd.c  LD i40e_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:62:0:
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_store_before_reset’:
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_logs.h:39:48: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘unsigned int’ [-Werror=format=]
  rte_log(RTE_LOG_ ## level, i40e_logtype_init, "%s(): " fmt "\n", \
                                                ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2818:3: note: in expansion of macro ‘PMD_INIT_LOG’
   PMD_INIT_LOG(ERR, "Failed to allocate %ld bytes needed to"
   ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_reset_dev’:
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2887:9: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
         (uint64_t)&adapter->reset_flag - (uint64_t)adapter);
         ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2887:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
         (uint64_t)&adapter->reset_flag - (uint64_t)adapter);
                                          ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'i40e_ethdev_vf.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'i40e' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed


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

testpmd.o: In function `check_all_ports_link_status.constprop.10':
testpmd.c:(.text+0xcab): undefined reference to `rte_eth_find_next'
testpmd.c:(.text+0xcd0): undefined reference to `rte_eth_find_next'
testpmd.c:(.text+0xd98): undefined reference to `rte_eth_find_next'
testpmd.o: In function `init_fwd_streams':
testpmd.c:(.text+0x1b71): undefined reference to `rte_eth_find_next'
testpmd.c:(.text+0x1bf3): undefined reference to `rte_eth_find_next'
testpmd.o:testpmd.c:(.text+0x1ee1): more undefined references to `rte_eth_find_next' follow
collect2: error: ld returned 1 exit status
/home/patchWorkOrg/compilation/mk/rte.app.mk:249: recipe for target 'testpmd' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'test-pmd' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'app' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed


Failed Build #7:
OS: CentOS7_64
Target: i686-native-linuxapp-gcc
PMDINFO i40e_ethdev.o.pmd.c  LD i40e_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:62:0:
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_store_before_reset’:
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2820:19: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘unsigned int’ [-Werror=format=]
     sizeof(struct i40e_vf_reset_store));
                   ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_logs.h:40:15: note: in definition of macro ‘PMD_INIT_LOG’
   __func__, ##args)
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_reset_dev’:
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2887:9: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
         (uint64_t)&adapter->reset_flag - (uint64_t)adapter);
         ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev_vf.c:2887:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
         (uint64_t)&adapter->reset_flag - (uint64_t)adapter);
                                          ^
cc1: all warnings being treated as errors


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

testpmd.o: In function `check_all_ports_link_status.constprop.7':
testpmd.c:(.text+0x363): undefined reference to `rte_eth_find_next'
testpmd.c:(.text+0x387): undefined reference to `rte_eth_find_next'
testpmd.c:(.text+0x427): undefined reference to `rte_eth_find_next'
testpmd.o: In function `init_fwd_streams':
testpmd.c:(.text+0x1101): undefined reference to `rte_eth_find_next'
testpmd.c:(.text+0x1184): undefined reference to `rte_eth_find_next'
testpmd.o:testpmd.c:(.text+0x1472): more undefined references to `rte_eth_find_next' follow
collect2: error: ld returned 1 exit status


DPDK STV team


More information about the test-report mailing list