tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git modules/WIP
head: f0d1d7d9b12e1f351715255a8569d2afde739a34
commit: 764e7a2977acd71af7da72e661b2152a5e9d4e4f [22/23] ftrace: Merge
ftrace_module_{init,enable}()
config: sh-randconfig-r034-20200516 (attached as .config)
compiler: sh4-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 764e7a2977acd71af7da72e661b2152a5e9d4e4f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
sh4-linux-ld: kernel/module.o: in function `__se_sys_delete_module':
kernel/module.c:970: undefined reference to `ftrace_module_release'
sh4-linux-ld: kernel/module.o: in function `do_init_module':
kernel/module.c:3632: undefined reference to `ftrace_module_release'
sh4-linux-ld: kernel/module.o: in function `load_module':
> include/linux/err.h:31: undefined reference to
`ftrace_module_release'
vim +31 include/linux/err.h
^1da177e4c3f41 Linus Torvalds 2005-04-16 28
e7152b97f38f1f Dan Carpenter 2013-07-03 29 static inline long __must_check
PTR_ERR(__force const void *ptr)
^1da177e4c3f41 Linus Torvalds 2005-04-16 30 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 @31 return (long) ptr;
^1da177e4c3f41 Linus Torvalds 2005-04-16 32 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 33
:::::: The code at line 31 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds(a)ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds(a)ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org