[cel:topic-rpc-with-tls-upcall 15/18] arc-elf-ld: af_tlsh.c:undefined reference to `inet6_recvmsg'

From: kernel test robot
Date: Mon Jan 24 2022 - 04:07:31 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux topic-rpc-with-tls-upcall
head: da4c27539d2deaa2b9624c470a903b880497e398
commit: 2d835a81bb38c6378f4cc53d0eb2320248a11a4c [15/18] net/tls: Add support for PF_TLSH (a TLS handshake listener)
config: arc-randconfig-r043-20220123 (https://download.01.org/0day-ci/archive/20220124/202201241735.neUrpkni-lkp@xxxxxxxxx/config)
compiler: arc-elf-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/cel/linux.git/commit/?id=2d835a81bb38c6378f4cc53d0eb2320248a11a4c
git remote add cel git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
git fetch --no-tags cel topic-rpc-with-tls-upcall
git checkout 2d835a81bb38c6378f4cc53d0eb2320248a11a4c
# 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=arc 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 >>):

arc-elf-ld: net/tls/af_tlsh.o: in function `tlsh_recvmsg':
af_tlsh.c:(.text+0xc2): undefined reference to `inet6_recvmsg'
>> arc-elf-ld: af_tlsh.c:(.text+0xc2): undefined reference to `inet6_recvmsg'
arc-elf-ld: net/tls/af_tlsh.o: in function `tlsh_sendmsg':
af_tlsh.c:(.text+0xde): undefined reference to `inet6_sendmsg'
>> arc-elf-ld: af_tlsh.c:(.text+0xde): undefined reference to `inet6_sendmsg'
arc-elf-ld: net/tls/af_tlsh.o: in function `tlsh_getname':
af_tlsh.c:(.text+0x12a): undefined reference to `inet6_getname'
>> arc-elf-ld: af_tlsh.c:(.text+0x12a): undefined reference to `inet6_getname'
arc-elf-ld: net/tls/af_tlsh.o: in function `tlsh_release':
af_tlsh.c:(.text+0x4f6): undefined reference to `inet6_release'
>> arc-elf-ld: af_tlsh.c:(.text+0x4f6): undefined reference to `inet6_release'

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