ld: drivers/video/fbdev/simplefb.o:undefined reference to `cfb_fillrect'

From: kernel test robot
Date: Sat Aug 21 2021 - 00:33:24 EST


Hi Thomas,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fa54d366a6e4fe3e16322abdb8b5115f8be0da8b
commit: 11e8f5fd223bd4d33fa10527bad3fe48469a15df drm: Add simpledrm driver
date: 4 months ago
config: i386-randconfig-r026-20210821 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=11e8f5fd223bd4d33fa10527bad3fe48469a15df
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 11e8f5fd223bd4d33fa10527bad3fe48469a15df
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 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 >>):

>> ld: drivers/video/fbdev/simplefb.o:(.rodata+0x20c): undefined reference to `cfb_fillrect'
>> ld: drivers/video/fbdev/simplefb.o:(.rodata+0x210): undefined reference to `cfb_copyarea'
>> ld: drivers/video/fbdev/simplefb.o:(.rodata+0x214): undefined reference to `cfb_imageblit'

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

Attachment: .config.gz
Description: application/gzip