Messages in this thread | | | Date | Sun, 24 Oct 2021 18:36:29 +0800 | From | kernel test robot <> | Subject | nios2-linux-ld: drm_fb_helper.c:undefined reference to `fb_dealloc_cmap' |
| |
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 [unhandled content-type:application/gzip] | |