[hare-scsi-devel:tls-upcall.v4 121/156] ld.lld: error: undefined symbol: inet6_release

From: kernel test robot
Date: Sun Mar 13 2022 - 15:41:15 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git tls-upcall.v4
head: d2416ecdb6b03fc2e4aa40b20cdf919322713224
commit: 33ec82590b0b919215a255fb431d661be4807b45 [121/156] net/tls: Add support for PF_TLSH (a TLS handshake listener)
config: hexagon-randconfig-r011-20220313 (https://download.01.org/0day-ci/archive/20220314/202203140324.e59XsOnR-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0467eb2cb7654c15ae366967ef35093c5724c416)
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=33ec82590b0b919215a255fb431d661be4807b45
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.v4
git checkout 33ec82590b0b919215a255fb431d661be4807b45
# 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_release
>>> referenced by af_tlsh.c
>>> tls/af_tlsh.o:(tlsh_release) in archive net/built-in.a
>>> referenced by af_tlsh.c
>>> tls/af_tlsh.o:(tlsh_release) in archive net/built-in.a
>>> did you mean: inet_release
>>> defined in: net/built-in.a(ipv4/af_inet.o)
--
>> 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

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