* [sailus-media-tree:master 1/5] max96712.c:undefined reference to `v4l2_async_unregister_subdev'
@ 2021-10-27 10:03 ` kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2021-10-27 10:03 UTC (permalink / raw)
To: Niklas Söderlund; +Cc: kbuild-all, linux-kernel, Sakari Ailus
[-- Attachment #1: Type: text/plain, Size: 3396 bytes --]
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@intel.com>
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@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 23802 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [sailus-media-tree:master 1/5] max96712.c:undefined reference to `v4l2_async_unregister_subdev'
@ 2021-10-27 10:03 ` kernel test robot
0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2021-10-27 10:03 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3450 bytes --]
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@intel.com>
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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 23802 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sailus-media-tree:master 1/5] max96712.c:undefined reference to `v4l2_async_unregister_subdev'
2021-10-27 10:03 ` kernel test robot
@ 2021-10-27 11:36 ` Niklas Söderlund
-1 siblings, 0 replies; 6+ messages in thread
From: Niklas Söderlund @ 2021-10-27 11:36 UTC (permalink / raw)
To: kernel test robot; +Cc: kbuild-all, linux-kernel, Sakari Ailus
Hi Sakari,
What would be the best fix for this do you think adding 'depends on
VIDEO_DEV' to VIDEO_MAX96712 is the right path? I tested it and it
solves this problem but not sure if it's the correct solution.
On 2021-10-27 18:03:25 +0800, kernel test robot wrote:
> 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@intel.com>
>
> 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@lists.01.org
--
Regards,
Niklas Söderlund
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sailus-media-tree:master 1/5] max96712.c:undefined reference to `v4l2_async_unregister_subdev'
@ 2021-10-27 11:36 ` Niklas Söderlund
0 siblings, 0 replies; 6+ messages in thread
From: Niklas Söderlund @ 2021-10-27 11:36 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3867 bytes --]
Hi Sakari,
What would be the best fix for this do you think adding 'depends on
VIDEO_DEV' to VIDEO_MAX96712 is the right path? I tested it and it
solves this problem but not sure if it's the correct solution.
On 2021-10-27 18:03:25 +0800, kernel test robot wrote:
> 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@intel.com>
>
> 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(a)lists.01.org
--
Regards,
Niklas Söderlund
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sailus-media-tree:master 1/5] max96712.c:undefined reference to `v4l2_async_unregister_subdev'
2021-10-27 11:36 ` Niklas Söderlund
@ 2021-10-29 9:37 ` Sakari Ailus
-1 siblings, 0 replies; 6+ messages in thread
From: Sakari Ailus @ 2021-10-29 9:37 UTC (permalink / raw)
To: Niklas Söderlund; +Cc: kernel test robot, kbuild-all, linux-kernel
Hejssan,
On Wed, Oct 27, 2021 at 01:36:24PM +0200, Niklas Söderlund wrote:
> Hi Sakari,
>
> What would be the best fix for this do you think adding 'depends on
> VIDEO_DEV' to VIDEO_MAX96712 is the right path? I tested it and it
> solves this problem but not sure if it's the correct solution.
I think you need VIDEO_V4L2. That includes controls, for instance.
--
Sakari Ailus
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sailus-media-tree:master 1/5] max96712.c:undefined reference to `v4l2_async_unregister_subdev'
@ 2021-10-29 9:37 ` Sakari Ailus
0 siblings, 0 replies; 6+ messages in thread
From: Sakari Ailus @ 2021-10-29 9:37 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
Hejssan,
On Wed, Oct 27, 2021 at 01:36:24PM +0200, Niklas Söderlund wrote:
> Hi Sakari,
>
> What would be the best fix for this do you think adding 'depends on
> VIDEO_DEV' to VIDEO_MAX96712 is the right path? I tested it and it
> solves this problem but not sure if it's the correct solution.
I think you need VIDEO_V4L2. That includes controls, for instance.
--
Sakari Ailus
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-10-29 9:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27 10:03 [sailus-media-tree:master 1/5] max96712.c:undefined reference to `v4l2_async_unregister_subdev' kernel test robot
2021-10-27 10:03 ` kernel test robot
2021-10-27 11:36 ` Niklas Söderlund
2021-10-27 11:36 ` Niklas Söderlund
2021-10-29 9:37 ` Sakari Ailus
2021-10-29 9:37 ` Sakari Ailus
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.