[jkirsher-next-queue:master 1/5] ld.lld: error: undefined symbol: qcom_smem_get

From: kernel test robot
Date: Thu Jun 16 2022 - 16:57:17 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git master
head: 5dcb50c009c9f8ec1cfca6a81a05c0060a5bbf68
commit: 9ec092d2feb69045dd289845024301fb91c064ee [1/5] net: ethernet: stmmac: add missing sgmii configure for ipq806x
config: riscv-randconfig-r042-20220616 (https://download.01.org/0day-ci/archive/20220617/202206170405.fqVbBgOE-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f0e608de27b3d568000046eebf3712ab542979d6)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git/commit/?id=9ec092d2feb69045dd289845024301fb91c064ee
git remote add jkirsher-next-queue https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git
git fetch --no-tags jkirsher-next-queue master
git checkout 9ec092d2feb69045dd289845024301fb91c064ee
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: qcom_smem_get
>>> referenced by socinfo.c
>>> soc/qcom/socinfo.o:(qcom_socinfo_probe) in archive drivers/built-in.a
>>> referenced by socinfo.c
>>> soc/qcom/socinfo.o:(qcom_socinfo_probe) in archive drivers/built-in.a

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for QCOM_SOCINFO
Depends on QCOM_SMEM
Selected by
- DWMAC_IPQ806X && NETDEVICES && ETHERNET && NET_VENDOR_STMICRO && STMMAC_ETH && STMMAC_PLATFORM && OF && (ARCH_QCOM || COMPILE_TEST

--
0-DAY CI Kernel Test Service
https://01.org/lkp