[hare-scsi-devel:tls-upcall.v2 135/159] af_tlsh.c:undefined reference to `inet6_recvmsg'
From: kernel test robot
Date: Sat Feb 26 2022 - 23:52:28 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git tls-upcall.v2
head: 21b520ae0b338bd30496feb1ca90a2820dab7a65
commit: 49f638e40e8a12b036a9943b76baa0c54c14d504 [135/159] net/tls: Add support for PF_TLSH (a TLS handshake listener)
config: riscv-randconfig-r014-20220226 (https://download.01.org/0day-ci/archive/20220227/202202271243.bF63bqM0-lkp@xxxxxxxxx/config)
compiler: riscv32-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/hare/scsi-devel.git/commit/?id=49f638e40e8a12b036a9943b76baa0c54c14d504
git remote add hare-scsi-devel https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git
git fetch --no-tags hare-scsi-devel tls-upcall.v2
git checkout 49f638e40e8a12b036a9943b76baa0c54c14d504
# 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=riscv 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 >>):
riscv32-linux-ld: net/tls/af_tlsh.o: in function `.L36':
>> af_tlsh.c:(.text+0xce): undefined reference to `inet6_recvmsg'
riscv32-linux-ld: net/tls/af_tlsh.o: in function `.L41':
>> af_tlsh.c:(.text+0xfa): undefined reference to `inet6_sendmsg'
riscv32-linux-ld: net/tls/af_tlsh.o: in function `tlsh_getname':
>> af_tlsh.c:(.text+0x1dc): undefined reference to `inet6_getname'
riscv32-linux-ld: net/tls/af_tlsh.o: in function `.L166':
>> af_tlsh.c:(.text+0x7e6): undefined reference to `inet6_release'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx