[luxis1999-iommufd:iommufd-v5.17-rc1 22/28] undefined reference to `interval_tree_iter_first'
From: kernel test robot
Date: Wed Feb 09 2022 - 13:36:18 EST
tree: https://github.com/luxis1999/iommufd iommufd-v5.17-rc1
head: ebf68af0385d0d5c209e63e8065d31db938275d8
commit: e8571fda9f22c4c339a8c908ba5db3dc78bd3fc8 [22/28] vfio/pci: Add bind_iommufd() support
config: parisc-randconfig-r014-20220209 (https://download.01.org/0day-ci/archive/20220210/202202100218.hAw3qxNg-lkp@xxxxxxxxx/config)
compiler: hppa-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/luxis1999/iommufd/commit/e8571fda9f22c4c339a8c908ba5db3dc78bd3fc8
git remote add luxis1999-iommufd https://github.com/luxis1999/iommufd
git fetch --no-tags luxis1999-iommufd iommufd-v5.17-rc1
git checkout e8571fda9f22c4c339a8c908ba5db3dc78bd3fc8
# 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=parisc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
hppa-linux-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_alloc_area':
>> (.text+0xe8): undefined reference to `interval_tree_iter_first'
>> hppa-linux-ld: (.text+0x104): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: drivers/iommu/iommufd/io_pagetable.o: in function `__iopt_unmap_iova':
>> (.text+0x1c4): undefined reference to `interval_tree_remove'
hppa-linux-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_alloc_iova':
>> (.text+0x394): undefined reference to `interval_tree_span_iter_first'
>> hppa-linux-ld: (.text+0x3c0): undefined reference to `interval_tree_span_iter_next'
>> hppa-linux-ld: (.text+0x40c): undefined reference to `interval_tree_span_iter_first'
hppa-linux-ld: (.text+0x464): undefined reference to `interval_tree_span_iter_next'
hppa-linux-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_map_user_pages':
>> (.text+0x680): undefined reference to `interval_tree_insert'
hppa-linux-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_get_pages':
(.text+0x6ec): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_copy_iova':
(.text+0x8c8): undefined reference to `interval_tree_insert'
hppa-linux-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_unmap_iova':
(.text+0x924): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_unmap_all':
(.text+0x9d4): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_unaccess_pages':
(.text+0xa8c): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: (.text+0xaf0): undefined reference to `interval_tree_iter_first'
>> hppa-linux-ld: (.text+0xb1c): undefined reference to `interval_tree_iter_next'
>> hppa-linux-ld: (.text+0xb34): undefined reference to `interval_tree_remove'
hppa-linux-ld: (.text+0xba0): undefined reference to `interval_tree_iter_next'
hppa-linux-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_access_pages':
(.text+0xc90): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: (.text+0xd10): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: (.text+0xd3c): undefined reference to `interval_tree_iter_next'
>> hppa-linux-ld: (.text+0xdd8): undefined reference to `interval_tree_insert'
hppa-linux-ld: (.text+0xe30): undefined reference to `interval_tree_iter_next'
hppa-linux-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_reserve_iova':
(.text+0xf54): undefined reference to `interval_tree_insert'
hppa-linux-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_remove_reserved_iova':
(.text+0xfac): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: (.text+0xfcc): undefined reference to `interval_tree_iter_next'
hppa-linux-ld: (.text+0xfe4): undefined reference to `interval_tree_remove'
hppa-linux-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_table_add_domain':
(.text+0x11dc): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: (.text+0x1234): undefined reference to `interval_tree_iter_next'
hppa-linux-ld: (.text+0x124c): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: (.text+0x1284): undefined reference to `interval_tree_insert'
hppa-linux-ld: (.text+0x12a0): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: (.text+0x12dc): undefined reference to `interval_tree_insert'
hppa-linux-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_table_enforce_group_iova':
(.text+0x162c): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: (.text+0x1668): undefined reference to `interval_tree_insert'
hppa-linux-ld: drivers/iommu/iommufd/ioas_pt.o: in function `iommufd_ioas_pagetable_iova_ranges':
(.text+0x24c): undefined reference to `interval_tree_span_iter_first'
hppa-linux-ld: (.text+0x2dc): undefined reference to `interval_tree_span_iter_next'
hppa-linux-ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_unpin':
(.text+0x424): undefined reference to `interval_tree_span_iter_first'
hppa-linux-ld: (.text+0x450): undefined reference to `interval_tree_span_iter_first'
hppa-linux-ld: (.text+0x518): undefined reference to `interval_tree_span_iter_next'
hppa-linux-ld: (.text+0x52c): undefined reference to `interval_tree_span_iter_next'
hppa-linux-ld: drivers/iommu/iommufd/pages.o: in function `pfn_reader_next':
(.text+0xc20): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: (.text+0xd28): undefined reference to `interval_tree_span_iter_next'
hppa-linux-ld: drivers/iommu/iommufd/pages.o: in function `__iopt_area_unfill_domain':
(.text+0xdc0): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: (.text+0xdfc): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: drivers/iommu/iommufd/pages.o: in function `iopt_area_fill_domains':
(.text+0x104c): undefined reference to `interval_tree_span_iter_first'
hppa-linux-ld: (.text+0x113c): undefined reference to `interval_tree_insert'
hppa-linux-ld: drivers/iommu/iommufd/pages.o: in function `iopt_area_unfill_domains':
(.text+0x12b0): undefined reference to `interval_tree_remove'
hppa-linux-ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_unfill_xarray':
(.text+0x1328): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: (.text+0x1364): undefined reference to `interval_tree_span_iter_next'
hppa-linux-ld: (.text+0x13e4): undefined reference to `interval_tree_span_iter_first'
hppa-linux-ld: (.text+0x147c): undefined reference to `interval_tree_span_iter_next'
hppa-linux-ld: (.text+0x14bc): undefined reference to `interval_tree_span_iter_first'
hppa-linux-ld: (.text+0x14dc): undefined reference to `interval_tree_span_iter_first'
hppa-linux-ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_fill_xarray':
(.text+0x1708): undefined reference to `interval_tree_span_iter_first'
hppa-linux-ld: (.text+0x171c): undefined reference to `interval_tree_span_iter_first'
hppa-linux-ld: (.text+0x184c): undefined reference to `interval_tree_span_iter_next'
hppa-linux-ld: drivers/iommu/iommufd/pages.o: in function `iopt_unfill_domain':
(.text+0x1918): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: (.text+0x193c): undefined reference to `interval_tree_span_iter_first'
hppa-linux-ld: (.text+0x1984): undefined reference to `interval_tree_iter_next'
hppa-linux-ld: (.text+0x19b8): undefined reference to `interval_tree_span_iter_next'
hppa-linux-ld: (.text+0x19e0): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: (.text+0x1a08): undefined reference to `interval_tree_remove'
hppa-linux-ld: (.text+0x1a38): undefined reference to `interval_tree_iter_next'
hppa-linux-ld: drivers/iommu/iommufd/pages.o: in function `iopt_fill_domain':
(.text+0x1aac): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: (.text+0x1b68): undefined reference to `interval_tree_span_iter_first'
hppa-linux-ld: (.text+0x1c18): undefined reference to `interval_tree_iter_first'
hppa-linux-ld: (.text+0x1c48): undefined reference to `interval_tree_insert'
hppa-linux-ld: (.text+0x1c64): undefined reference to `interval_tree_iter_next'
hppa-linux-ld: (.text+0x1c9c): undefined reference to `interval_tree_remove'
hppa-linux-ld: (.text+0x1cd0): undefined reference to `interval_tree_iter_next'
hppa-linux-ld: drivers/iommu/iommufd/vfio_compat.o: in function `iommufd_fill_cap_iova':
(.text+0x4c): undefined reference to `interval_tree_span_iter_first'
hppa-linux-ld: (.text+0xe0): undefined reference to `interval_tree_span_iter_next'
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for IOMMUFD
Depends on IOMMU_SUPPORT
Selected by
- VFIO_PCI_CORE && VFIO && PCI && MMU
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx