lkml.org 
[lkml]   [2021]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectld.lld: error: undefined symbol: memcg_bulk_pre_charge_hook
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: 16 hours ago
config: riscv-buildonly-randconfig-r002-20211012 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project adf55ac6657693f7bfbe3087b599b4031a765a44)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# 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=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: memcg_bulk_pre_charge_hook
>>> referenced by page_alloc.c
>>> page_alloc.o:(__alloc_pages_bulk) in archive mm/built-in.a
--
>> ld.lld: error: undefined symbol: memcg_bulk_charge_hook
>>> referenced by page_alloc.c
>>> page_alloc.o:(__alloc_pages_bulk) in archive mm/built-in.a
--
>> ld.lld: error: undefined symbol: memcg_bulk_post_charge_hook
>>> referenced by page_alloc.c
>>> page_alloc.o:(__alloc_pages_bulk) in archive mm/built-in.a
>>> referenced by page_alloc.c
>>> page_alloc.o:(__alloc_pages_bulk) in archive mm/built-in.a

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-10-13 08:55    [W:0.028 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site