Skip to contentSkip to conversation

ld.lld: error: undefined symbol: vmf_insert_pfn_prot

PATCH kernel test robot 1 participant 1 message Aug 10, 2023

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   git://anongit.freedesktop.org/drm/drm-misc for-linux-next
head:   2799804ac651da1375ecb9b9a644eba97218df07
commit: e3912d09bf8ddd8e274118d4c9cc550d9665115d [1/3] drm/ttm: Introduce KUnit test
config: riscv-randconfig-r022-20230810 (https://download.01.org/0day-ci/archive/20230811/[email protected]/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce: (https://download.01.org/0day-ci/archive/20230811/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: vmf_insert_pfn_prot
   >>> referenced by ttm_bo_vm.c
   >>>               drivers/gpu/drm/ttm/ttm_bo_vm.o:(ttm_bo_vm_fault_reserved) in archive vmlinux.a
   >>> referenced by ttm_bo_vm.c
   >>>               drivers/gpu/drm/ttm/ttm_bo_vm.o:(ttm_bo_vm_dummy_page) in archive vmlinux.a

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for DRM_TTM Depends on [n]: HAS_IOMEM [=y] && DRM [=y] && MMU [=n] Selected by [y]:
- DRM_TTM_KUNIT_TEST [=y] && HAS_IOMEM [=y] && DRM [=y] && KUNIT [=y]

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki