automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |FAILURE| pw35823 [PATCH v3 04/18] net/axgbe: add structures for MAC initialization and reset
@ 2018-03-13  0:58 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2018-03-13  0:58 UTC (permalink / raw)
  To: test-report; +Cc: ravi1.kumar

[-- Attachment #1: Type: text/plain, Size: 28870 bytes --]

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

http://dpdk.org/patch/35823

_Compilation issues_

Submitter: Ravi Kumar <ravi1.kumar@amd.com>
Date: Fri,  9 Mar 2018 03:42:24 -0500
DPDK git baseline: Repo:dpdk, Branch:master, CommitID:c06ddf9698e0c2a9653cfa971f9ddc205065662c

Patch35820-35823 --> compile error
Build Summary: 15 Builds Done, 9 Successful, 6 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-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-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: FC24_64
Target: i686-native-linuxapp-gcc
In file included from /home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.h:133:0,
                 from /home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:128:
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c: In function ‘axgbe_get_all_hw_features’:
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1510:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xgmac_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:174:13: note: in expansion of macro ‘AXGMAC_IOREAD’
  mac_hfr0 = AXGMAC_IOREAD(pdata, MAC_HWF0R);
             ^~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1510:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xgmac_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:175:13: note: in expansion of macro ‘AXGMAC_IOREAD’
  mac_hfr1 = AXGMAC_IOREAD(pdata, MAC_HWF1R);
             ^~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1510:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xgmac_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:176:13: note: in expansion of macro ‘AXGMAC_IOREAD’
  mac_hfr2 = AXGMAC_IOREAD(pdata, MAC_HWF2R);
             ^~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1510:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xgmac_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:180:21: note: in expansion of macro ‘AXGMAC_IOREAD’
  hw_feat->version = AXGMAC_IOREAD(pdata, MAC_VR);
                     ^~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c: In function ‘eth_axgbe_dev_init’:
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:362:3: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
   (uint64_t)pci_dev->mem_resource[AXGBE_AXGMAC_BAR].addr;
   ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:365:21: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  pdata->xpcs_regs = (uint64_t)pci_dev->mem_resource[AXGBE_XPCS_BAR].addr;
                     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.h:133:0,
                 from /home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:128:
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1596:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xpcs_regs + (_off)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:374:8: note: in expansion of macro ‘XPCS32_IOREAD’
  reg = XPCS32_IOREAD(pdata, PCS_V2_WINDOW_DEF);
        ^~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1702:22: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_write32((_val), (void *)((_pdata)->xprop_regs + (_reg)))
                      ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:385:2: note: in expansion of macro ‘XP_IOWRITE’
  XP_IOWRITE(pdata, XP_INT_EN, 0x1fffff);
  ^~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1694:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xprop_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:388:11: note: in expansion of macro ‘XP_IOREAD’
  mac_lo = XP_IOREAD(pdata, XP_MAC_ADDR_LO);
           ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1694:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xprop_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:389:11: note: in expansion of macro ‘XP_IOREAD’
  mac_hi = XP_IOREAD(pdata, XP_MAC_ADDR_HI);
           ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1694:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xprop_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:423:8: note: in expansion of macro ‘XP_IOREAD’
  reg = XP_IOREAD(pdata, XP_PROP_1);
        ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1694:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xprop_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:433:8: note: in expansion of macro ‘XP_IOREAD’
  reg = XP_IOREAD(pdata, XP_PROP_2);
        ^~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'axgbe_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'axgbe' 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: FC24_64
Target: x86_64-native-linuxapp-gcc-shared

PMDINFO axgbe_ethdev.o.pmd.c  LD axgbe_ethdev.o  LD librte_pmd_axgbe.so.1.1
axgbe_ethdev.o: In function `eth_axgbe_dev_uninit':
axgbe_ethdev.c:(.text+0x5): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x19): undefined reference to `rte_free'
axgbe_ethdev.o: In function `eth_axgbe_dev_init':
axgbe_ethdev.c:(.text+0x5b): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x12f): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x193): undefined reference to `rte_zmalloc'
axgbe_ethdev.c:(.text+0x754): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x7db): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x804): undefined reference to `rte_log'
axgbe_ethdev.o: In function `eth_axgbe_pci_remove':
axgbe_ethdev.c:(.text+0x826): undefined reference to `rte_eth_dev_allocated'
axgbe_ethdev.c:(.text+0x833): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x847): undefined reference to `rte_free'
axgbe_ethdev.c:(.text+0x85e): undefined reference to `rte_eth_dev_release_port'
axgbe_ethdev.c:(.text+0x863): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x899): undefined reference to `rte_free'
axgbe_ethdev.o: In function `eth_axgbe_pci_probe':
axgbe_ethdev.c:(.text+0x8cf): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x8df): undefined reference to `rte_eth_dev_attach_secondary'
axgbe_ethdev.c:(.text+0x96b): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x989): undefined reference to `rte_eth_dev_allocate'
axgbe_ethdev.c:(.text+0x9aa): undefined reference to `rte_zmalloc_socket'
axgbe_ethdev.c:(.text+0x9c7): undefined reference to `rte_eth_dev_release_port'
axgbe_ethdev.c:(.text+0xaaa): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0xb1d): undefined reference to `rte_zmalloc'
axgbe_ethdev.c:(.text+0x11a4): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x11d6): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x11de): undefined reference to `rte_eth_dev_release_port'
axgbe_ethdev.c:(.text+0x11e3): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x11f4): undefined reference to `rte_free'
axgbe_ethdev.c:(.text+0x12b6): undefined reference to `rte_log'
axgbe_ethdev.o: In function `pciinitfn_net_axgbe':
axgbe_ethdev.c:(.text.startup+0x16): undefined reference to `rte_pci_register'
axgbe_ethdev.o: In function `axgbe_init_log':
axgbe_ethdev.c:(.text.startup+0x2c): undefined reference to `rte_log_register'
axgbe_ethdev.c:(.text.startup+0x45): undefined reference to `rte_log_set_level'
axgbe_ethdev.c:(.text.startup+0x51): undefined reference to `rte_log_register'
axgbe_ethdev.c:(.text.startup+0x6b): undefined reference to `rte_log_set_level'
axgbe_dev.o: In function `axgbe_exit':
axgbe_dev.c:(.text+0x1b): undefined reference to `rte_delay_us'
collect2: error: ld returned 1 exit status
/home/patchWorkOrg/compilation/mk/rte.lib.mk:98: recipe for target 'librte_pmd_axgbe.so.1.1' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'axgbe' 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: UB1604_64
Target: i686-native-linuxapp-gcc
In file included from /home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.h:133:0,
                 from /home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:128:
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c: In function ‘axgbe_get_all_hw_features’:
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1510:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xgmac_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:174:13: note: in expansion of macro ‘AXGMAC_IOREAD’
  mac_hfr0 = AXGMAC_IOREAD(pdata, MAC_HWF0R);
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1510:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xgmac_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:175:13: note: in expansion of macro ‘AXGMAC_IOREAD’
  mac_hfr1 = AXGMAC_IOREAD(pdata, MAC_HWF1R);
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1510:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xgmac_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:176:13: note: in expansion of macro ‘AXGMAC_IOREAD’
  mac_hfr2 = AXGMAC_IOREAD(pdata, MAC_HWF2R);
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1510:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xgmac_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:180:21: note: in expansion of macro ‘AXGMAC_IOREAD’
  hw_feat->version = AXGMAC_IOREAD(pdata, MAC_VR);
                     ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c: In function ‘eth_axgbe_dev_init’:
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:362:3: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
   (uint64_t)pci_dev->mem_resource[AXGBE_AXGMAC_BAR].addr;
   ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:365:21: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  pdata->xpcs_regs = (uint64_t)pci_dev->mem_resource[AXGBE_XPCS_BAR].addr;
                     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.h:133:0,
                 from /home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:128:
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1596:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xpcs_regs + (_off)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:374:8: note: in expansion of macro ‘XPCS32_IOREAD’
  reg = XPCS32_IOREAD(pdata, PCS_V2_WINDOW_DEF);
        ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1702:22: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_write32((_val), (void *)((_pdata)->xprop_regs + (_reg)))
                      ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:385:2: note: in expansion of macro ‘XP_IOWRITE’
  XP_IOWRITE(pdata, XP_INT_EN, 0x1fffff);
  ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1694:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xprop_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:388:11: note: in expansion of macro ‘XP_IOREAD’
  mac_lo = XP_IOREAD(pdata, XP_MAC_ADDR_LO);
           ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1694:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xprop_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:389:11: note: in expansion of macro ‘XP_IOREAD’
  mac_hi = XP_IOREAD(pdata, XP_MAC_ADDR_HI);
           ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1694:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xprop_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:423:8: note: in expansion of macro ‘XP_IOREAD’
  reg = XP_IOREAD(pdata, XP_PROP_1);
        ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1694:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xprop_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:433:8: note: in expansion of macro ‘XP_IOREAD’
  reg = XP_IOREAD(pdata, XP_PROP_2);
        ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'axgbe_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'axgbe' 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 #4:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc-shared

PMDINFO axgbe_ethdev.o.pmd.c  LD axgbe_ethdev.o  LD librte_pmd_axgbe.so.1.1
axgbe_ethdev.o: In function `eth_axgbe_dev_uninit':
axgbe_ethdev.c:(.text+0x5): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x19): undefined reference to `rte_free'
axgbe_ethdev.o: In function `eth_axgbe_dev_init':
axgbe_ethdev.c:(.text+0x6b): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x150): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x1b4): undefined reference to `rte_zmalloc'
axgbe_ethdev.c:(.text+0x770): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x804): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x82d): undefined reference to `rte_log'
axgbe_ethdev.o: In function `eth_axgbe_pci_remove':
axgbe_ethdev.c:(.text+0x846): undefined reference to `rte_eth_dev_allocated'
axgbe_ethdev.c:(.text+0x853): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x867): undefined reference to `rte_free'
axgbe_ethdev.c:(.text+0x87e): undefined reference to `rte_eth_dev_release_port'
axgbe_ethdev.c:(.text+0x883): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x8b9): undefined reference to `rte_free'
axgbe_ethdev.o: In function `eth_axgbe_pci_probe':
axgbe_ethdev.c:(.text+0x8ff): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x90f): undefined reference to `rte_eth_dev_attach_secondary'
axgbe_ethdev.c:(.text+0x99a): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x9d1): undefined reference to `rte_eth_dev_allocate'
axgbe_ethdev.c:(.text+0x9f2): undefined reference to `rte_zmalloc_socket'
axgbe_ethdev.c:(.text+0xa0d): undefined reference to `rte_eth_dev_release_port'
axgbe_ethdev.c:(.text+0xad4): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0xb38): undefined reference to `rte_zmalloc'
axgbe_ethdev.c:(.text+0x10f2): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x1120): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x1128): undefined reference to `rte_eth_dev_release_port'
axgbe_ethdev.c:(.text+0x112d): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x113e): undefined reference to `rte_free'
axgbe_ethdev.c:(.text+0x11ea): undefined reference to `rte_log'
axgbe_ethdev.o: In function `pciinitfn_net_axgbe':
axgbe_ethdev.c:(.text.startup+0x16): undefined reference to `rte_pci_register'
axgbe_ethdev.o: In function `axgbe_init_log':
axgbe_ethdev.c:(.text.startup+0x2c): undefined reference to `rte_log_register'
axgbe_ethdev.c:(.text.startup+0x45): undefined reference to `rte_log_set_level'
axgbe_ethdev.c:(.text.startup+0x51): undefined reference to `rte_log_register'
axgbe_ethdev.c:(.text.startup+0x6b): undefined reference to `rte_log_set_level'
axgbe_dev.o: In function `axgbe_exit':
axgbe_dev.c:(.text+0x1b): undefined reference to `rte_delay_us'
collect2: error: ld returned 1 exit status
/home/patchWorkOrg/compilation/mk/rte.lib.mk:98: recipe for target 'librte_pmd_axgbe.so.1.1' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'axgbe' 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 #5:
OS: CentOS7_64
Target: i686-native-linuxapp-gcc
In file included from /home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.h:133:0,
                 from /home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:128:
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c: In function ‘axgbe_get_all_hw_features’:
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1510:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xgmac_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:174:13: note: in expansion of macro ‘AXGMAC_IOREAD’
  mac_hfr0 = AXGMAC_IOREAD(pdata, MAC_HWF0R);
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1510:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xgmac_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:175:13: note: in expansion of macro ‘AXGMAC_IOREAD’
  mac_hfr1 = AXGMAC_IOREAD(pdata, MAC_HWF1R);
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1510:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xgmac_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:176:13: note: in expansion of macro ‘AXGMAC_IOREAD’
  mac_hfr2 = AXGMAC_IOREAD(pdata, MAC_HWF2R);
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1510:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xgmac_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:180:21: note: in expansion of macro ‘AXGMAC_IOREAD’
  hw_feat->version = AXGMAC_IOREAD(pdata, MAC_VR);
                     ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c: In function ‘eth_axgbe_dev_init’:
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:362:3: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
   (uint64_t)pci_dev->mem_resource[AXGBE_AXGMAC_BAR].addr;
   ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:365:21: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  pdata->xpcs_regs = (uint64_t)pci_dev->mem_resource[AXGBE_XPCS_BAR].addr;
                     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.h:133:0,
                 from /home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:128:
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1596:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xpcs_regs + (_off)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:374:8: note: in expansion of macro ‘XPCS32_IOREAD’
  reg = XPCS32_IOREAD(pdata, PCS_V2_WINDOW_DEF);
        ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1702:22: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_write32((_val), (void *)((_pdata)->xprop_regs + (_reg)))
                      ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:385:2: note: in expansion of macro ‘XP_IOWRITE’
  XP_IOWRITE(pdata, XP_INT_EN, 0x1fffff);
  ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1694:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xprop_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:388:11: note: in expansion of macro ‘XP_IOREAD’
  mac_lo = XP_IOREAD(pdata, XP_MAC_ADDR_LO);
           ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1694:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xprop_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:389:11: note: in expansion of macro ‘XP_IOREAD’
  mac_hi = XP_IOREAD(pdata, XP_MAC_ADDR_HI);
           ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1694:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xprop_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:423:8: note: in expansion of macro ‘XP_IOREAD’
  reg = XP_IOREAD(pdata, XP_PROP_1);
        ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_common.h:1694:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  rte_read32((void *)((_pdata)->xprop_regs + (_reg)))
             ^
/home/patchWorkOrg/compilation/drivers/net/axgbe/axgbe_ethdev.c:433:8: note: in expansion of macro ‘XP_IOREAD’
  reg = XP_IOREAD(pdata, XP_PROP_2);
        ^
cc1: all warnings being treated as errors


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

PMDINFO axgbe_ethdev.o.pmd.c  LD axgbe_ethdev.o  LD librte_pmd_axgbe.so.1.1
axgbe_ethdev.o: In function `eth_axgbe_dev_uninit':
axgbe_ethdev.c:(.text+0x5): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x19): undefined reference to `rte_free'
axgbe_ethdev.o: In function `eth_axgbe_dev_init':
axgbe_ethdev.c:(.text+0x59): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x129): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x18d): undefined reference to `rte_zmalloc'
axgbe_ethdev.c:(.text+0x3d3): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x3fd): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x426): undefined reference to `rte_log'
axgbe_ethdev.o: In function `eth_axgbe_pci_remove':
axgbe_ethdev.c:(.text+0x446): undefined reference to `rte_eth_dev_allocated'
axgbe_ethdev.c:(.text+0x453): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x467): undefined reference to `rte_free'
axgbe_ethdev.c:(.text+0x47e): undefined reference to `rte_eth_dev_release_port'
axgbe_ethdev.c:(.text+0x483): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x4b9): undefined reference to `rte_free'
axgbe_ethdev.o: In function `eth_axgbe_pci_probe':
axgbe_ethdev.c:(.text+0x4ed): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x4fd): undefined reference to `rte_eth_dev_attach_secondary'
axgbe_ethdev.c:(.text+0x584): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x5a1): undefined reference to `rte_eth_dev_allocate'
axgbe_ethdev.c:(.text+0x5c2): undefined reference to `rte_zmalloc_socket'
axgbe_ethdev.c:(.text+0x5dd): undefined reference to `rte_eth_dev_release_port'
axgbe_ethdev.c:(.text+0x6a8): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x70c): undefined reference to `rte_zmalloc'
axgbe_ethdev.c:(.text+0x952): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x97a): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x9a3): undefined reference to `rte_log'
axgbe_ethdev.c:(.text+0x9ab): undefined reference to `rte_eth_dev_release_port'
axgbe_ethdev.c:(.text+0x9b0): undefined reference to `rte_eal_process_type'
axgbe_ethdev.c:(.text+0x9c1): undefined reference to `rte_free'
axgbe_ethdev.o: In function `axgbe_init_log':
axgbe_ethdev.c:(.text.startup+0x2c): undefined reference to `rte_log_register'
axgbe_ethdev.c:(.text.startup+0x45): undefined reference to `rte_log_set_level'
axgbe_ethdev.c:(.text.startup+0x51): undefined reference to `rte_log_register'
axgbe_ethdev.o: In function `pciinitfn_net_axgbe':
axgbe_ethdev.c:(.text.startup+0x16): undefined reference to `rte_pci_register'
axgbe_ethdev.o: In function `axgbe_init_log':
axgbe_ethdev.c:(.text.startup+0x6b): undefined reference to `rte_log_set_level'
axgbe_dev.o: In function `axgbe_exit':
axgbe_dev.c:(.text+0x1b): undefined reference to `rte_delay_us'
collect2: error: ld returned 1 exit status


DPDK STV team

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-13  0:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-13  0:58 [dpdk-test-report] |FAILURE| pw35823 [PATCH v3 04/18] net/axgbe: add structures for MAC initialization and reset sys_stv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).