Skip to contentSkip to conversation

memcontrol.c:undefined reference to `bpf_memcg_high_policy'

PATCH kernel test robot 1 participant 1 message Nov 29

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://github.com/kkdwivedi/linux reclaim-ext
head:   6b721024b59ae84266e5c2b29fd390ba4fa9c362
commit: 3e016ddbafeaf29b30351e39c4918de15f176da6 [166/249] memcg_ext: allow BPF to defer memory.high enforcement
config: openrisc-randconfig-2002-20261129 (https://download.01.org/0day-ci/archive/20261129/[email protected]/config)
compiler: or1k-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261129/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

Note: the kkdwivedi/reclaim-ext HEAD 6b721024b59ae84266e5c2b29fd390ba4fa9c362 builds fine.
It only hurts bisectability.

All errors (new ones prefixed by >>):

or1k-linux-ld: mm/memcontrol.o: in function `try_charge_memcg':

>> memcontrol.c:(.text+0xde7c): undefined reference to `bpf_memcg_high_policy'
>> memcontrol.c:(.text+0xde7c): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `bpf_memcg_high_policy'

.exit.text' referenced in section __jump_table' of fs/fuse/inode.o: defined in discarded section .exit.text' of fs/fuse/inode.o .exit.text' referenced in section __jump_table' of fs/fuse/inode.o: defined in discarded section .exit.text' of fs/fuse/inode.o .exit.text' referenced in section __jump_table' of lib/test_dynamic_debug.o: defined in discarded section .exit.text' of lib/test_dynamic_debug.o .exit.text' referenced in section __jump_table' of lib/test_dynamic_debug.o: defined in discarded section .exit.text' of lib/test_dynamic_debug.o

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