tree:
https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git
generic-uaccess
head: 7731bf9d8dc1468d45db173cbe49cbe19c39a4a7
commit: 04e17803c96bb95527da87c2cfbac2f7cb6d697f [4/5] asm-generic: uaccess: use generic
uaccess on m68k, h8300 and riscv
config: c6x-evmc6474_defconfig (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.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/arnd/playground.git/commi...
git remote add arnd-playground
https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git
git fetch --no-tags arnd-playground generic-uaccess
git checkout 04e17803c96bb95527da87c2cfbac2f7cb6d697f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=c6x
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
c6x-elf-ld: warning: section `.far' type changed to PROGBITS
c6x-elf-ld: warning: section `.far' type changed to PROGBITS
c6x-elf-ld: kernel/reboot.o: in function `__do_sys_reboot':
> reboot.c:(.text+0x9ec): undefined reference to
`strncpy_from_user'
c6x-elf-ld: kernel/module.o: in function
`__se_sys_delete_module':
> module.c:(.text+0x2e98): undefined reference to
`strncpy_from_user'
c6x-elf-ld: fs/binfmt_elf_fdpic.o: in function
`create_elf_fdpic_tables':
> binfmt_elf_fdpic.c:(.text+0xca0): undefined reference to
`strnlen_user'
> c6x-elf-ld: binfmt_elf_fdpic.c:(.text+0xd24): undefined reference to
`strnlen_user'
c6x-elf-ld: kernel/sys.o: in function `__do_sys_prctl':
> sys.c:(.text+0x3820): undefined reference to
`strncpy_from_user'
c6x-elf-ld: mm/maccess.o: in function
`strncpy_from_user_nofault':
> maccess.c:(.text+0x47c): undefined reference to
`strncpy_from_user'
c6x-elf-ld: mm/maccess.o: in function
`strnlen_user_nofault':
> maccess.c:(.text+0x520): undefined reference to
`strnlen_user'
c6x-elf-ld: mm/util.o: in function `strndup_user':
> util.c:(.text+0x79c): undefined reference to `strnlen_user'
c6x-elf-ld: fs/exec.o: in function `copy_strings':
> exec.c:(.text+0xa58): undefined reference to `strnlen_user'
c6x-elf-ld: fs/namei.o: in function `getname_flags':
> namei.c:(.text+0x51a0): undefined reference to
`strncpy_from_user'
> c6x-elf-ld: namei.c:(.text+0x522c): undefined reference to `strncpy_from_user'
c6x-elf-ld: fs/xattr.o: in function `getxattr':
> xattr.c:(.text+0x858): undefined reference to
`strncpy_from_user'
c6x-elf-ld: fs/xattr.o: in function `removexattr':
xattr.c:(.text+0xeac): undefined reference to `strncpy_from_user'
c6x-elf-ld: fs/xattr.o: in function `setxattr':
xattr.c:(.text+0x14dc): undefined reference to `strncpy_from_user'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org