curve25519-selftest.c:undefined reference to `__crypto_memneq'

From: kernel test robot
Date: Sat Feb 12 2022 - 13:18:26 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 83e396641110663d3c7bb25b9bc0c6a750359ecf
commit: e56e18985596617ae426ed5997fb2e737cffb58b lib/crypto: add prompts back to crypto libraries
date: 4 weeks ago
config: ia64-randconfig-r005-20220212 (https://download.01.org/0day-ci/archive/20220212/202202122304.0hOfjJGJ-lkp@xxxxxxxxx/config)
compiler: ia64-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/torvalds/linux.git/commit/?id=e56e18985596617ae426ed5997fb2e737cffb58b
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout e56e18985596617ae426ed5997fb2e737cffb58b
# 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=ia64 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 >>):

ia64-linux-ld: lib/crypto/curve25519-selftest.o: in function `curve25519':
>> curve25519-selftest.c:(.text.unlikely+0x42): undefined reference to `__crypto_memneq'
ia64-linux-ld: lib/crypto/curve25519-selftest.o: in function `curve25519_selftest':
>> curve25519-selftest.c:(.init.text+0x1b2): undefined reference to `__crypto_memneq'
>> ia64-linux-ld: curve25519-selftest.c:(.init.text+0x202): undefined reference to `__crypto_memneq'

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