From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@armlinux.org.uk (Russell King - ARM Linux) Date: Mon, 5 Jun 2017 09:59:07 +0100 Subject: exynos drm build failure due to cec_* symbols In-Reply-To: <5934B4FE.6060606@samsung.com> References: <2d6226cf-4023-2a97-0791-42d3e8dcbdd3@suse.de> <5934B4FE.6060606@samsung.com> Message-ID: <20170605085907.GD4902@n2100.armlinux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Jun 05, 2017 at 10:33:50AM +0900, Inki Dae wrote: > 2017? 06? 02? 22:58? Andreas F?rber ?(?) ? ?: > > Hello, > > > > We're observing the following build failure with v4.12-rc3, latest > > linux.git and linux-next.git: > > > > [ 9825s] LD vmlinux.o > > [ 9904s] MODPOST vmlinux.o > > [ 9915s] drivers/built-in.o: In function `hdmi_get_modes': > > [ 9915s] > > /home/abuild/rpmbuild/BUILD/kernel-vanilla-4.12.rc3.51.ga374846/linux-4.12-rc3-51-ga374846/linux-obj/../drivers/gpu/drm/exynos/exynos_hdmi.c:866: > > undefined reference to `cec_notifier_set_phys_addr_from_edid' > > [ 9915s] drivers/built-in.o: In function `hdmi_remove': > > [ 9915s] > > /home/abuild/rpmbuild/BUILD/kernel-vanilla-4.12.rc3.51.ga374846/linux-4.12-rc3-51-ga374846/linux-obj/../drivers/gpu/drm/exynos/exynos_hdmi.c:1923: > > undefined reference to `cec_notifier_set_phys_addr' > > [ 9915s] > > /home/abuild/rpmbuild/BUILD/kernel-vanilla-4.12.rc3.51.ga374846/linux-4.12-rc3-51-ga374846/linux-obj/../drivers/gpu/drm/exynos/exynos_hdmi.c:1927: > > undefined reference to `cec_notifier_put' > > [ 9915s] drivers/built-in.o: In function `hdmi_probe': > > [ 9915s] > > /home/abuild/rpmbuild/BUILD/kernel-vanilla-4.12.rc3.51.ga374846/linux-4.12-rc3-51-ga374846/linux-obj/../drivers/gpu/drm/exynos/exynos_hdmi.c:1889: > > undefined reference to `cec_notifier_get' > > [ 9915s] > > /home/abuild/rpmbuild/BUILD/kernel-vanilla-4.12.rc3.51.ga374846/linux-4.12-rc3-51-ga374846/linux-obj/../drivers/gpu/drm/exynos/exynos_hdmi.c:1904: > > undefined reference to `cec_notifier_put' > > [ 9915s] drivers/built-in.o: In function `hdmi_disable': > > [ 9915s] > > /home/abuild/rpmbuild/BUILD/kernel-vanilla-4.12.rc3.51.ga374846/linux-4.12-rc3-51-ga374846/linux-obj/../drivers/gpu/drm/exynos/exynos_hdmi.c:1509: > > undefined reference to `cec_notifier_set_phys_addr' > > [ 9915s] drivers/built-in.o: In function `hdmi_detect': > > [ 9915s] > > /home/abuild/rpmbuild/BUILD/kernel-vanilla-4.12.rc3.51.ga374846/linux-4.12-rc3-51-ga374846/linux-obj/../drivers/gpu/drm/exynos/exynos_hdmi.c:827: > > undefined reference to `cec_notifier_set_phys_addr' > > [ 9931s] make[2]: *** > > [/home/abuild/rpmbuild/BUILD/kernel-vanilla-4.12.rc3.51.ga374846/linux-4.12-rc3-51-ga374846/Makefile:997: > > vmlinux] Error 1 > > [ 9931s] make[1]: *** [Makefile:152: sub-make] Error 2 > > [ 9931s] make: *** [Makefile:24: __sub-make] Error 2 > > > > My guess is the symbols used by the exynos drm module are not exported: > > > > cec_notifier_set_phys_addr_from_edid > > cec_notifier_set_phys_addr > > cec_notifier_put > > cec_notifier_get > > > > Can you please look into fixing this? > > Thanks for reporting. > > Will check and fix it. Please look at Hans' update to the way CEC's dependencies are handled. https://git.linuxtv.org/hverkuil/media_tree.git/log/?h=drm-cec These are apparently scheduled for -rc, but Mauro is busy. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.