[hare-scsi-devel:tls-upcall.v2 54/67] tcp.c:undefined reference to `tls_client_hello_user'

From: kernel test robot
Date: Wed Feb 23 2022 - 22:00:17 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git tls-upcall.v2
head: ac729ea3c52bda460616c71d5f5fc47b2e64da6d
commit: 4c6b8023e6fd977739a1df4a3309c661a21bb65e [54/67] nvme-tcp: derive keys and start TLS if requested
config: openrisc-buildonly-randconfig-r005-20220223 (https://download.01.org/0day-ci/archive/20220224/202202241024.EIelxH6D-lkp@xxxxxxxxx/config)
compiler: or1k-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=4c6b8023e6fd977739a1df4a3309c661a21bb65e
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 4c6b8023e6fd977739a1df4a3309c661a21bb65e
# 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=openrisc 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 >>):

or1k-linux-ld: drivers/nvme/host/core.o: in function `nvme_core_init':
core.c:(.init.text+0x1d8): undefined reference to `nvme_keyring_init'
core.c:(.init.text+0x1d8): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `nvme_keyring_init'
or1k-linux-ld: drivers/nvme/host/tcp.o: in function `nvme_tcp_start_tls':
>> tcp.c:(.text+0xd50): undefined reference to `tls_client_hello_user'
tcp.c:(.text+0xd50): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `tls_client_hello_user'
or1k-linux-ld: drivers/nvme/host/tcp.o: in function `nvme_tcp_lookup_psk.constprop.0':
tcp.c:(.text+0x2ed4): undefined reference to `nvme_keyring_lookup_dhchap'
tcp.c:(.text+0x2ed4): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `nvme_keyring_lookup_dhchap'
>> or1k-linux-ld: tcp.c:(.text+0x2ef8): undefined reference to `nvme_keyring_lookup_tls'
tcp.c:(.text+0x2ef8): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `nvme_keyring_lookup_tls'
or1k-linux-ld: tcp.c:(.text+0x2f24): undefined reference to `nvme_keyring_lookup_psk'
tcp.c:(.text+0x2f24): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `nvme_keyring_lookup_psk'
>> or1k-linux-ld: tcp.c:(.text+0x2f40): undefined reference to `nvme_keyring_insert_tls'
tcp.c:(.text+0x2f40): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `nvme_keyring_insert_tls'
or1k-linux-ld: tcp.c:(.text+0x2f64): undefined reference to `nvme_keyring_lookup_dhchap'
tcp.c:(.text+0x2f64): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `nvme_keyring_lookup_dhchap'
or1k-linux-ld: tcp.c:(.text+0x2f84): undefined reference to `nvme_keyring_insert_tls'
tcp.c:(.text+0x2f84): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `nvme_keyring_insert_tls'
or1k-linux-ld: tcp.c:(.text+0x2fa8): undefined reference to `nvme_keyring_lookup_tls'
tcp.c:(.text+0x2fa8): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `nvme_keyring_lookup_tls'
or1k-linux-ld: tcp.c:(.text+0x2fd0): undefined reference to `nvme_keyring_lookup_psk'
tcp.c:(.text+0x2fd0): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `nvme_keyring_lookup_psk'
or1k-linux-ld: tcp.c:(.text+0x2fec): undefined reference to `nvme_keyring_insert_tls'
tcp.c:(.text+0x2fec): additional relocation overflows omitted from the output
or1k-linux-ld: tcp.c:(.text+0x3044): undefined reference to `nvme_keyring_insert_tls'

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