arch/mips/boot/compressed/decompress.c:undefined reference to `ftrace_likely_update'
From: kernel test robot
Date: Thu Jun 04 2020 - 19:45:05 EST
Hi Ben,
It's probably a bug fix that unveils the link errors.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 15a2bc4dbb9cfed1c661a657fcb10798150b7598
commit: f39293fd37fff74c531b7a52d0459cc77db85e7f MIPS: Fix exception handler memcpy()
date: 12 days ago
config: mips-randconfig-s031-20200604 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-246-g41f651b4-dirty
git checkout f39293fd37fff74c531b7a52d0459cc77db85e7f
# save the attached .config to linux build tree
make W=1 C=1 ARCH=mips CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>, old ones prefixed by <<):
mipsel-linux-ld: arch/mips/boot/compressed/decompress.o: in function `lzo1x_decompress_safe':
>> arch/mips/boot/compressed/decompress.c:(.text+0x90): undefined reference to `ftrace_likely_update'
>> mipsel-linux-ld: arch/mips/boot/compressed/decompress.c:(.text+0xb0): undefined reference to `ftrace_likely_update'
mipsel-linux-ld: arch/mips/boot/compressed/decompress.c:(.text+0x140): undefined reference to `ftrace_likely_update'
mipsel-linux-ld: arch/mips/boot/compressed/decompress.c:(.text+0x194): undefined reference to `ftrace_likely_update'
mipsel-linux-ld: arch/mips/boot/compressed/decompress.c:(.text+0x1b4): undefined reference to `ftrace_likely_update'
mipsel-linux-ld: arch/mips/boot/compressed/decompress.o:arch/mips/boot/compressed/decompress.c:(.text+0x1e4): more undefined references to `ftrace_likely_update' follow
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip