[crng-random:master 8/9] s390-linux-ld: blake2s.c:undefined reference to `blake2s_compress'

From: kernel test robot
Date: Mon Dec 27 2021 - 14:10:37 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: s390-alldefconfig (https://download.01.org/0day-ci/archive/20211228/202112280325.lfFyGqBk-lkp@xxxxxxxxx/config)
compiler: s390-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=s390 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 >>):

s390-linux-ld: lib/crypto/blake2s.o: in function `blake2s_update':
blake2s.c:(.text+0x9c): undefined reference to `blake2s_compress'
>> s390-linux-ld: blake2s.c:(.text+0xd8): undefined reference to `blake2s_compress'
s390-linux-ld: lib/crypto/blake2s.o: in function `blake2s_final':
blake2s.c:(.text+0x16e): undefined reference to `blake2s_compress'
s390-linux-ld: lib/crypto/blake2s.o: in function `blake2s256_hmac':
blake2s.c:(.text+0x282): undefined reference to `blake2s_compress'
s390-linux-ld: blake2s.c:(.text+0x388): undefined reference to `blake2s_compress'
s390-linux-ld: lib/crypto/blake2s.o:blake2s.c:(.text+0x45a): more undefined references to `blake2s_compress' follow

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