[linux-next:master 2248/3958] ld.lld: error: undefined symbol: i2c_get_adapter

0 views
Skip to first unread message

kernel test robot

unread,
Aug 29, 2020, 8:46:26 PM8/29/20
to kbuil...@lists.01.org, clang-bu...@googlegroups.com
TO: "Jorge Ramirez-Ortiz" <jo...@foundries.io>
CC: Jens Wiklander <jens.wi...@linaro.org>

tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: b36c969764ab12faebb74711c942fa3e6eaf1e96
commit: c05210ab975771e161427eb47696b869d820bdaf [2248/3958] drivers: optee: allow op-tee to access devices on the i2c bus
config: arm-randconfig-r002-20200830 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c10e63677f5d20f18010f8f68c631ddc97546f7d)
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
git checkout c05210ab975771e161427eb47696b869d820bdaf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <l...@intel.com>

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: i2c_get_adapter
>>> referenced by rpc.c:88 (drivers/tee/optee/rpc.c:88)
>>> tee/optee/rpc.o:(optee_handle_rpc) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: i2c_transfer_buffer_flags
>>> referenced by rpc.c:105 (drivers/tee/optee/rpc.c:105)
>>> tee/optee/rpc.o:(optee_handle_rpc) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: i2c_put_adapter
>>> referenced by rpc.c:115 (drivers/tee/optee/rpc.c:115)
>>> tee/optee/rpc.o:(optee_handle_rpc) in archive drivers/built-in.a
>>> referenced by rpc.c:129 (drivers/tee/optee/rpc.c:129)
>>> tee/optee/rpc.o:(optee_handle_rpc) in archive drivers/built-in.a

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuil...@lists.01.org
.config.gz

Nick Desaulniers

unread,
Aug 31, 2020, 1:16:44 PM8/31/20
to jo...@foundries.io, kbuil...@lists.01.org, clang-built-linux, kernel test robot, jens.wi...@linaro.org
+ Jorge, Jens
> --
> You received this message because you are subscribed to the Google Groups "Clang Built Linux" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-li...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/202008300852.g7xJG2Lq%25lkp%40intel.com.



--
Thanks,
~Nick Desaulniers
Reply all
Reply to author
Forward
0 new messages