csky-linux-ld: page_alloc.c:undefined reference to `memcg_bulk_pre_charge_hook'

From: kernel test robot
Date: Wed Oct 13 2021 - 07:11:16 EST


tree: https://github.com/0day-ci/linux/commits/UPDATE-20211012-230008/Vasily-Averin/memcg-enable-memory-accounting-in-__alloc_pages_bulk/20211008-172703
head: 2b4ad533abe1afd3ece17453585fd0f57e4fd413
commit: 2b4ad533abe1afd3ece17453585fd0f57e4fd413 memcg: enable memory accounting in __alloc_pages_bulk
date: 20 hours ago
config: csky-randconfig-r036-20211013 (attached as .config)
compiler: csky-linux-gcc (GCC) 11.2.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/0day-ci/linux/commit/2b4ad533abe1afd3ece17453585fd0f57e4fd413
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review UPDATE-20211012-230008/Vasily-Averin/memcg-enable-memory-accounting-in-__alloc_pages_bulk/20211008-172703
git checkout 2b4ad533abe1afd3ece17453585fd0f57e4fd413
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=csky SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

csky-linux-ld: mm/page_alloc.o: in function `__alloc_pages_bulk':
page_alloc.c:(.text+0x49e0): undefined reference to `memcg_bulk_pre_charge_hook'
>> csky-linux-ld: page_alloc.c:(.text+0x4a6c): undefined reference to `memcg_bulk_pre_charge_hook'
>> csky-linux-ld: page_alloc.c:(.text+0x4ae0): undefined reference to `memcg_bulk_charge_hook'
>> csky-linux-ld: page_alloc.c:(.text+0x4bd6): undefined reference to `memcg_bulk_post_charge_hook'
csky-linux-ld: page_alloc.c:(.text+0x4bf4): undefined reference to `memcg_bulk_charge_hook'
csky-linux-ld: page_alloc.c:(.text+0x4c0c): undefined reference to `memcg_bulk_post_charge_hook'
csky-linux-ld: page_alloc.c:(.text+0x4c58): undefined reference to `memcg_bulk_post_charge_hook'
csky-linux-ld: mm/page_alloc.o: in function `get_zeroed_page':
page_alloc.c:(.text+0x4d34): undefined reference to `memcg_bulk_post_charge_hook'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip