tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 10207e3a840b47b5eae573486a88fb6e29884f77
commit: d096459494a88791312c6f4da4641eb887188e70 [2746/4656] net: lan966x: Add support for
ptp clocks
config: arm64-buildonly-randconfig-r005-20220209
(
https://download.01.org/0day-ci/archive/20220210/202202100619.F4k1tPKf-lk...)
compiler: clang version 15.0.0 (
https://github.com/llvm/llvm-project
e8bff9ae54a55b4dbfeb6ba55f723abbd81bf494)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout d096459494a88791312c6f4da4641eb887188e70
# 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=arm64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> ld.lld: error: undefined symbol: ptp_clock_register
>> referenced by lan966x_ptp.c
>> net/ethernet/microchip/lan966x/lan966x_ptp.o:(lan966x_ptp_init) in archive
drivers/built-in.a
--
> ld.lld: error: undefined symbol: ptp_clock_unregister
>> referenced by lan966x_ptp.c
>> net/ethernet/microchip/lan966x/lan966x_ptp.o:(lan966x_ptp_deinit) 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