Re: [PATCH 2/5] sched: Split out kernel/sched/fair_balance.c from kernel/sched/fair.c

From: kernel test robot
Date: Sun Apr 07 2024 - 06:16:16 EST


Hi Ingo,

kernel test robot noticed the following build errors:

[auto build test ERROR on tip/sched/core]
[also build test ERROR on next-20240405]
[cannot apply to linux/master linus/master peterz-queue/sched/core v6.9-rc2]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Ingo-Molnar/sched-Split-out-kernel-sched-syscalls-c-from-kernel-sched-core-c/20240407-164646
base: tip/sched/core
patch link: https://lore.kernel.org/r/20240407084319.1462211-3-mingo%40kernel.org
patch subject: [PATCH 2/5] sched: Split out kernel/sched/fair_balance.c from kernel/sched/fair.c
config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20240407/202404071825.SlxOD5Yg-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240407/202404071825.SlxOD5Yg-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/202404071825.SlxOD5Yg-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

aarch64-linux-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-ld: kernel/sched/fair.o: in function `switched_from_fair':
fair.c:(.text+0x16c): undefined reference to `update_tg_load_avg'
aarch64-linux-ld: kernel/sched/fair.o: in function `rq_offline_fair':
fair.c:(.text+0x230): undefined reference to `clear_tg_offline_cfs_rqs'
>> aarch64-linux-ld: fair.c:(.text+0x24c): undefined reference to `clear_tg_offline_cfs_rqs'
aarch64-linux-ld: kernel/sched/fair.o: in function `switched_to_fair':
fair.c:(.text+0x87c): undefined reference to `update_tg_load_avg'
aarch64-linux-ld: kernel/sched/fair_balance.o: in function `update_load_avg':
fair_balance.c:(.text+0x1520): undefined reference to `update_tg_load_avg'
>> aarch64-linux-ld: fair_balance.c:(.text+0x15ec): undefined reference to `update_tg_load_avg'
aarch64-linux-ld: fair_balance.c:(.text+0x1608): undefined reference to `update_tg_load_avg'

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