[xilinx-xlnx:xlnx_rebase_v5.15_LTS 93/1199] ld.lld: error: undefined symbol: dma_buf_attach
kernel test robot
lkp at intel.com
Wed Jun 29 19:33:28 PDT 2022
Hi Nava,
FYI, the error/warning still remains.
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head: 8684044b601946fceda13df7e84a2a8c68309e00
commit: 895021fc75c22703678f683052e95247269caf44 [93/1199] fpga: support loading from a pre-allocated buffer
config: arm-randconfig-r023-20220629 (https://download.01.org/0day-ci/archive/20220630/202206301022.A7Ne7Mcj-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a774ba7f60d1fef403b5507b1b1a7475d3684d71)
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_LTS
git checkout 895021fc75c22703678f683052e95247269caf44
# save the config file
mkdir build_dir && cp config build_dir/.config
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 where applicable
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