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

From: kernel test robot
Date: Mon Dec 27 2021 - 11:48:40 EST


tree: https://github.com/0day-ci/linux/commits/UPDATE-20211227-214832/Jason-A-Donenfeld/lib-crypto-blake2s-include-as-built-in/20211223-221318
head: a0100b394286ac0ea58b9bc14d48e1c6ca902edf
commit: c3ffa27999c0c1ba7d80b336e45a6bd2e20818b8 lib/crypto: blake2s: include as built-in
date: 3 hours ago
config: m68k-m5307c3_defconfig (https://download.01.org/0day-ci/archive/20211228/202112280019.orhQTotQ-lkp@xxxxxxxxx/config)
compiler: m68k-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/c3ffa27999c0c1ba7d80b336e45a6bd2e20818b8
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review UPDATE-20211227-214832/Jason-A-Donenfeld/lib-crypto-blake2s-include-as-built-in/20211223-221318
git checkout c3ffa27999c0c1ba7d80b336e45a6bd2e20818b8
# 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=m68k 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 >>):

m68k-linux-ld: lib/crypto/blake2s.o: in function `blake2s_update':
blake2s.c:(.text+0x50): undefined reference to `blake2s_compress'
>> m68k-linux-ld: blake2s.c:(.text+0x98): undefined reference to `blake2s_compress'
m68k-linux-ld: lib/crypto/blake2s.o: in function `blake2s_final':
blake2s.c:(.text+0xea): undefined reference to `blake2s_compress'
m68k-linux-ld: lib/crypto/blake2s.o: in function `blake2s256_hmac':
blake2s.c:(.text+0x1a4): undefined reference to `blake2s_compress'
m68k-linux-ld: blake2s.c:(.text+0x4d4): undefined reference to `blake2s_compress'

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