[opensuse-arm] kernel-exynos 3.15-rc5 build failure
Hi, kernel-exynos is failing as follows: [22654s] drivers/built-in.o: In function `exynos_drm_attach_lcd_bridge': [22654s] /home/abuild/rpmbuild/BUILD/kernel-exynos-3.15.rc5/linux-3.15-rc5/drivers/gpu/drm/exynos/exynos_dp_core.c:1004: undefined reference to `ptn3460_init' [22669s] /home/abuild/rpmbuild/BUILD/kernel-exynos-3.15.rc5/linux-3.15-rc5/Makefile:882: recipe for target 'vmlinux' failed [22669s] make[2]: *** [vmlinux] Error 1 [22669s] Makefile:148: recipe for target 'sub-make' failed [22669s] make[1]: *** [sub-make] Error 2 [22669s] Makefile:26: recipe for target 'all' failed [22669s] make: *** [all] Error 2 https://build.opensuse.org/package/live_build_log/Kernel:HEAD/kernel-exynos/... Anyone any insights how to resolve? Regards, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 18.05.14 19:53, Andreas Färber wrote:
Hi,
kernel-exynos is failing as follows:
[22654s] drivers/built-in.o: In function `exynos_drm_attach_lcd_bridge': [22654s] /home/abuild/rpmbuild/BUILD/kernel-exynos-3.15.rc5/linux-3.15-rc5/drivers/gpu/drm/exynos/exynos_dp_core.c:1004: undefined reference to `ptn3460_init' [22669s] /home/abuild/rpmbuild/BUILD/kernel-exynos-3.15.rc5/linux-3.15-rc5/Makefile:882: recipe for target 'vmlinux' failed [22669s] make[2]: *** [vmlinux] Error 1 [22669s] Makefile:148: recipe for target 'sub-make' failed [22669s] make[1]: *** [sub-make] Error 2 [22669s] Makefile:26: recipe for target 'all' failed [22669s] make: *** [all] Error 2
https://build.opensuse.org/package/live_build_log/Kernel:HEAD/kernel-exynos/...
Anyone any insights how to resolve?
I guess the best way is to write an email to the maintainer + list of that drm module so they can fix it upstream :). Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi Andreas, Alex, Le Monday 19 May 2014 à 12:00 +0200, Alexander Graf a écrit :
On 18.05.14 19:53, Andreas Färber wrote:
Hi,
kernel-exynos is failing as follows:
[22654s] drivers/built-in.o: In function `exynos_drm_attach_lcd_bridge': [22654s] /home/abuild/rpmbuild/BUILD/kernel-exynos-3.15.rc5/linux-3.15-rc5/drivers/gpu/drm/exynos/exynos_dp_core.c:1004: undefined reference to `ptn3460_init' [22669s] /home/abuild/rpmbuild/BUILD/kernel-exynos-3.15.rc5/linux-3.15-rc5/Makefile:882: recipe for target 'vmlinux' failed [22669s] make[2]: *** [vmlinux] Error 1 [22669s] Makefile:148: recipe for target 'sub-make' failed [22669s] make[1]: *** [sub-make] Error 2 [22669s] Makefile:26: recipe for target 'all' failed [22669s] make: *** [all] Error 2
https://build.opensuse.org/package/live_build_log/Kernel:HEAD/kernel-exynos/...
Anyone any insights how to resolve?
I guess the best way is to write an email to the maintainer + list of that drm module so they can fix it upstream :).
This one is fairly simple actually. You can't build exynos_dp_core into the kernel (CONFIG_DRM_EXYNOS_DP=y) while ptn3460 is built as a module (CONFIG_DRM_PTN3460=m) because the former depends on the latter. The most immediate fix is to change CONFIG_DRM_PTN3460 to y. I'll do that. The proper fix would be to add the proper dependency between these two drivers, with either a "depends on" or a "select". I'll see what it more appropriate. -- Jean Delvare SUSE L3 Support -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le Monday 19 May 2014 à 14:25 +0200, Jean Delvare a écrit :
This one is fairly simple actually. You can't build exynos_dp_core into the kernel (CONFIG_DRM_EXYNOS_DP=y) while ptn3460 is built as a module (CONFIG_DRM_PTN3460=m) because the former depends on the latter.
The most immediate fix is to change CONFIG_DRM_PTN3460 to y. I'll do that.
Done. BTW, this makes me wonder why we have CONFIG_DRM_PTN3460=m in all other kernel flavors. As far as I can see this chip is only used by Exynos at the moment so we can safely disable it everywhere else.
The proper fix would be to add the proper dependency between these two drivers, with either a "depends on" or a "select". I'll see what it more appropriate.
I'll go with "depends on" because it's easier. The whole design is horrible anyway, the right thing to do would be to rewrite the driver interface completely... -- Jean Delvare SUSE L3 Support -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 19.05.14 14:59, Jean Delvare wrote:
Le Monday 19 May 2014 à 14:25 +0200, Jean Delvare a écrit :
This one is fairly simple actually. You can't build exynos_dp_core into the kernel (CONFIG_DRM_EXYNOS_DP=y) while ptn3460 is built as a module (CONFIG_DRM_PTN3460=m) because the former depends on the latter.
The most immediate fix is to change CONFIG_DRM_PTN3460 to y. I'll do that. Done.
BTW, this makes me wonder why we have CONFIG_DRM_PTN3460=m in all other kernel flavors. As far as I can see this chip is only used by Exynos at the moment so we can safely disable it everywhere else.
The idea of the exynos flavor was to be a mere temporary solution until exynos becomes multiarch aware. In an ideal world, the exynos flavor really should just be default + CONFIG_EXYNOS, so that merging doesn't become too hard.
The proper fix would be to add the proper dependency between these two drivers, with either a "depends on" or a "select". I'll see what it more appropriate. I'll go with "depends on" because it's easier. The whole design is horrible anyway, the right thing to do would be to rewrite the driver interface completely...
Heh :). Please send the patch upstream once you have it ;) Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le Monday 19 May 2014 à 15:06 +0200, Alexander Graf a écrit :
On 19.05.14 14:59, Jean Delvare wrote:
BTW, this makes me wonder why we have CONFIG_DRM_PTN3460=m in all other kernel flavors. As far as I can see this chip is only used by Exynos at the moment so we can safely disable it everywhere else.
The idea of the exynos flavor was to be a mere temporary solution until exynos becomes multiarch aware. In an ideal world, the exynos flavor really should just be default + CONFIG_EXYNOS, so that merging doesn't become too hard.
I understand, but that hardly justifies that CONFIG_DRM_PTN3460 is enabled on ppc and x86 ;-) I can leave it enabled in armv7hl/default if it makes your life easier, no problem.
(...) Heh :). Please send the patch upstream once you have it ;)
Of course. I'm not particularly proud of that one though :-/ -- Jean Delvare SUSE L3 Support -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (3)
-
Alexander Graf
-
Andreas Färber
-
Jean Delvare