Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [jgunthorpe:iommu_pt 19/22] ld.lld: error: undefined symbol: pt_iommu_x86_64_hw_info
@ 2025-04-29 22:37 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-04-29 22:37 UTC (permalink / raw)
  To: Alejandro Jimenez; +Cc: llvm, oe-kbuild-all, Jason Gunthorpe

tree:   https://github.com/jgunthorpe/linux iommu_pt
head:   c1dec260d8b78443ef82054138c29a8d3d155a74
commit: ee6aae7327cd34c61889435908500dbce710d984 [19/22] iommu/amd: Use the generic iommu page table
config: x86_64-buildonly-randconfig-006-20250430 (https://download.01.org/0day-ci/archive/20250430/202504300622.6hXIcimG-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250430/202504300622.6hXIcimG-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504300622.6hXIcimG-lkp@intel.com/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: pt_iommu_x86_64_hw_info
   >>> referenced by iommu.c:2144 (drivers/iommu/amd/iommu.c:2144)
   >>>               vmlinux.o:(amd_iommu_attach_device)
--
>> ld.lld: error: undefined symbol: pt_iommu_amdv1_hw_info
   >>> referenced by iommu.c:2029 (drivers/iommu/amd/iommu.c:2029)
   >>>               vmlinux.o:(set_dte_entry)
--
>> ld.lld: error: undefined symbol: pt_iommu_x86_64_unmap_pages
   >>> referenced by usercopy_64.c
   >>>               vmlinux.o:(amdv2_ops)
--
>> ld.lld: error: undefined symbol: pt_iommu_amdv1_init
   >>> referenced by iommu.c:2608 (drivers/iommu/amd/iommu.c:2608)
   >>>               vmlinux.o:(amd_iommu_domain_alloc_paging_v1)
--
>> ld.lld: error: undefined symbol: pt_iommu_x86_64_init
   >>> referenced by iommu.c:2669 (drivers/iommu/amd/iommu.c:2669)
   >>>               vmlinux.o:(amd_iommu_domain_alloc_paging_v2)
--
>> ld.lld: error: undefined symbol: pt_iommu_amdv1_read_and_clear_dirty
   >>> referenced by usercopy_64.c
   >>>               vmlinux.o:(amdv1_dirty_ops)
--
>> ld.lld: error: undefined symbol: pt_iommu_amdv1_map_pages
   >>> referenced by usercopy_64.c
   >>>               vmlinux.o:(amdv1_ops)
--
>> ld.lld: error: undefined symbol: pt_iommu_amdv1_iova_to_phys
   >>> referenced by usercopy_64.c
   >>>               vmlinux.o:(amdv1_ops)
--
>> ld.lld: error: undefined symbol: pt_iommu_amdv1_unmap_pages
   >>> referenced by usercopy_64.c
   >>>               vmlinux.o:(amdv1_ops)
--
>> ld.lld: error: undefined symbol: pt_iommu_x86_64_map_pages
   >>> referenced by usercopy_64.c
   >>>               vmlinux.o:(amdv2_ops)
--
>> ld.lld: error: undefined symbol: pt_iommu_x86_64_iova_to_phys
   >>> referenced by usercopy_64.c
   >>>               vmlinux.o:(amdv2_ops)

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for IOMMU_PT_AMDV1
   Depends on [n]: GENERIC_PT [=n] && IOMMU_PT [=n] && !GENERIC_ATOMIC64 [=n]
   Selected by [y]:
   - AMD_IOMMU [=y] && IOMMU_SUPPORT [=y] && X86_64 [=y] && PCI [=y] && ACPI [=y] && HAVE_CMPXCHG_DOUBLE [=y]
   WARNING: unmet direct dependencies detected for IOMMU_PT_X86_64
   Depends on [n]: GENERIC_PT [=n] && IOMMU_PT [=n] && !GENERIC_ATOMIC64 [=n]
   Selected by [y]:
   - AMD_IOMMU [=y] && IOMMU_SUPPORT [=y] && X86_64 [=y] && PCI [=y] && ACPI [=y] && HAVE_CMPXCHG_DOUBLE [=y]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-29 22:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-29 22:37 [jgunthorpe:iommu_pt 19/22] ld.lld: error: undefined symbol: pt_iommu_x86_64_hw_info kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox