or1k-linux-ld: drivers/gpu/drm/bridge/sil-sii8620.c:2191: undefined reference to `extcon_register_notifier'

From: kernel test robot
Date: Mon Oct 05 2020 - 20:02:27 EST


Hi Masahiro,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 549738f15da0e5a00275977623be199fbbf7df50
commit: def2fbffe62c00c330c7f41584a356001179c59c kconfig: allow symbols implied by y to become m
date: 7 months ago
config: openrisc-randconfig-r001-20201005 (attached as .config)
compiler: or1k-linux-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=openrisc

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

or1k-linux-ld: drivers/gpu/drm/bridge/sil-sii8620.o: in function `sii8620_remove':
drivers/gpu/drm/bridge/sil-sii8620.c:2355: undefined reference to `extcon_unregister_notifier'
drivers/gpu/drm/bridge/sil-sii8620.c:2355:(.text+0x3d4): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `extcon_unregister_notifier'
or1k-linux-ld: drivers/gpu/drm/bridge/sil-sii8620.o: in function `sii8620_extcon_init':
drivers/gpu/drm/bridge/sil-sii8620.c:2179: undefined reference to `extcon_find_edev_by_node'
drivers/gpu/drm/bridge/sil-sii8620.c:2179:(.text+0x3350): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `extcon_find_edev_by_node'
>> or1k-linux-ld: drivers/gpu/drm/bridge/sil-sii8620.c:2191: undefined reference to `extcon_register_notifier'
drivers/gpu/drm/bridge/sil-sii8620.c:2191:(.text+0x33fc): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `extcon_register_notifier'
or1k-linux-ld: drivers/gpu/drm/bridge/sil-sii8620.o: in function `sii8620_extcon_work':
drivers/gpu/drm/bridge/sil-sii8620.c:2139: undefined reference to `extcon_get_state'
drivers/gpu/drm/bridge/sil-sii8620.c:2139:(.text+0x3444): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `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