[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203261918.Lch5cHKw-lkp@intel.com>
Date: Sat, 26 Mar 2022 19:24:58 +0800
From: kernel test robot <lkp@...el.com>
To: Wesley Cheng <wcheng@...eaurora.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org,
Bjorn Andersson <bjorn.andersson@...aro.org>
Subject: [andersson:wip/sc8180x-next-20220301 6/27] ld.lld: error: undefined
symbol: typec_switch_register
tree: https://github.com/andersson/kernel wip/sc8180x-next-20220301
head: 0289eb1e5447f549241a40b2a0742a796467ecd8
commit: 2b468636da740585f10846641a44f7f8c1ce89c3 [6/27] phy: qcom-qmp: Register as a typec switch for orientation detection
config: arm-randconfig-r032-20220324 (https://download.01.org/0day-ci/archive/20220326/202203261918.Lch5cHKw-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://github.com/andersson/kernel/commit/2b468636da740585f10846641a44f7f8c1ce89c3
git remote add andersson https://github.com/andersson/kernel
git fetch --no-tags andersson wip/sc8180x-next-20220301
git checkout 2b468636da740585f10846641a44f7f8c1ce89c3
# 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=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: typec_switch_register
>>> referenced by phy-qcom-qmp.c
>>> phy/qualcomm/phy-qcom-qmp.o:(qcom_qmp_phy_typec_switch_register) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: typec_switch_get_drvdata
>>> referenced by phy-qcom-qmp.c
>>> phy/qualcomm/phy-qcom-qmp.o:(qcom_qmp_phy_typec_switch_set) in archive drivers/built-in.a
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists