dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* exynos drm build failure due to cec_* symbols
@ 2017-06-02 13:58 ` Andreas Färber
  2017-06-05  1:33   ` Inki Dae
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Färber @ 2017-06-02 13:58 UTC (permalink / raw)
  To: linux-samsung-soc, dri-devel; +Cc: linux-arm-kernel

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?

Configs for reproducing are available here:

v4.12-rc3:
http://kernel.opensuse.org/cgit/kernel-source/tree/config/armv7hl/default
http://kernel.opensuse.org/cgit/kernel-source/tree/config/armv7hl/lpae

linux.git:
http://kernel.opensuse.org/cgit/kernel-source/tree/config/armv7hl/vanilla?h=vanilla

linux-next.git:
http://kernel.opensuse.org/cgit/kernel-source/tree/config/armv7hl/vanilla?h=linux-next

Thanks,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: exynos drm build failure due to cec_* symbols
  2017-06-02 13:58 ` exynos drm build failure due to cec_* symbols Andreas Färber
@ 2017-06-05  1:33   ` Inki Dae
  2017-06-05  8:59     ` Russell King - ARM Linux
  0 siblings, 1 reply; 4+ messages in thread
From: Inki Dae @ 2017-06-05  1:33 UTC (permalink / raw)
  To: Andreas Färber, linux-samsung-soc, dri-devel; +Cc: linux-arm-kernel



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.

Thanks,
Inki Dae

> 
> Configs for reproducing are available here:
> 
> v4.12-rc3:
> http://kernel.opensuse.org/cgit/kernel-source/tree/config/armv7hl/default
> http://kernel.opensuse.org/cgit/kernel-source/tree/config/armv7hl/lpae
> 
> linux.git:
> http://kernel.opensuse.org/cgit/kernel-source/tree/config/armv7hl/vanilla?h=vanilla
> 
> linux-next.git:
> http://kernel.opensuse.org/cgit/kernel-source/tree/config/armv7hl/vanilla?h=linux-next
> 
> Thanks,
> Andreas
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: exynos drm build failure due to cec_* symbols
  2017-06-05  1:33   ` Inki Dae
@ 2017-06-05  8:59     ` Russell King - ARM Linux
  2017-06-06  7:17       ` Hans Verkuil
  0 siblings, 1 reply; 4+ messages in thread
From: Russell King - ARM Linux @ 2017-06-05  8:59 UTC (permalink / raw)
  To: Inki Dae
  Cc: Andreas Färber, linux-samsung-soc, dri-devel, linux-arm-kernel

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: exynos drm build failure due to cec_* symbols
  2017-06-05  8:59     ` Russell King - ARM Linux
@ 2017-06-06  7:17       ` Hans Verkuil
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Verkuil @ 2017-06-06  7:17 UTC (permalink / raw)
  To: Russell King - ARM Linux, Inki Dae
  Cc: linux-arm-kernel, linux-samsung-soc, Andreas Färber, dri-devel

On 05/06/17 10:59, Russell King - ARM Linux wrote:
> 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.

They got merged in the media fixes tree, so with luck will appear in 4.12 soon.

Regards,

	Hans

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-06  7:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20170602135819epcas1p2302294dec8c40b69a19e0b220806eacb@epcas1p2.samsung.com>
2017-06-02 13:58 ` exynos drm build failure due to cec_* symbols Andreas Färber
2017-06-05  1:33   ` Inki Dae
2017-06-05  8:59     ` Russell King - ARM Linux
2017-06-06  7:17       ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).