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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203110400.pzAhW2v5-lkp@intel.com>
Date:   Fri, 11 Mar 2022 04:39:45 +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,
        Liu Yi L <yi.l.liu@...el.com>
Subject: [luxis1999-iommufd:iommufd-v5.17-rc6 37/41] arm-linux-gnueabi-ld:
 vfio_compat.c:undefined reference to `interval_tree_span_iter_next'

tree:   https://github.com/luxis1999/iommufd iommufd-v5.17-rc6
head:   fc7890730af65b13691ccd7371b2f571338ffa74
commit: a3f133279ae994c62f5a14dbcd334564651484c8 [37/41] vfio: Add iommufd VFIO compat support to group_fd
config: arm-randconfig-p002-20220310 (https://download.01.org/0day-ci/archive/20220311/202203110400.pzAhW2v5-lkp@intel.com/config)
compiler: arm-linux-gnueabi-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/a3f133279ae994c62f5a14dbcd334564651484c8
        git remote add luxis1999-iommufd https://github.com/luxis1999/iommufd
        git fetch --no-tags luxis1999-iommufd iommufd-v5.17-rc6
        git checkout a3f133279ae994c62f5a14dbcd334564651484c8
        # 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=arm 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 >>):

   kernel/softirq.o: in function `spawn_ksoftirqd':
   softirq.c:(.init.text+0x14): relocation truncated to fit: R_ARM_PC24 against symbol `__gnu_mcount_nc' defined in .text section in arch/arm/kernel/entry-ftrace.o
   softirq.c:(.init.text+0x30): relocation truncated to fit: R_ARM_PC24 against symbol `__cpuhp_setup_state' defined in .text section in kernel/cpu.o
   softirq.c:(.init.text+0x38): relocation truncated to fit: R_ARM_PC24 against symbol `smpboot_register_percpu_thread' defined in .text section in kernel/smpboot.o
   kernel/softirq.o: in function `softirq_init':
   softirq.c:(.init.text+0x68): relocation truncated to fit: R_ARM_PC24 against symbol `__gnu_mcount_nc' defined in .text section in arch/arm/kernel/entry-ftrace.o
   kernel/softirq.o: in function `early_irq_init':
   softirq.c:(.init.text+0xb8): relocation truncated to fit: R_ARM_PC24 against symbol `__gnu_mcount_nc' defined in .text section in arch/arm/kernel/entry-ftrace.o
   kernel/softirq.o: in function `arch_probe_nr_irqs':
   softirq.c:(.init.text+0xd4): relocation truncated to fit: R_ARM_PC24 against symbol `__gnu_mcount_nc' defined in .text section in arch/arm/kernel/entry-ftrace.o
   kernel/softirq.o: in function `arch_early_irq_init':
   softirq.c:(.init.text+0xf0): relocation truncated to fit: R_ARM_PC24 against symbol `__gnu_mcount_nc' defined in .text section in arch/arm/kernel/entry-ftrace.o
   init/main.o: in function `set_reset_devices':
   main.c:(.init.text+0x10): relocation truncated to fit: R_ARM_PC24 against symbol `__gnu_mcount_nc' defined in .text section in arch/arm/kernel/entry-ftrace.o
   init/main.o: in function `debug_kernel':
   main.c:(.init.text+0x38): relocation truncated to fit: R_ARM_PC24 against symbol `__gnu_mcount_nc' defined in .text section in arch/arm/kernel/entry-ftrace.o
   init/main.o: in function `quiet_kernel':
   main.c:(.init.text+0x64): relocation truncated to fit: R_ARM_PC24 against symbol `__gnu_mcount_nc' defined in .text section in arch/arm/kernel/entry-ftrace.o
   init/main.o: in function `warn_bootconfig':
   main.c:(.init.text+0x90): additional relocation overflows omitted from the output
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_alloc_iova':
   io_pagetable.c:(.text+0x278): undefined reference to `interval_tree_span_iter_first'
>> arm-linux-gnueabi-ld: io_pagetable.c:(.text+0x2a4): undefined reference to `interval_tree_span_iter_next'
>> arm-linux-gnueabi-ld: io_pagetable.c:(.text+0x2bc): undefined reference to `interval_tree_span_iter_first'
   arm-linux-gnueabi-ld: io_pagetable.c:(.text+0x2e4): undefined reference to `interval_tree_span_iter_next'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_first':
   io_pagetable.c:(.text+0x3a4): undefined reference to `interval_tree_iter_first'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_alloc_area':
   io_pagetable.c:(.text+0x4b0): undefined reference to `interval_tree_insert'
>> arm-linux-gnueabi-ld: io_pagetable.c:(.text+0x4f4): undefined reference to `interval_tree_iter_first'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_abort_area':
   io_pagetable.c:(.text+0x5f8): undefined reference to `interval_tree_remove'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_area_iter_next':
   io_pagetable.c:(.text+0x620): undefined reference to `interval_tree_iter_next'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_fill_domain':
   io_pagetable.c:(.text+0x78c): undefined reference to `interval_tree_insert'
>> arm-linux-gnueabi-ld: io_pagetable.c:(.text+0x7f4): undefined reference to `interval_tree_remove'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_unfill_domain':
   io_pagetable.c:(.text+0xa7c): undefined reference to `interval_tree_remove'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_reserve_iova':
   io_pagetable.c:(.text+0x126c): undefined reference to `interval_tree_insert'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/io_pagetable.o: in function `iopt_remove_reserved_iova':
   io_pagetable.c:(.text+0x12bc): undefined reference to `interval_tree_iter_first'
>> arm-linux-gnueabi-ld: io_pagetable.c:(.text+0x12d4): undefined reference to `interval_tree_iter_next'
   arm-linux-gnueabi-ld: io_pagetable.c:(.text+0x12f0): undefined reference to `interval_tree_remove'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/ioas.o: in function `iommufd_ioas_iova_ranges':
   ioas.c:(.text+0x344): undefined reference to `interval_tree_span_iter_first'
>> arm-linux-gnueabi-ld: ioas.c:(.text+0x400): undefined reference to `interval_tree_span_iter_next'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/pages.o: in function `pfn_reader_init':
   pages.c:(.text+0x47c): undefined reference to `interval_tree_span_iter_first'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/pages.o: in function `interval_tree_fully_covers':
   pages.c:(.text+0x4cc): undefined reference to `interval_tree_iter_first'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_unpin':
   pages.c:(.text+0x60c): undefined reference to `interval_tree_span_iter_first'
>> arm-linux-gnueabi-ld: pages.c:(.text+0x624): undefined reference to `interval_tree_span_iter_next'
>> arm-linux-gnueabi-ld: pages.c:(.text+0x63c): undefined reference to `interval_tree_span_iter_first'
   arm-linux-gnueabi-ld: pages.c:(.text+0x650): undefined reference to `interval_tree_span_iter_next'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_get_exact_user':
   pages.c:(.text+0xb4c): undefined reference to `interval_tree_iter_first'
>> arm-linux-gnueabi-ld: pages.c:(.text+0xb74): undefined reference to `interval_tree_iter_next'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/pages.o: in function `pfn_reader_next':
   pages.c:(.text+0x11f8): undefined reference to `interval_tree_iter_first'
   arm-linux-gnueabi-ld: pages.c:(.text+0x12e8): undefined reference to `interval_tree_span_iter_next'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/pages.o: in function `iopt_unmap_domain':
   pages.c:(.text+0x1928): undefined reference to `interval_tree_span_iter_first'
   arm-linux-gnueabi-ld: pages.c:(.text+0x1954): undefined reference to `interval_tree_span_iter_next'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/pages.o: in function `iopt_area_fill_domains':
   pages.c:(.text+0x1c1c): undefined reference to `interval_tree_insert'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/pages.o: in function `iopt_area_unfill_domains':
   pages.c:(.text+0x1dec): undefined reference to `interval_tree_remove'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_unfill_xarray':
   pages.c:(.text+0x1ef8): undefined reference to `interval_tree_span_iter_first'
   arm-linux-gnueabi-ld: pages.c:(.text+0x1f20): undefined reference to `interval_tree_span_iter_next'
   arm-linux-gnueabi-ld: pages.c:(.text+0x1f58): undefined reference to `interval_tree_span_iter_first'
   arm-linux-gnueabi-ld: pages.c:(.text+0x1fd4): undefined reference to `interval_tree_span_iter_next'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_fill_xarray':
   pages.c:(.text+0x21a4): undefined reference to `interval_tree_span_iter_first'
   arm-linux-gnueabi-ld: pages.c:(.text+0x22cc): undefined reference to `interval_tree_span_iter_next'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_add_user':
   pages.c:(.text+0x2424): undefined reference to `interval_tree_insert'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/pages.o: in function `iopt_pages_remove_user':
   pages.c:(.text+0x24a8): undefined reference to `interval_tree_remove'
   arm-linux-gnueabi-ld: drivers/iommu/iommufd/vfio_compat.o: in function `iommufd_fill_cap_iova':
   vfio_compat.c:(.text+0x1c8): undefined reference to `interval_tree_span_iter_first'
>> arm-linux-gnueabi-ld: vfio_compat.c:(.text+0x244): 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, Intel Corporation
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