Re: [rcu:dev.2019.04.16a 71/72] ERROR: "sched_setaffinity" [kernel/rcu/rcutorture.ko] undefined!
From: Paul E. McKenney
Date: Tue Apr 23 2019 - 09:07:04 EST
On Tue, Apr 23, 2019 at 08:19:33PM +0800, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2019.04.16a
> head: ca8714f549be5a186d086a223184095759eb7094
> commit: 672c5761e6763a76b414a8deaebb787696100ea1 [71/72] rcutorture: Add trivial RCU implementation
> config: ia64-allmodconfig (attached as .config)
> compiler: ia64-linux-gcc (GCC) 8.1.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 672c5761e6763a76b414a8deaebb787696100ea1
> # save the attached .config to linux build tree
> GCC_VERSION=8.1.0 make.cross ARCH=ia64
>
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
>
>
> All errors (new ones prefixed by >>):
>
> >> ERROR: "sched_setaffinity" [kernel/rcu/rcutorture.ko] undefined!
> ERROR: "ia64_delay_loop" [drivers/spi/spi-thunderx.ko] undefined!
> ERROR: "__sw_hweight8" [drivers/net/wireless/mediatek/mt76/mt7603/mt7603e.ko] undefined!
> ERROR: "ia64_delay_loop" [drivers/net/phy/mdio-cavium.ko] undefined!
Good catch -- fixing this with the usual trampoline function.
Thanx, Paul