[xilinx-xlnx:xlnx_rebase_v5.15 93/872] fpga-mgr.c:undefined reference to `dma_buf_get'

kernel test robot lkp at intel.com
Mon Feb 7 17:49:35 PST 2022


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15
head:   1183ce490adb103e5e569b8ebd74c50c885ddc05
commit: 895021fc75c22703678f683052e95247269caf44 [93/872] fpga: support loading from a pre-allocated buffer
config: openrisc-randconfig-r023-20220207 (https://download.01.org/0day-ci/archive/20220208/202202080916.fTN082M0-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 11.2.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/895021fc75c22703678f683052e95247269caf44
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15
        git checkout 895021fc75c22703678f683052e95247269caf44
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=openrisc SHELL=/bin/bash

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 >>):

   or1k-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_dmabuf_fd_get.isra.0':
>> fpga-mgr.c:(.text+0xdac): undefined reference to `dma_buf_get'
   fpga-mgr.c:(.text+0xdac): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `dma_buf_get'
   or1k-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_mgr_load':
>> (.text+0x14ec): undefined reference to `dma_buf_attach'
   (.text+0x14ec): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `dma_buf_attach'
>> or1k-linux-ld: (.text+0x1540): undefined reference to `dma_buf_map_attachment'
   (.text+0x1540): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `dma_buf_map_attachment'
>> or1k-linux-ld: (.text+0x1598): undefined reference to `dma_buf_unmap_attachment'
   (.text+0x1598): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `dma_buf_unmap_attachment'
>> or1k-linux-ld: (.text+0x15a4): undefined reference to `dma_buf_detach'
   (.text+0x15a4): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `dma_buf_detach'
>> or1k-linux-ld: (.text+0x15ac): undefined reference to `dma_buf_put'
   (.text+0x15ac): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `dma_buf_put'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org



More information about the linux-arm-kernel mailing list