undefined reference to `physical_memsize'

From: kbuild test robot
Date: Sun Jan 29 2017 - 06:20:18 EST


Hi Hauke,

It's probably a bug fix that unveils the link errors.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 53cd1ad1a68fd10f677445e04ed63aa9ce39b36b
commit: a2724663494f7313f53da10d8c0a729c5e3c4dea mtd: nand: xway: fix build because of module functions
date: 4 weeks ago
config: mips-xway_defconfig (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout a2724663494f7313f53da10d8c0a729c5e3c4dea
# save the attached .config to linux build tree
make.cross ARCH=mips

All errors (new ones prefixed by >>):

arch/mips/built-in.o: In function `vpe_run':
>> (.text+0x14990): undefined reference to `physical_memsize'
arch/mips/built-in.o: In function `vpe_run':
(.text+0x14994): undefined reference to `physical_memsize'

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip