Re: [drm-drm-misc:drm-misc-next 1/2] undefined reference to `screen_info'

From: Javier Martinez Canillas
Date: Wed Jul 21 2021 - 14:05:26 EST


Hello Thomas,

On 7/21/21 8:01 PM, Thomas Zimmermann wrote:
> Hi
>
> Am 21.07.21 um 14:44 schrieb kernel test robot:
>> tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
>> head: 8633ef82f101c040427b57d4df7b706261420b94
>> commit: d391c58271072d0b0fad93c82018d495b2633448 [1/2] drivers/firmware: move x86 Generic System Framebuffers support
>> config: parisc-randconfig-r025-20210720 (attached as .config)
>> compiler: hppa64-linux-gcc (GCC) 10.3.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 drm-drm-misc git://anongit.freedesktop.org/drm/drm-misc
>> git fetch --no-tags drm-drm-misc drm-misc-next
>> git checkout d391c58271072d0b0fad93c82018d495b2633448
>> # save the attached .config to linux build tree
>> mkdir build_dir
>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=parisc SHELL=/bin/bash
>>
>> If you fix the issue, kindly add following tag as appropriate
>> Reported-by: kernel test robot <lkp@xxxxxxxxx>
>>
>> All errors (new ones prefixed by >>):
>>
>> hppa64-linux-ld: drivers/firmware/sysfb.o: in function `sysfb_init':
>>>> (.init.text+0x8): undefined reference to `screen_info'
>>>> hppa64-linux-ld: (.init.text+0xc): undefined reference to `screen_info'
>
> This could be related to the recent rework of the system-framebuffer
> code. I think the config has to be updated to select SYSFB and
> SYSFB_SIMPLEFB. [1]
>

Yes, it is. I've already answered to another similar report:

https://lkml.org/lkml/2021/7/21/575

I will propose a fix soon.

Best regards,
--
Javier Martinez Canillas
Linux Engineering
Red Hat