powernv build issue

Sam Ravnborg sam at ravnborg.org
Wed Dec 18 09:26:57 UTC 2019


Hi David.

On Mon, Dec 16, 2019 at 07:03:17PM +0100, David Hildenbrand wrote:
> Hi,
> 
> the patch "drm/drm_panel: fix EXPORT of drm_panel_of_backlight" in
> linux-next breaks the powernv build:
> 
> desktop: ~/git/linux-ppc memtrace $ ./compile.sh
>   CALL    scripts/atomic/check-atomics.sh
>   CALL    scripts/checksyscalls.sh
>   CHK     include/generated/compile.h
>   GEN     .version
>   CHK     include/generated/compile.h
>   UPD     include/generated/compile.h
>   CC      init/version.o
>   AR      init/built-in.a
>   LD      vmlinux.o
>   MODPOST vmlinux.o
> WARNING: vmlinux.o(.text+0x2fc8): Section mismatch in reference from the
> variable start_here_common to the function .init.text:start_kernel()
> The function start_here_common() references
> the function __init start_kernel().
> This is often because start_here_common lacks a __init
> annotation or the annotation of start_kernel is wrong.
> 
>   MODINFO modules.builtin.modinfo
>   LD      .tmp_vmlinux1
> ppc64-linux-gnu-ld: drivers/gpu/drm/drm_panel.o: in function
> `drm_panel_of_backlight':
> (.text+0x434): undefined reference to `devm_of_find_backlight'
> make: *** [Makefile:1079: vmlinux] Fehler 1
> 
> Reverting it makes it compile again. (not exploring the root issue, I
> just need a powernv built and reverting that commit did the trick )
Thanks for the report.

Andy already provided a fix that is now applied to drm-misc-next - and
should show up in -next within a day.
Sorry for the troubles!

	Sam


More information about the dri-devel mailing list