All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: nios2-linux-ld: drm_fb_helper.c:undefined reference to `fb_dealloc_cmap'
Date: Sun, 24 Oct 2021 18:36:29 +0800	[thread overview]
Message-ID: <202110241827.TitkrWFC-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9c0c4d24ac000e52d55348961d3a3ba42065e0cf
commit: f611b1e7624ccdbd495c19e9805629e22265aa16 drm: Avoid circular dependencies for CONFIG_FB
date:   5 months ago
config: nios2-randconfig-r025-20211015 (attached as .config)
compiler: nios2-linux-gcc (GCC) 11.2.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
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f611b1e7624ccdbd495c19e9805629e22265aa16
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout f611b1e7624ccdbd495c19e9805629e22265aa16
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 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 >>):

   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_set_suspend':
   drm_fb_helper.c:(.text+0x26c): undefined reference to `fb_set_suspend'
   drm_fb_helper.c:(.text+0x26c): relocation truncated to fit: R_NIOS2_CALL26 against `fb_set_suspend'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_resume_worker':
   drm_fb_helper.c:(.text+0x29c): undefined reference to `fb_set_suspend'
   drm_fb_helper.c:(.text+0x29c): relocation truncated to fit: R_NIOS2_CALL26 against `fb_set_suspend'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_unregister_fbi':
   drm_fb_helper.c:(.text+0x2c8): undefined reference to `unregister_framebuffer'
   drm_fb_helper.c:(.text+0x2c8): relocation truncated to fit: R_NIOS2_CALL26 against `unregister_framebuffer'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_sys_read':
   drm_fb_helper.c:(.text+0x2e4): undefined reference to `fb_sys_read'
   drm_fb_helper.c:(.text+0x2e4): relocation truncated to fit: R_NIOS2_CALL26 against `fb_sys_read'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_fini':
   drm_fb_helper.c:(.text+0xe94): undefined reference to `framebuffer_release'
   drm_fb_helper.c:(.text+0xe94): relocation truncated to fit: R_NIOS2_CALL26 against `framebuffer_release'
>> nios2-linux-ld: drm_fb_helper.c:(.text+0xf00): undefined reference to `fb_dealloc_cmap'
   drm_fb_helper.c:(.text+0xf00): relocation truncated to fit: R_NIOS2_CALL26 against `fb_dealloc_cmap'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `__drm_fb_helper_initial_config_and_unlock':
   drm_fb_helper.c:(.text+0xf80): undefined reference to `register_framebuffer'
   drm_fb_helper.c:(.text+0xf80): relocation truncated to fit: R_NIOS2_CALL26 against `register_framebuffer'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_alloc_fbi':
   drm_fb_helper.c:(.text+0x119c): undefined reference to `framebuffer_alloc'
   drm_fb_helper.c:(.text+0x119c): relocation truncated to fit: R_NIOS2_CALL26 against `framebuffer_alloc'
>> nios2-linux-ld: drm_fb_helper.c:(.text+0x11b8): undefined reference to `fb_alloc_cmap'
   drm_fb_helper.c:(.text+0x11b8): relocation truncated to fit: R_NIOS2_CALL26 against `fb_alloc_cmap'
>> nios2-linux-ld: drm_fb_helper.c:(.text+0x11c8): undefined reference to `framebuffer_release'
   drm_fb_helper.c:(.text+0x11c8): relocation truncated to fit: R_NIOS2_CALL26 against `framebuffer_release'
   nios2-linux-ld: drm_fb_helper.c:(.text+0x1224): undefined reference to `fb_dealloc_cmap'
   drm_fb_helper.c:(.text+0x1224): additional relocation overflows omitted from the output
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_generic_probe':
   drm_fb_helper.c:(.text+0x132c): undefined reference to `fb_deferred_io_init'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_set_suspend_unlocked':
   drm_fb_helper.c:(.text+0x1764): undefined reference to `fb_set_suspend'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_sys_write':
   drm_fb_helper.c:(.text+0x1ec4): undefined reference to `fb_sys_write'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_sys_fillrect':
   drm_fb_helper.c:(.text+0x1f18): undefined reference to `sys_fillrect'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_sys_copyarea':
   drm_fb_helper.c:(.text+0x1f64): undefined reference to `sys_copyarea'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_sys_imageblit':
   drm_fb_helper.c:(.text+0x1fb0): undefined reference to `sys_imageblit'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_cfb_fillrect':
   drm_fb_helper.c:(.text+0x1ffc): undefined reference to `cfb_fillrect'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_cfb_copyarea':
   drm_fb_helper.c:(.text+0x2048): undefined reference to `cfb_copyarea'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_cfb_imageblit':
   drm_fb_helper.c:(.text+0x2094): undefined reference to `cfb_imageblit'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fbdev_fb_fillrect':
   drm_fb_helper.c:(.text+0x20f4): undefined reference to `cfb_fillrect'
>> nios2-linux-ld: drm_fb_helper.c:(.text+0x2128): undefined reference to `sys_fillrect'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fbdev_fb_imageblit':
   drm_fb_helper.c:(.text+0x215c): undefined reference to `cfb_imageblit'
>> nios2-linux-ld: drm_fb_helper.c:(.text+0x2190): undefined reference to `sys_imageblit'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fbdev_fb_copyarea':
   drm_fb_helper.c:(.text+0x21c4): undefined reference to `cfb_copyarea'
>> nios2-linux-ld: drm_fb_helper.c:(.text+0x21f8): undefined reference to `sys_copyarea'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fbdev_cleanup':
   drm_fb_helper.c:(.text+0x2230): undefined reference to `fb_deferred_io_cleanup'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fbdev_client_unregister':
   drm_fb_helper.c:(.text+0x22cc): undefined reference to `unregister_framebuffer'

---
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: 28409 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Kees Cook <keescook@chromium.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Daniel Vetter <daniel.vetter@ffwll.ch>
Subject: nios2-linux-ld: drm_fb_helper.c:undefined reference to `fb_dealloc_cmap'
Date: Sun, 24 Oct 2021 18:36:29 +0800	[thread overview]
Message-ID: <202110241827.TitkrWFC-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9c0c4d24ac000e52d55348961d3a3ba42065e0cf
commit: f611b1e7624ccdbd495c19e9805629e22265aa16 drm: Avoid circular dependencies for CONFIG_FB
date:   5 months ago
config: nios2-randconfig-r025-20211015 (attached as .config)
compiler: nios2-linux-gcc (GCC) 11.2.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
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f611b1e7624ccdbd495c19e9805629e22265aa16
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout f611b1e7624ccdbd495c19e9805629e22265aa16
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 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 >>):

   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_set_suspend':
   drm_fb_helper.c:(.text+0x26c): undefined reference to `fb_set_suspend'
   drm_fb_helper.c:(.text+0x26c): relocation truncated to fit: R_NIOS2_CALL26 against `fb_set_suspend'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_resume_worker':
   drm_fb_helper.c:(.text+0x29c): undefined reference to `fb_set_suspend'
   drm_fb_helper.c:(.text+0x29c): relocation truncated to fit: R_NIOS2_CALL26 against `fb_set_suspend'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_unregister_fbi':
   drm_fb_helper.c:(.text+0x2c8): undefined reference to `unregister_framebuffer'
   drm_fb_helper.c:(.text+0x2c8): relocation truncated to fit: R_NIOS2_CALL26 against `unregister_framebuffer'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_sys_read':
   drm_fb_helper.c:(.text+0x2e4): undefined reference to `fb_sys_read'
   drm_fb_helper.c:(.text+0x2e4): relocation truncated to fit: R_NIOS2_CALL26 against `fb_sys_read'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_fini':
   drm_fb_helper.c:(.text+0xe94): undefined reference to `framebuffer_release'
   drm_fb_helper.c:(.text+0xe94): relocation truncated to fit: R_NIOS2_CALL26 against `framebuffer_release'
>> nios2-linux-ld: drm_fb_helper.c:(.text+0xf00): undefined reference to `fb_dealloc_cmap'
   drm_fb_helper.c:(.text+0xf00): relocation truncated to fit: R_NIOS2_CALL26 against `fb_dealloc_cmap'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `__drm_fb_helper_initial_config_and_unlock':
   drm_fb_helper.c:(.text+0xf80): undefined reference to `register_framebuffer'
   drm_fb_helper.c:(.text+0xf80): relocation truncated to fit: R_NIOS2_CALL26 against `register_framebuffer'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_alloc_fbi':
   drm_fb_helper.c:(.text+0x119c): undefined reference to `framebuffer_alloc'
   drm_fb_helper.c:(.text+0x119c): relocation truncated to fit: R_NIOS2_CALL26 against `framebuffer_alloc'
>> nios2-linux-ld: drm_fb_helper.c:(.text+0x11b8): undefined reference to `fb_alloc_cmap'
   drm_fb_helper.c:(.text+0x11b8): relocation truncated to fit: R_NIOS2_CALL26 against `fb_alloc_cmap'
>> nios2-linux-ld: drm_fb_helper.c:(.text+0x11c8): undefined reference to `framebuffer_release'
   drm_fb_helper.c:(.text+0x11c8): relocation truncated to fit: R_NIOS2_CALL26 against `framebuffer_release'
   nios2-linux-ld: drm_fb_helper.c:(.text+0x1224): undefined reference to `fb_dealloc_cmap'
   drm_fb_helper.c:(.text+0x1224): additional relocation overflows omitted from the output
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_generic_probe':
   drm_fb_helper.c:(.text+0x132c): undefined reference to `fb_deferred_io_init'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_set_suspend_unlocked':
   drm_fb_helper.c:(.text+0x1764): undefined reference to `fb_set_suspend'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_sys_write':
   drm_fb_helper.c:(.text+0x1ec4): undefined reference to `fb_sys_write'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_sys_fillrect':
   drm_fb_helper.c:(.text+0x1f18): undefined reference to `sys_fillrect'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_sys_copyarea':
   drm_fb_helper.c:(.text+0x1f64): undefined reference to `sys_copyarea'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_sys_imageblit':
   drm_fb_helper.c:(.text+0x1fb0): undefined reference to `sys_imageblit'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_cfb_fillrect':
   drm_fb_helper.c:(.text+0x1ffc): undefined reference to `cfb_fillrect'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_cfb_copyarea':
   drm_fb_helper.c:(.text+0x2048): undefined reference to `cfb_copyarea'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fb_helper_cfb_imageblit':
   drm_fb_helper.c:(.text+0x2094): undefined reference to `cfb_imageblit'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fbdev_fb_fillrect':
   drm_fb_helper.c:(.text+0x20f4): undefined reference to `cfb_fillrect'
>> nios2-linux-ld: drm_fb_helper.c:(.text+0x2128): undefined reference to `sys_fillrect'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fbdev_fb_imageblit':
   drm_fb_helper.c:(.text+0x215c): undefined reference to `cfb_imageblit'
>> nios2-linux-ld: drm_fb_helper.c:(.text+0x2190): undefined reference to `sys_imageblit'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fbdev_fb_copyarea':
   drm_fb_helper.c:(.text+0x21c4): undefined reference to `cfb_copyarea'
>> nios2-linux-ld: drm_fb_helper.c:(.text+0x21f8): undefined reference to `sys_copyarea'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fbdev_cleanup':
   drm_fb_helper.c:(.text+0x2230): undefined reference to `fb_deferred_io_cleanup'
   nios2-linux-ld: drivers/gpu/drm/drm_fb_helper.o: in function `drm_fbdev_client_unregister':
   drm_fb_helper.c:(.text+0x22cc): undefined reference to `unregister_framebuffer'

---
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: 28409 bytes --]

             reply	other threads:[~2021-10-24 10:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-24 10:36 kernel test robot [this message]
2021-10-24 10:36 ` nios2-linux-ld: drm_fb_helper.c:undefined reference to `fb_dealloc_cmap' kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202110241827.TitkrWFC-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.