[crng-random:master 8/9] mips-linux-ld: blake2s.c:undefined reference to `blake2s_compress'
From: kernel test robot
Date: Mon Dec 27 2021 - 13:19:40 EST
tree: git://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git master
head: 1e82f9dc0ff8aec645cb0bcbd003c7989db05036
commit: 94385fa60862094ce641b628c5fd7fd8307d6c39 [8/9] lib/crypto: blake2s: include as built-in
config: mips-jmr3927_defconfig (https://download.01.org/0day-ci/archive/20211228/202112280222.KpoFVWEB-lkp@xxxxxxxxx/config)
compiler: mips-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://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git/commit/?id=94385fa60862094ce641b628c5fd7fd8307d6c39
git remote add crng-random git://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git
git fetch --no-tags crng-random master
git checkout 94385fa60862094ce641b628c5fd7fd8307d6c39
# 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=mips 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 >>):
mips-linux-ld: lib/crypto/blake2s.o: in function `blake2s_update':
blake2s.c:(.text+0xb0): undefined reference to `blake2s_compress'
>> mips-linux-ld: blake2s.c:(.text+0xe0): undefined reference to `blake2s_compress'
mips-linux-ld: lib/crypto/blake2s.o: in function `blake2s_final':
blake2s.c:(.text+0x148): undefined reference to `blake2s_compress'
mips-linux-ld: lib/crypto/blake2s.o: in function `blake2s256_hmac':
blake2s.c:(.text+0x2bc): undefined reference to `blake2s_compress'
mips-linux-ld: blake2s.c:(.text+0x588): undefined reference to `blake2s_compress'
mips-linux-ld: lib/crypto/blake2s.o:blake2s.c:(.text+0x5c0): more undefined references to `blake2s_compress' follow
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx