ice_ethtool.c:undefined reference to `ice_get_ptp_clock_index'
From: kernel test robot
Date: Sun Aug 01 2021 - 04:16:15 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c7d102232649226a69dddd58a4942cf13cff4f7c
commit: 67569a7f940130fcfe9041e07a614a5263a9944d ice: report the PTP clock index in ethtool .get_ts_info
date: 7 weeks ago
config: arc-randconfig-r022-20210731 (attached as .config)
compiler: arc-elf-gcc (GCC) 10.3.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=67569a7f940130fcfe9041e07a614a5263a9944d
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 67569a7f940130fcfe9041e07a614a5263a9944d
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
arc-elf-ld: lib/stackdepot.o: in function `filter_irq_stacks':
stackdepot.c:(.text+0x6): undefined reference to `__irqentry_text_start'
arc-elf-ld: stackdepot.c:(.text+0x6): undefined reference to `__irqentry_text_start'
arc-elf-ld: stackdepot.c:(.text+0x26): undefined reference to `__irqentry_text_end'
arc-elf-ld: stackdepot.c:(.text+0x26): undefined reference to `__irqentry_text_end'
arc-elf-ld: stackdepot.c:(.text+0x2e): undefined reference to `__softirqentry_text_start'
arc-elf-ld: stackdepot.c:(.text+0x2e): undefined reference to `__softirqentry_text_start'
arc-elf-ld: stackdepot.c:(.text+0x36): undefined reference to `__softirqentry_text_end'
arc-elf-ld: stackdepot.c:(.text+0x36): undefined reference to `__softirqentry_text_end'
arc-elf-ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_prepare_for_reset':
ice_main.c:(.text+0x1a9e): undefined reference to `ice_ptp_release'
arc-elf-ld: ice_main.c:(.text+0x1a9e): undefined reference to `ice_ptp_release'
arc-elf-ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_remove':
ice_main.c:(.text+0x2dfc): undefined reference to `ice_ptp_release'
arc-elf-ld: ice_main.c:(.text+0x2dfc): undefined reference to `ice_ptp_release'
arc-elf-ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_rebuild':
ice_main.c:(.text+0x348a): undefined reference to `ice_ptp_init'
arc-elf-ld: ice_main.c:(.text+0x348a): undefined reference to `ice_ptp_init'
arc-elf-ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_probe':
ice_main.c:(.text+0x8cfa): undefined reference to `ice_ptp_init'
arc-elf-ld: ice_main.c:(.text+0x8cfa): undefined reference to `ice_ptp_init'
arc-elf-ld: drivers/net/ethernet/intel/ice/ice_ethtool.o: in function `ice_get_ts_info':
>> ice_ethtool.c:(.text+0x1d3a): undefined reference to `ice_get_ptp_clock_index'
>> arc-elf-ld: ice_ethtool.c:(.text+0x1d3a): undefined reference to `ice_get_ptp_clock_index'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip