[mark:linkage/alias-rework 4/5] ERROR: modpost: "memcpy" [net/nsh/nsh.ko] undefined!

From: kernel test robot
Date: Sat Dec 04 2021 - 12:52:00 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git linkage/alias-rework
head: bd779ad653870d718d0df57731b1637dae509337
commit: b1f797b9db51e1b30e01ffb1527a56356437b73f [4/5] x86: simplify symbol aliasing
config: x86_64-randconfig-a011-20211203 (https://download.01.org/0day-ci/archive/20211205/202112050153.bnxO7Qm2-lkp@xxxxxxxxx/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5f1d1854eb1450d352663ee732235893c5782237)
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://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id=b1f797b9db51e1b30e01ffb1527a56356437b73f
git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark linkage/alias-rework
git checkout b1f797b9db51e1b30e01ffb1527a56356437b73f
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 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 >>, old ones prefixed by <<):

>> ERROR: modpost: "memcpy" [net/nsh/nsh.ko] undefined!
>> ERROR: modpost: "memcpy" [net/openvswitch/openvswitch.ko] undefined!
>> ERROR: modpost: "memset" [net/openvswitch/openvswitch.ko] undefined!
>> ERROR: modpost: "memset" [net/batman-adv/batman-adv.ko] undefined!
>> ERROR: modpost: "memcpy" [net/batman-adv/batman-adv.ko] undefined!
>> ERROR: modpost: "memcpy" [net/6lowpan/6lowpan.ko] undefined!
>> ERROR: modpost: "memset" [net/6lowpan/6lowpan.ko] undefined!
>> ERROR: modpost: "memset" [net/caif/caif_usb.ko] undefined!
>> ERROR: modpost: "memset" [net/caif/caif_socket.ko] undefined!
>> ERROR: modpost: "memcpy" [net/caif/caif_socket.ko] undefined!
WARNING: modpost: suppressed 1040 unresolved symbol warnings because there were too many)

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