linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [drm-drm-misc:drm-misc-next 1/2] hppa-linux-ld: undefined reference to `screen_info'
@ 2021-07-21 13:13 kernel test robot
  2021-07-21 14:45 ` Javier Martinez Canillas
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-07-21 13:13 UTC (permalink / raw)
  To: Javier Martinez Canillas; +Cc: kbuild-all, linux-kernel, Thomas Zimmermann

[-- Attachment #1: Type: text/plain, Size: 1360 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-r021-20210720 (attached as .config)
compiler: hppa-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 >>):

   hppa-linux-ld: drivers/firmware/sysfb.o: in function `sysfb_init':
   (.init.text+0x24): undefined reference to `screen_info'
>> hppa-linux-ld: (.init.text+0x28): 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: 25363 bytes --]

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

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

Thanks for the report.

On 7/21/21 3:13 PM, kernel test robot wrote:
> 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-r021-20210720 (attached as .config)
> compiler: hppa-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 >>):
> 
>    hppa-linux-ld: drivers/firmware/sysfb.o: in function `sysfb_init':
>    (.init.text+0x24): undefined reference to `screen_info'
>>> hppa-linux-ld: (.init.text+0x28): undefined reference to `screen_info'
>

Apparently not all architectures define a screen_info, this was reported for
parisc but it's also true for other arches: arc, m68k, microblaze, openrisc
and s390.

The Kconfig symbol is built when COMPILE_TEST is enabled, but that shouldn't
be done for this reason and instead only built for the arches that need it:

config SYSFB
        bool
        default y
        depends on X86 || ARM || ARM64 || RISCV || COMPILE_TEST

I'll post a patch later. 

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


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

end of thread, other threads:[~2021-07-21 14:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21 13:13 [drm-drm-misc:drm-misc-next 1/2] hppa-linux-ld: undefined reference to `screen_info' kernel test robot
2021-07-21 14:45 ` Javier Martinez Canillas

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).