[xilinx-xlnx:xlnx_rebase_v5.15_LTS 93/1029] m68k-linux-ld: undefined reference to `dma_buf_map_attachment'

kernel test robot lkp at intel.com
Fri Mar 25 14:53:19 PDT 2022


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head:   1870e0fa79a9d58c6748c34550f3ccea0b515933
commit: 895021fc75c22703678f683052e95247269caf44 [93/1029] fpga: support loading from a pre-allocated buffer
config: m68k-randconfig-r026-20220324 (https://download.01.org/0day-ci/archive/20220326/202203260503.9W67JiPB-lkp@intel.com/config)
compiler: m68k-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_LTS
        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=m68k 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 >>):

   m68k-linux-ld: arch/m68k/kernel/time.o: in function `rtc_ioctl':
   time.c:(.text+0x5e): undefined reference to `mach_get_rtc_pll'
   m68k-linux-ld: time.c:(.text+0x9c): undefined reference to `mach_set_rtc_pll'
   m68k-linux-ld: time.c:(.text+0xd4): undefined reference to `mach_set_rtc_pll'
   m68k-linux-ld: arch/m68k/kernel/uboot.o: in function `process_uboot_commandline':
   uboot.c:(.init.text+0x2c): undefined reference to `_init_sp'
   m68k-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_device_ioctl':
   fpga-mgr.c:(.text+0x9e2): undefined reference to `dma_buf_get'
   m68k-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_mgr_load':
   (.text+0xffa): undefined reference to `dma_buf_attach'
>> m68k-linux-ld: (.text+0x1010): undefined reference to `dma_buf_map_attachment'
>> m68k-linux-ld: (.text+0x103a): undefined reference to `dma_buf_unmap_attachment'
>> m68k-linux-ld: (.text+0x1052): undefined reference to `dma_buf_detach'
>> m68k-linux-ld: (.text+0x1066): undefined reference to `dma_buf_put'
   m68k-linux-ld: (.text+0x10be): undefined reference to `dma_buf_put'

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



More information about the linux-arm-kernel mailing list