nds32le-linux-ld: blake2s.c:undefined reference to `blake2s_compress'

From: kernel test robot
Date: Mon Dec 27 2021 - 11:57:35 EST


tree: https://github.com/0day-ci/linux/commits/UPDATE-20211227-222159/Jason-A-Donenfeld/lib-crypto-blake2s-include-as-built-in/20211223-221318
head: cf9c5e5cba1ba852d4c4482fef47ecd0842b645b
commit: 2607be0046b083ed690e8176d93f8c8f52676224 lib/crypto: blake2s: include as built-in
date: 2 hours ago
config: nds32-allnoconfig (https://download.01.org/0day-ci/archive/20211228/202112280002.KJATUuv8-lkp@xxxxxxxxx/config)
compiler: nds32le-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/2607be0046b083ed690e8176d93f8c8f52676224
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review UPDATE-20211227-222159/Jason-A-Donenfeld/lib-crypto-blake2s-include-as-built-in/20211223-221318
git checkout 2607be0046b083ed690e8176d93f8c8f52676224
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 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 >>):

nds32le-linux-ld: lib/crypto/blake2s.o: in function `blake2s_update':
blake2s.c:(.text+0x6a): undefined reference to `blake2s_compress'
>> nds32le-linux-ld: blake2s.c:(.text+0x6e): undefined reference to `blake2s_compress'
nds32le-linux-ld: blake2s.c:(.text+0x98): undefined reference to `blake2s_compress'
nds32le-linux-ld: blake2s.c:(.text+0x9c): undefined reference to `blake2s_compress'
nds32le-linux-ld: lib/crypto/blake2s.o: in function `blake2s_final':
blake2s.c:(.text+0xec): undefined reference to `blake2s_compress'
nds32le-linux-ld: lib/crypto/blake2s.o:blake2s.c:(.text+0xf0): more undefined references to `blake2s_compress' follow

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