[cel:topic-rpc-with-tls-upcall 15/18] ld.lld: error: undefined symbol: inet6_getname

From: kernel test robot
Date: Wed Jan 19 2022 - 23:39:58 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux topic-rpc-with-tls-upcall
head: ddd643a7a9a2faa6d6f1513d6f71490707989a28
commit: 6d2eb8a419c0ca5a304072b53d9475846dd1cf43 [15/18] net/tls: Add support for PF_TLSH (a TLS handshake listener)
config: hexagon-randconfig-r021-20220118 (https://download.01.org/0day-ci/archive/20220120/202201201215.1OBoCxnK-lkp@xxxxxxxxx/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f7b7138a62648f4019c55e4671682af1f851f295)
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=6d2eb8a419c0ca5a304072b53d9475846dd1cf43
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 6d2eb8a419c0ca5a304072b53d9475846dd1cf43
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon 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 >>):

>> ld.lld: error: undefined symbol: inet6_getname
>>> referenced by af_tlsh.c
>>> tls/af_tlsh.o:(tlsh_getname) in archive net/built-in.a
>>> referenced by af_tlsh.c
>>> tls/af_tlsh.o:(tlsh_getname) in archive net/built-in.a
>>> did you mean: inet_getname
>>> defined in: net/built-in.a(ipv4/af_inet.o)
--
>> ld.lld: error: undefined symbol: inet6_sendmsg
>>> referenced by af_tlsh.c
>>> tls/af_tlsh.o:(tlsh_sendmsg) in archive net/built-in.a
>>> referenced by af_tlsh.c
>>> tls/af_tlsh.o:(tlsh_sendmsg) in archive net/built-in.a
--
>> ld.lld: error: undefined symbol: inet6_recvmsg
>>> referenced by af_tlsh.c
>>> tls/af_tlsh.o:(tlsh_recvmsg) in archive net/built-in.a
>>> referenced by af_tlsh.c
>>> tls/af_tlsh.o:(tlsh_recvmsg) in archive net/built-in.a

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