Re: [ammarfaizi2-block:paulmck/linux-rcu/pmladek.2022.06.15a 123/140] xtensa-linux-ld: arch/xtensa/kernel/entry.o:undefined reference to `context_tracking_user_exit'

From: Paul E. McKenney
Date: Thu Jun 30 2022 - 19:08:36 EST


On Fri, Jul 01, 2022 at 04:15:11AM +0800, kernel test robot wrote:
> tree: https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/pmladek.2022.06.15a
> head: 0ba7324b44282870af740a5a121add62c7f5f730
> commit: 9d16390cc0d00ae1100bca4f4adb0ae2906631ec [123/140] context_tracking: Take idle eqs entrypoints over RCU
> config: xtensa-randconfig-r004-20220629 (https://download.01.org/0day-ci/archive/20220701/202207010405.MVCHQe6d-lkp@xxxxxxxxx/config)
> compiler: xtensa-linux-gcc (GCC) 11.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://github.com/ammarfaizi2/linux-block/commit/9d16390cc0d00ae1100bca4f4adb0ae2906631ec
> git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
> git fetch --no-tags ammarfaizi2-block paulmck/linux-rcu/pmladek.2022.06.15a
> git checkout 9d16390cc0d00ae1100bca4f4adb0ae2906631ec
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=xtensa SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@xxxxxxxxx>

This should be fixed in the current version of this commit:

6a87dff9f33a ("context_tracking: Take idle eqs entrypoints over RCU")

Please let me know if this commit does not address the problem.

Thaxn, Paul

> All errors (new ones prefixed by >>):
>
> >> xtensa-linux-ld: arch/xtensa/kernel/entry.o:(.text+0x0): undefined reference to `context_tracking_user_exit'
> >> xtensa-linux-ld: arch/xtensa/kernel/entry.o:(.text+0xc): undefined reference to `context_tracking_user_enter'
> xtensa-linux-ld: arch/xtensa/kernel/entry.o: in function `common_exception':
> arch/xtensa/kernel/entry.S:459: undefined reference to `context_tracking_user_exit'
> xtensa-linux-ld: arch/xtensa/kernel/entry.o: in function `common_exception_return':
> arch/xtensa/kernel/entry.S:542: undefined reference to `context_tracking_user_enter'
>
> --
> 0-DAY CI Kernel Test Service
> https://01.org/lkp