tree:
git://git.infradead.org/users/jjs/linux-tpmdd.git next
head: fa05dc792ea02043f3c21467cb4485a38ac19bdf
commit: fa05dc792ea02043f3c21467cb4485a38ac19bdf [3/3] tpm: tpm_tis: Make implementation
of read16, read32 and write32 optional
config: arm-randconfig-r016-20200514 (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
a52f10b5a382c040e7ad1ce933cda6c07a4b3a8d)
reproduce:
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 fa05dc792ea02043f3c21467cb4485a38ac19bdf
# 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: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
ld.lld: warning: lld uses blx instruction, no object with architecture supporting feature
detected
ld.lld: warning: lld uses blx instruction, no object with architecture supporting feature
detected
> ld.lld: error: undefined symbol: tpm_tis_spi_read16
>> referenced by tpm_tis_spi_cr50.c
>> char/tpm/tpm_tis_spi_cr50.o:(tpm_spi_cr50_phy_ops) in archive drivers/built-in.a
--
> ld.lld: error: undefined symbol: tpm_tis_spi_read32
>> referenced by tpm_tis_spi_cr50.c
>> char/tpm/tpm_tis_spi_cr50.o:(tpm_spi_cr50_phy_ops) in archive drivers/built-in.a
--
> ld.lld: error: undefined symbol: tpm_tis_spi_write32
>> referenced by tpm_tis_spi_cr50.c
>> char/tpm/tpm_tis_spi_cr50.o:(tpm_spi_cr50_phy_ops) in archive drivers/built-in.a
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org