[sailus-media-tree:master 1/5] max96712.c:undefined reference to `v4l2_async_unregister_subdev'
From: kernel test robot
Date: Wed Oct 27 2021 - 06:03:45 EST
tree: git://linuxtv.org/sailus/media_tree.git master
head: dad71f55b69025a58cc54db95ed1a9e8cedbb08e
commit: d7fb3f13fef118db0598eab49b915f23f943511e [1/5] media: staging: max96712: Add basic support for MAX96712 GMSL2 deserializer
config: m68k-randconfig-r005-20211027 (attached as .config)
compiler: m68k-linux-gcc (GCC) 11.2.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
git remote add sailus-media-tree git://linuxtv.org/sailus/media_tree.git
git fetch --no-tags sailus-media-tree master
git checkout d7fb3f13fef118db0598eab49b915f23f943511e
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k 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 >>):
m68k-linux-ld: section .rodata VMA [0000000000001000,00000000005b1f17] overlaps section .text VMA [0000000000000400,0000000000653bbf]
m68k-linux-ld: arch/m68k/kernel/time.o: in function `rtc_ioctl':
time.c:(.text+0xe4): undefined reference to `mach_set_rtc_pll'
m68k-linux-ld: time.c:(.text+0xa2): undefined reference to `mach_get_rtc_pll'
m68k-linux-ld: time.c:(.text+0x120): undefined reference to `mach_set_rtc_pll'
m68k-linux-ld: arch/m68k/kernel/machine_kexec.o: in function `machine_kexec':
machine_kexec.c:(.text+0x136): undefined reference to `m68k_mmutype'
m68k-linux-ld: machine_kexec.c:(.text+0x13e): undefined reference to `m68k_cputype'
m68k-linux-ld: arch/m68k/kernel/relocate_kernel.o:(.m68k_fixup+0x0): undefined reference to `M68K_FIXUP_MEMOFFSET'
m68k-linux-ld: arch/m68k/kernel/relocate_kernel.o:(.m68k_fixup+0x8): undefined reference to `M68K_FIXUP_MEMOFFSET'
m68k-linux-ld: arch/m68k/kernel/uboot.o: in function `process_uboot_commandline':
uboot.c:(.init.text+0x32): undefined reference to `_init_sp'
m68k-linux-ld: drivers/staging/media/max96712/max96712.o: in function `max96712_remove':
>> max96712.c:(.text+0x54): undefined reference to `v4l2_async_unregister_subdev'
m68k-linux-ld: drivers/staging/media/max96712/max96712.o: in function `max96712_probe':
>> max96712.c:(.text+0x1c2): undefined reference to `v4l2_fwnode_endpoint_parse'
>> m68k-linux-ld: max96712.c:(.text+0x332): undefined reference to `v4l2_ctrl_handler_init_class'
>> m68k-linux-ld: max96712.c:(.text+0x38c): undefined reference to `v4l2_ctrl_new_std'
>> m68k-linux-ld: max96712.c:(.text+0x3b4): undefined reference to `v4l2_ctrl_new_std_menu_items'
>> m68k-linux-ld: max96712.c:(.text+0x3ca): undefined reference to `v4l2_ctrl_handler_free'
>> m68k-linux-ld: max96712.c:(.text+0x406): undefined reference to `v4l2_async_register_subdev'
m68k-linux-ld: max96712.c:(.text+0x416): undefined reference to `v4l2_ctrl_handler_free'
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for VIDEO_V4L2_SUBDEV_API
Depends on MEDIA_SUPPORT && VIDEO_DEV && MEDIA_CONTROLLER
Selected by
- VIDEO_MAX96712 && STAGING && STAGING_MEDIA && MEDIA_SUPPORT && I2C && OF_GPIO
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip