All of lore.kernel.org
 help / color / mirror / Atom feed
* [peterz-queue:modules/WIP 22/23] include/linux/err.h:31: undefined reference to `ftrace_module_release'
@ 2020-05-16 12:38 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-16 12:38 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2037 bytes --]

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@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@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 25256 bytes --]

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

only message in thread, other threads:[~2020-05-16 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-16 12:38 [peterz-queue:modules/WIP 22/23] include/linux/err.h:31: undefined reference to `ftrace_module_release' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.