[lkml]   [2022]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectld.lld: error: undefined symbol: ptp_clock_register
Hi Divya,

FYI, the error/warning still remains.

tree: master
head: 88e6c0207623874922712e162e25d9dafd39661e
commit: ece19502834d84ece2e056db28257ca2aa6e4d48 net: phy: micrel: 1588 support for LAN8814 phy
date: 4 weeks ago
config: riscv-randconfig-r006-20220402 (
compiler: clang version 15.0.0 ( c4a1b07d0979e7ff20d7d541af666d822d66b566)
reproduce (this is a W=1 build):
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
git remote add linus
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 <>

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

 \ /
  Last update: 2022-04-03 01:22    [W:0.032 / U:25.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site