arc-elf-ld: sil-sii8620.c:undefined reference to `extcon_unregister_notifier'

From: kernel test robot
Date: Wed Jan 27 2021 - 02:54:10 EST


Hi Masahiro,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2ab38c17aac10bf55ab3efde4c4db3893d8691d2
commit: def2fbffe62c00c330c7f41584a356001179c59c kconfig: allow symbols implied by y to become m
date: 11 months ago
config: arc-randconfig-r016-20201229 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.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=def2fbffe62c00c330c7f41584a356001179c59c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout def2fbffe62c00c330c7f41584a356001179c59c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc

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: drivers/gpu/drm/bridge/sil-sii8620.o: in function `sii8620_remove':
sil-sii8620.c:(.text+0x88): undefined reference to `extcon_unregister_notifier'
>> arc-elf-ld: sil-sii8620.c:(.text+0x88): undefined reference to `extcon_unregister_notifier'
arc-elf-ld: drivers/gpu/drm/bridge/sil-sii8620.o: in function `sii8620_probe':
>> sil-sii8620.c:(.text+0x1aac): undefined reference to `extcon_find_edev_by_node'
>> arc-elf-ld: sil-sii8620.c:(.text+0x1aac): undefined reference to `extcon_find_edev_by_node'
>> arc-elf-ld: sil-sii8620.c:(.text+0x1b10): undefined reference to `extcon_register_notifier'
>> arc-elf-ld: sil-sii8620.c:(.text+0x1b10): undefined reference to `extcon_register_notifier'
arc-elf-ld: drivers/gpu/drm/bridge/sil-sii8620.o: in function `sii8620_extcon_work':
>> sil-sii8620.c:(.text+0x1b36): undefined reference to `extcon_get_state'
>> arc-elf-ld: sil-sii8620.c:(.text+0x1b36): undefined reference to `extcon_get_state'

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

Attachment: .config.gz
Description: application/gzip