ice_main.c:undefined reference to `ice_ptp_release'

From: kernel test robot
Date: Sat Jul 31 2021 - 21:26:39 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c7d102232649226a69dddd58a4942cf13cff4f7c
commit: 06c16d89d2cbe284c2792caa7648c052c1b91042 ice: register 1588 PTP clock device object for E810 devices
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=06c16d89d2cbe284c2792caa7648c052c1b91042
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 06c16d89d2cbe284c2792caa7648c052c1b91042
# 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'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip