[xlnx:master 9559/10372] powerpc64-linux-ld: drivers/fpga/fpga-mgr.c:322: undefined reference to `.dma_buf_map_attachment'

kernel test robot lkp at intel.com
Tue Oct 6 18:25:11 EDT 2020


tree:   https://github.com/Xilinx/linux-xlnx master
head:   ce42934137e0f2ebb302647095c6939647d3ebaf
commit: ed71785e2c3c3495e89c7b6c3a38699b59bf83d8 [9559/10372] fpga: support loading from a pre-allocated buffer
config: powerpc-randconfig-r015-20201005 (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/Xilinx/linux-xlnx/commit/ed71785e2c3c3495e89c7b6c3a38699b59bf83d8
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx master
        git checkout ed71785e2c3c3495e89c7b6c3a38699b59bf83d8
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'
   powerpc64-linux-ld: arch/powerpc/perf/perf_regs.o: in function `perf_reg_value':
   arch/powerpc/perf/perf_regs.c:80: undefined reference to `.is_sier_available'
   powerpc64-linux-ld: mm/page_alloc.o:(.toc+0x0): undefined reference to `node_reclaim_distance'
   powerpc64-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_dmabuf_fd_get':
   drivers/fpga/fpga-mgr.c:693: undefined reference to `.dma_buf_get'
   powerpc64-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_dmabuf_load':
   drivers/fpga/fpga-mgr.c:315: undefined reference to `.dma_buf_attach'
>> powerpc64-linux-ld: drivers/fpga/fpga-mgr.c:322: undefined reference to `.dma_buf_map_attachment'
>> powerpc64-linux-ld: drivers/fpga/fpga-mgr.c:330: undefined reference to `.dma_buf_unmap_attachment'
>> powerpc64-linux-ld: drivers/fpga/fpga-mgr.c:333: undefined reference to `.dma_buf_detach'
>> powerpc64-linux-ld: drivers/fpga/fpga-mgr.c:335: undefined reference to `.dma_buf_put'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 27961 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20201007/c4be8a78/attachment-0001.gz>


More information about the linux-arm-kernel mailing list