[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203020423.iVetVOKB-lkp@intel.com>
Date: Wed, 2 Mar 2022 04:32:36 +0800
From: kernel test robot <lkp@...el.com>
To: Liu Yi L <yi.l.liu@...el.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [luxis1999-iommufd:iommufd-v5.17-rc4 26/30] ld.lld: error: undefined
symbol: interval_tree_iter_first
tree: https://github.com/luxis1999/iommufd iommufd-v5.17-rc4
head: 2bca5fa75dad57f41002a93861a950d35d55e568
commit: 9cf512778a76b8a63b429c0cf0c34b534f5577b9 [26/30] vfio: Select iommufd
config: i386-randconfig-a006 (https://download.01.org/0day-ci/archive/20220302/202203020423.iVetVOKB-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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/9cf512778a76b8a63b429c0cf0c34b534f5577b9
git remote add luxis1999-iommufd https://github.com/luxis1999/iommufd
git fetch --no-tags luxis1999-iommufd iommufd-v5.17-rc4
git checkout 9cf512778a76b8a63b429c0cf0c34b534f5577b9
# 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=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: interval_tree_iter_first
>>> referenced by io_pagetable.c:537 (drivers/iommu/iommufd/io_pagetable.c:537)
>>> vmlinux.o:(iommufd_device_detach)
>>> referenced by io_pagetable.c:537 (drivers/iommu/iommufd/io_pagetable.c:537)
>>> vmlinux.o:(iommufd_device_attach)
>>> referenced by io_pagetable.c:161 (drivers/iommu/iommufd/io_pagetable.c:161)
>>> vmlinux.o:(iopt_map_pages)
>>> referenced 22 more times
--
>> ld.lld: error: undefined symbol: interval_tree_iter_next
>>> referenced by io_pagetable.c:543 (drivers/iommu/iommufd/io_pagetable.c:543)
>>> vmlinux.o:(iommufd_device_detach)
>>> referenced by io_pagetable.c:543 (drivers/iommu/iommufd/io_pagetable.c:543)
>>> vmlinux.o:(iommufd_device_attach)
>>> referenced by io_pagetable.h:99 (drivers/iommu/iommufd/io_pagetable.h:99)
>>> vmlinux.o:(iopt_access_pages)
>>> referenced 12 more times
--
>> ld.lld: error: undefined symbol: interval_tree_remove
>>> referenced by io_pagetable.c:546 (drivers/iommu/iommufd/io_pagetable.c:546)
>>> vmlinux.o:(iommufd_device_detach)
>>> referenced by io_pagetable.c:546 (drivers/iommu/iommufd/io_pagetable.c:546)
>>> vmlinux.o:(iommufd_device_attach)
>>> referenced by io_pagetable.c:192 (drivers/iommu/iommufd/io_pagetable.c:192)
>>> vmlinux.o:(iopt_map_pages)
>>> referenced 9 more times
--
>> ld.lld: error: undefined symbol: interval_tree_span_iter_first
>>> referenced by io_pagetable.c:89 (drivers/iommu/iommufd/io_pagetable.c:89)
>>> vmlinux.o:(iopt_map_pages)
>>> referenced by io_pagetable.c:97 (drivers/iommu/iommufd/io_pagetable.c:97)
>>> vmlinux.o:(iopt_map_pages)
>>> referenced by ioas.c:93 (drivers/iommu/iommufd/ioas.c:93)
>>> vmlinux.o:(iommufd_ioas_iova_ranges)
>>> referenced 8 more times
--
>> ld.lld: error: undefined symbol: interval_tree_span_iter_next
>>> referenced by io_pagetable.c:92 (drivers/iommu/iommufd/io_pagetable.c:92)
>>> vmlinux.o:(iopt_map_pages)
>>> referenced by io_pagetable.c:101 (drivers/iommu/iommufd/io_pagetable.c:101)
>>> vmlinux.o:(iopt_map_pages)
>>> referenced by ioas.c:96 (drivers/iommu/iommufd/ioas.c:96)
>>> vmlinux.o:(iommufd_ioas_iova_ranges)
>>> referenced 8 more times
--
>> ld.lld: error: undefined symbol: interval_tree_insert
>>> referenced by io_pagetable.c:179 (drivers/iommu/iommufd/io_pagetable.c:179)
>>> vmlinux.o:(iopt_map_pages)
>>> referenced by io_pagetable.c:528 (drivers/iommu/iommufd/io_pagetable.c:528)
>>> vmlinux.o:(iopt_reserve_iova)
>>> referenced by io_pagetable.c:678 (drivers/iommu/iommufd/io_pagetable.c:678)
>>> vmlinux.o:(iopt_table_add_domain)
>>> referenced 2 more times
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for IOMMUFD
Depends on IOMMU_SUPPORT
Selected by
- VFIO && MMU && (X86 || S390 || ARM || ARM64)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists