[paulmck-rcu:dev.2024.05.21a 44/53] update.c:undefined reference to `__bad_cmpxchg'

From: kernel test robot
Date: Tue May 28 2024 - 14:50:19 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2024.05.21a
head: 17284125a3f17be817e917b23511c99aea8fee81
commit: 8b1964fedb0484ccda5a7e20f37ace2ebdcd1cf5 [44/53] rcu-tasks: Remove open-coded one-byte cmpxchg() emulation
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20240529/202405290221.CXfSkR3b-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240529/202405290221.CXfSkR3b-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405290221.CXfSkR3b-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

arm-linux-gnueabi-ld: kernel/rcu/update.o: in function `rcu_trc_cmpxchg_need_qs':
>> update.c:(.text+0x51e8): undefined reference to `__bad_cmpxchg'
arm-linux-gnueabi-ld: kernel/rcu/update.o: in function `trc_read_check_handler':
update.c:(.text+0x5250): undefined reference to `__bad_cmpxchg'
arm-linux-gnueabi-ld: kernel/rcu/update.o: in function `rcu_read_unlock_trace_special':
update.c:(.text+0x8170): undefined reference to `__bad_cmpxchg'
arm-linux-gnueabi-ld: kernel/rcu/update.o: in function `trc_inspect_reader':
update.c:(.text+0x86c0): undefined reference to `__bad_cmpxchg'
>> arm-linux-gnueabi-ld: update.c:(.text+0x86ec): undefined reference to `__bad_cmpxchg'
arm-linux-gnueabi-ld: kernel/rcu/update.o:update.c:(.text+0x8a6c): more undefined references to `__bad_cmpxchg' follow

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki