[xilinx-xlnx:xlnx_rebase_v5.15 93/1093] ld.lld: error: undefined symbol: dma_buf_attach

kernel test robot lkp at intel.com
Fri Apr 15 15:52:48 PDT 2022


Hi Nava,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15
head:   b1635a7683e2274f21d795783e4c9db7e518267a
commit: 895021fc75c22703678f683052e95247269caf44 [93/1093] fpga: support loading from a pre-allocated buffer
config: arm-socfpga_defconfig (https://download.01.org/0day-ci/archive/20220416/202204160622.G1L7lg8J-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8e43cbab33765c476337571e5ed11b005199dd0d)
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
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # 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=clang make.cross W=1 O=build_dir ARCH=arm 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 >>):

>> ld.lld: error: undefined symbol: dma_buf_attach
   >>> referenced by fpga-mgr.c
   >>> fpga/fpga-mgr.o:(fpga_mgr_load) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: dma_buf_map_attachment
   >>> referenced by fpga-mgr.c
   >>> fpga/fpga-mgr.o:(fpga_mgr_load) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: dma_buf_unmap_attachment
   >>> referenced by fpga-mgr.c
   >>> fpga/fpga-mgr.o:(fpga_mgr_load) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: dma_buf_detach
   >>> referenced by fpga-mgr.c
   >>> fpga/fpga-mgr.o:(fpga_mgr_load) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: dma_buf_put
   >>> referenced by fpga-mgr.c
   >>> fpga/fpga-mgr.o:(fpga_mgr_load) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: dma_buf_get
   >>> referenced by fpga-mgr.c
   >>> fpga/fpga-mgr.o:(fpga_device_ioctl) in archive drivers/built-in.a

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



More information about the linux-arm-kernel mailing list