lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203181722.pkToeNJQ-lkp@intel.com>
Date:   Fri, 18 Mar 2022 17:47:53 +0800
From:   kernel test robot <lkp@...el.com>
To:     Nicolin Chen <nicolinc@...dia.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Yi Liu <yi.l.liu@...el.com>
Subject: [luxis1999-iommufd:iommufd-v5.17-rc6-wip 38/41] ld:
 drivers/iommu/iommufd/io_pagetable.c:179: undefined reference to
 `interval_tree_insert'

tree:   https://github.com/luxis1999/iommufd iommufd-v5.17-rc6-wip
head:   d883a7e5a78fb9f4d6fc85a0845f95c6613aaade
commit: 0adb78eac32477a15dcee8f349d406b2f4b780bb [38/41] vfio: Add iommufd VFIO compat support to group_fd
config: x86_64-randconfig-a015-20211216 (https://download.01.org/0day-ci/archive/20220318/202203181722.pkToeNJQ-lkp@intel.com/config)
compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0
reproduce (this is a W=1 build):
        # https://github.com/luxis1999/iommufd/commit/0adb78eac32477a15dcee8f349d406b2f4b780bb
        git remote add luxis1999-iommufd https://github.com/luxis1999/iommufd
        git fetch --no-tags luxis1999-iommufd iommufd-v5.17-rc6-wip
        git checkout 0adb78eac32477a15dcee8f349d406b2f4b780bb
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 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: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_alloc_iova':
   drivers/iommu/iommufd/io_pagetable.c:89: undefined reference to `interval_tree_span_iter_first'
   ld: drivers/iommu/iommufd/io_pagetable.c:97: undefined reference to `interval_tree_span_iter_first'
   ld: drivers/iommu/iommufd/io_pagetable.c:92: undefined reference to `interval_tree_span_iter_next'
   ld: drivers/iommu/iommufd/io_pagetable.c:101: undefined reference to `interval_tree_span_iter_next'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_abort_area':
   drivers/iommu/iommufd/io_pagetable.c:192: undefined reference to `interval_tree_remove'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_first':
   drivers/iommu/iommufd/io_pagetable.h:91: undefined reference to `interval_tree_iter_first'
   ld: drivers/iommu/iommufd/io_pagetable.h:91: undefined reference to `interval_tree_iter_first'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_unfill_domain':
   drivers/iommu/iommufd/io_pagetable.c:635: undefined reference to `interval_tree_remove'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_next':
   drivers/iommu/iommufd/io_pagetable.h:103: undefined reference to `interval_tree_iter_next'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_first':
   drivers/iommu/iommufd/io_pagetable.h:91: undefined reference to `interval_tree_iter_first'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_next':
   drivers/iommu/iommufd/io_pagetable.h:103: undefined reference to `interval_tree_iter_next'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_first':
   drivers/iommu/iommufd/io_pagetable.h:91: undefined reference to `interval_tree_iter_first'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_next':
   drivers/iommu/iommufd/io_pagetable.h:103: undefined reference to `interval_tree_iter_next'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_fill_domain':
   drivers/iommu/iommufd/io_pagetable.c:678: undefined reference to `interval_tree_insert'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_first':
   drivers/iommu/iommufd/io_pagetable.h:91: undefined reference to `interval_tree_iter_first'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_next':
   drivers/iommu/iommufd/io_pagetable.h:103: undefined reference to `interval_tree_iter_next'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_fill_domain':
   drivers/iommu/iommufd/io_pagetable.c:697: undefined reference to `interval_tree_remove'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_alloc_area':
   drivers/iommu/iommufd/io_pagetable.c:161: undefined reference to `interval_tree_iter_first'
>> ld: drivers/iommu/iommufd/io_pagetable.c:179: undefined reference to `interval_tree_insert'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_first':
   drivers/iommu/iommufd/io_pagetable.h:91: undefined reference to `interval_tree_iter_first'
   ld: drivers/iommu/iommufd/io_pagetable.h:91: undefined reference to `interval_tree_iter_first'
   ld: drivers/iommu/iommufd/io_pagetable.h:91: undefined reference to `interval_tree_iter_first'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_next':
   drivers/iommu/iommufd/io_pagetable.h:103: undefined reference to `interval_tree_iter_next'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_first':
   drivers/iommu/iommufd/io_pagetable.h:91: undefined reference to `interval_tree_iter_first'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_next':
   drivers/iommu/iommufd/io_pagetable.h:103: undefined reference to `interval_tree_iter_next'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_first':
   drivers/iommu/iommufd/io_pagetable.h:91: undefined reference to `interval_tree_iter_first'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_reserve_iova':
   drivers/iommu/iommufd/io_pagetable.c:528: undefined reference to `interval_tree_insert'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_remove_reserved_iova':
   drivers/iommu/iommufd/io_pagetable.c:537: undefined reference to `interval_tree_iter_first'
   ld: drivers/iommu/iommufd/io_pagetable.c:543: undefined reference to `interval_tree_iter_next'
   ld: drivers/iommu/iommufd/io_pagetable.c:546: undefined reference to `interval_tree_remove'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_first':
   drivers/iommu/iommufd/io_pagetable.h:91: undefined reference to `interval_tree_iter_first'
   ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_next':
   drivers/iommu/iommufd/io_pagetable.h:103: undefined reference to `interval_tree_iter_next'
   ld: drivers/iommu/iommufd/ioas.o: in function `iommufd_ioas_iova_ranges':
   drivers/iommu/iommufd/ioas.c:93: undefined reference to `interval_tree_span_iter_first'
   ld: drivers/iommu/iommufd/ioas.c:96: undefined reference to `interval_tree_span_iter_next'
   ld: drivers/iommu/iommufd/pages.o: in function `pfn_reader_init':
   drivers/iommu/iommufd/pages.c:689: undefined reference to `interval_tree_span_iter_first'
   ld: drivers/iommu/iommufd/pages.o: in function `interval_tree_fully_covers':
   drivers/iommu/iommufd/pages.c:795: undefined reference to `interval_tree_iter_first'
   ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_get_exact_user':
   drivers/iommu/iommufd/pages.c:1232: undefined reference to `interval_tree_iter_first'
   ld: drivers/iommu/iommufd/pages.c:1233: undefined reference to `interval_tree_iter_next'
   ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_unpin':
   drivers/iommu/iommufd/pages.c:574: undefined reference to `interval_tree_span_iter_first'
   ld: drivers/iommu/iommufd/pages.c:577: undefined reference to `interval_tree_span_iter_next'
   ld: drivers/iommu/iommufd/pages.c:581: undefined reference to `interval_tree_span_iter_first'
   ld: drivers/iommu/iommufd/pages.c:585: undefined reference to `interval_tree_span_iter_next'
   ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_find_domain_area':
   drivers/iommu/iommufd/pages.c:164: undefined reference to `interval_tree_iter_first'
   ld: drivers/iommu/iommufd/pages.o: in function `pfn_reader_next':
   drivers/iommu/iommufd/pages.c:653: undefined reference to `interval_tree_span_iter_next'
   ld: drivers/iommu/iommufd/pages.o: in function `iopt_unmap_domain':
   drivers/iommu/iommufd/pages.c:870: undefined reference to `interval_tree_span_iter_first'
   ld: drivers/iommu/iommufd/pages.c:873: undefined reference to `interval_tree_span_iter_next'
   ld: drivers/iommu/iommufd/pages.o: in function `iopt_area_fill_domains':
   drivers/iommu/iommufd/pages.c:988: undefined reference to `interval_tree_insert'
   ld: drivers/iommu/iommufd/pages.o: in function `iopt_area_unfill_domains':
   drivers/iommu/iommufd/pages.c:1046: undefined reference to `interval_tree_remove'
   ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_unfill_xarray':
   drivers/iommu/iommufd/pages.c:1096: undefined reference to `interval_tree_span_iter_first'
   ld: drivers/iommu/iommufd/pages.c:1099: undefined reference to `interval_tree_span_iter_next'
   ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_clean_xarray':
   drivers/iommu/iommufd/pages.c:1065: undefined reference to `interval_tree_span_iter_first'
   ld: drivers/iommu/iommufd/pages.c:1068: undefined reference to `interval_tree_span_iter_next'
   ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_fill_xarray':
   drivers/iommu/iommufd/pages.c:1179: undefined reference to `interval_tree_span_iter_first'
   ld: drivers/iommu/iommufd/pages.c:1182: undefined reference to `interval_tree_span_iter_next'
   ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_add_user':
   drivers/iommu/iommufd/pages.c:1283: undefined reference to `interval_tree_insert'
   ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_remove_user':
   drivers/iommu/iommufd/pages.c:1316: undefined reference to `interval_tree_remove'
   ld: drivers/iommu/iommufd/vfio_compat.o: in function `iommufd_fill_cap_iova':
   drivers/iommu/iommufd/vfio_compat.c:250: undefined reference to `interval_tree_span_iter_first'
   ld: drivers/iommu/iommufd/vfio_compat.c:253: 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 && MMU && (X86 || S390 || ARM || ARM64)

---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ