All of lore.kernel.org
 help / color / mirror / Atom feed
* [drm-drm-misc:drm-misc-next 1/2] undefined reference to `screen_info'
@ 2021-07-21 12:44 ` kernel test robot
  0 siblings, 0 replies; 8+ messages in thread
From: kernel test robot @ 2021-07-21 12:44 UTC (permalink / raw)
  To: Javier Martinez Canillas; +Cc: kbuild-all, linux-kernel, Thomas Zimmermann

[-- Attachment #1: Type: text/plain, Size: 1364 bytes --]

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@intel.com>

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'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31254 bytes --]

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

* [drm-drm-misc:drm-misc-next 1/2] undefined reference to `screen_info'
@ 2021-07-21 12:44 ` kernel test robot
  0 siblings, 0 replies; 8+ messages in thread
From: kernel test robot @ 2021-07-21 12:44 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1393 bytes --]

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@intel.com>

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'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31254 bytes --]

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

* Re: [drm-drm-misc:drm-misc-next 1/2] undefined reference to `screen_info'
  2021-07-21 12:44 ` kernel test robot
@ 2021-07-21 18:01   ` Thomas Zimmermann
  -1 siblings, 0 replies; 8+ messages in thread
From: Thomas Zimmermann @ 2021-07-21 18:01 UTC (permalink / raw)
  To: kernel test robot, Javier Martinez Canillas; +Cc: kbuild-all, linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 2016 bytes --]

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@intel.com>
> 
> 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]

Best regards
Thomas

[1] 
https://cgit.freedesktop.org/drm/drm-misc/diff/drivers/firmware/Kconfig?id=8633ef82f101c040427b57d4df7b706261420b94

> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
> 

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

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

* Re: [drm-drm-misc:drm-misc-next 1/2] undefined reference to `screen_info'
@ 2021-07-21 18:01   ` Thomas Zimmermann
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Zimmermann @ 2021-07-21 18:01 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2023 bytes --]

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@intel.com>
> 
> 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]

Best regards
Thomas

[1] 
https://cgit.freedesktop.org/drm/drm-misc/diff/drivers/firmware/Kconfig?id=8633ef82f101c040427b57d4df7b706261420b94

> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
> 

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer


[-- Attachment #2: OpenPGP_signature.sig --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

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

* Re: [drm-drm-misc:drm-misc-next 1/2] undefined reference to `screen_info'
  2021-07-21 18:01   ` Thomas Zimmermann
@ 2021-07-21 18:04     ` Javier Martinez Canillas
  -1 siblings, 0 replies; 8+ messages in thread
From: Javier Martinez Canillas @ 2021-07-21 18:04 UTC (permalink / raw)
  To: Thomas Zimmermann, kernel test robot; +Cc: kbuild-all, linux-kernel

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@intel.com>
>>
>> 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


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

* Re: [drm-drm-misc:drm-misc-next 1/2] undefined reference to `screen_info'
@ 2021-07-21 18:04     ` Javier Martinez Canillas
  0 siblings, 0 replies; 8+ messages in thread
From: Javier Martinez Canillas @ 2021-07-21 18:04 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1850 bytes --]

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@intel.com>
>>
>> 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

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

* Re: [drm-drm-misc:drm-misc-next 1/2] undefined reference to `screen_info'
  2021-07-21 18:04     ` Javier Martinez Canillas
@ 2021-07-22  4:49       ` Javier Martinez Canillas
  -1 siblings, 0 replies; 8+ messages in thread
From: Javier Martinez Canillas @ 2021-07-22  4:49 UTC (permalink / raw)
  To: Thomas Zimmermann, kernel test robot; +Cc: kbuild-all, linux-kernel

On 7/21/21 8:04 PM, Javier Martinez Canillas wrote:
> 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@intel.com>
>>>
>>> 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.
>

Posted https://lore.kernel.org/patchwork/patch/1465623/ that should solve
this issue and others reported by the kernel test robot.

I've tested that with this patch, the option it's correctly enabled for
x86, arm64 and riscv while not enabled on the problematic architectures.

This should be merged in drm-misc-next as well. Sorry for missing before
that would cause issues on some architectures.

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


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

* Re: [drm-drm-misc:drm-misc-next 1/2] undefined reference to `screen_info'
@ 2021-07-22  4:49       ` Javier Martinez Canillas
  0 siblings, 0 replies; 8+ messages in thread
From: Javier Martinez Canillas @ 2021-07-22  4:49 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2359 bytes --]

On 7/21/21 8:04 PM, Javier Martinez Canillas wrote:
> 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@intel.com>
>>>
>>> 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.
>

Posted https://lore.kernel.org/patchwork/patch/1465623/ that should solve
this issue and others reported by the kernel test robot.

I've tested that with this patch, the option it's correctly enabled for
x86, arm64 and riscv while not enabled on the problematic architectures.

This should be merged in drm-misc-next as well. Sorry for missing before
that would cause issues on some architectures.

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

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

end of thread, other threads:[~2021-07-22  4:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21 12:44 [drm-drm-misc:drm-misc-next 1/2] undefined reference to `screen_info' kernel test robot
2021-07-21 12:44 ` kernel test robot
2021-07-21 18:01 ` Thomas Zimmermann
2021-07-21 18:01   ` Thomas Zimmermann
2021-07-21 18:04   ` Javier Martinez Canillas
2021-07-21 18:04     ` Javier Martinez Canillas
2021-07-22  4:49     ` Javier Martinez Canillas
2021-07-22  4:49       ` Javier Martinez Canillas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.