Messages in this thread |  | | Date | Sun, 3 Apr 2022 07:20:58 +0800 | From | kernel test robot <> | Subject | ld.lld: error: undefined symbol: ptp_clock_register |
| |
Hi Divya,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 88e6c0207623874922712e162e25d9dafd39661e commit: ece19502834d84ece2e056db28257ca2aa6e4d48 net: phy: micrel: 1588 support for LAN8814 phy date: 4 weeks ago config: riscv-randconfig-r006-20220402 (https://download.01.org/0day-ci/archive/20220403/202204030755.3o6LEkHq-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c4a1b07d0979e7ff20d7d541af666d822d66b566) 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/torvalds/linux.git/commit/?id=ece19502834d84ece2e056db28257ca2aa6e4d48 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout ece19502834d84ece2e056db28257ca2aa6e4d48 # 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=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: ptp_clock_register >>> referenced by micrel.c >>> net/phy/micrel.o:(lan8814_probe) in archive drivers/built-in.a -- >> ld.lld: error: undefined symbol: ptp_clock_index >>> referenced by micrel.c >>> net/phy/micrel.o:(lan8814_ts_info) in archive drivers/built-in.a
-- 0-DAY CI Kernel Test Service https://01.org/lkp
|  |