2021-07-26 02:31:03

by kernel test robot

[permalink] [raw]
Subject: setup_64.c:undefined reference to `radix__early_init_mmu'

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ff1176468d368232b684f75e82563369208bc371
commit: fe3dc333d2ed50c9764d281869d87bae0d795ce5 powerpc/mmu: Don't duplicate radix_enabled()
date: 2 months ago
config: powerpc-randconfig-r004-20210726 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 10.3.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fe3dc333d2ed50c9764d281869d87bae0d795ce5
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout fe3dc333d2ed50c9764d281869d87bae0d795ce5
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

powerpc-linux-ld: arch/powerpc/kernel/setup_64.o: in function `early_setup':
>> setup_64.c:(.init.text+0xd44): undefined reference to `radix__early_init_mmu'
powerpc-linux-ld: arch/powerpc/mm/init_64.o: in function `vmemmap_populate':
>> init_64.c:(.meminit.text+0x7f8): undefined reference to `radix__vmemmap_create_mapping'
powerpc-linux-ld: arch/powerpc/mm/init_64.o: in function `vmemmap_free':
>> init_64.c:(.ref.text+0x374): undefined reference to `radix__vmemmap_remove_mapping'
>> powerpc-linux-ld: arch/powerpc/mm/book3s64/mmu_context.o:(.toc+0x0): undefined reference to `mmu_pid_bits'
>> powerpc-linux-ld: arch/powerpc/mm/book3s64/mmu_context.o:(.toc+0x8): undefined reference to `mmu_base_pid'
powerpc-linux-ld: arch/powerpc/mm/book3s64/pgtable.o: in function `create_section_mapping':
>> pgtable.c:(.meminit.text+0x58): undefined reference to `radix__create_section_mapping'
powerpc-linux-ld: arch/powerpc/mm/book3s64/pgtable.o: in function `remove_section_mapping':
>> pgtable.c:(.meminit.text+0xd8): undefined reference to `radix__remove_section_mapping'
powerpc-linux-ld: mm/memory.o: in function `handle_pte_fault':
>> memory.c:(.text+0xe8f8): undefined reference to `radix__flush_tlb_page'
powerpc-linux-ld: mm/debug_vm_pgtable.o: in function `pmdp_huge_get_and_clear.isra.0':
>> debug_vm_pgtable.c:(.text.unlikely+0xb58): undefined reference to `radix__pmdp_huge_get_and_clear'
powerpc-linux-ld: mm/debug_vm_pgtable.o: in function `pmd_advanced_tests':
>> debug_vm_pgtable.c:(.init.text+0x9bc): undefined reference to `radix__pgtable_trans_huge_deposit'
>> powerpc-linux-ld: debug_vm_pgtable.c:(.init.text+0xa58): undefined reference to `radix__pmd_hugepage_update'
>> powerpc-linux-ld: debug_vm_pgtable.c:(.init.text+0xc5c): undefined reference to `radix__pgtable_trans_huge_withdraw'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]


Attachments:
(No filename) (3.11 kB)
.config.gz (38.43 kB)
Download all attachments