[ast-bpf:relo_core 2/12] ld.lld: warning: stack frame size (1248) exceeds limit (1024) in function 'bpf_core_apply_relo_insn'

From: kernel test robot
Date: Sun Oct 03 2021 - 07:38:49 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/ast/bpf.git relo_core
head: b59680f8f85fc73f14859ee02567897309ba8f65
commit: 28e76eb078b4674fecfda090ee4cbd80340a1d71 [2/12] bpf: Prepare relo_core.c for kernel duty.
config: i386-randconfig-a011-20211003 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 57d9adefa04dc65096b8ba3e5763c15305676f73)
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/ast/bpf.git/commit/?id=28e76eb078b4674fecfda090ee4cbd80340a1d71
git remote add ast-bpf https://git.kernel.org/pub/scm/linux/kernel/git/ast/bpf.git
git fetch --no-tags ast-bpf relo_core
git checkout 28e76eb078b4674fecfda090ee4cbd80340a1d71
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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 warnings (new ones prefixed by >>):

>> ld.lld: warning: stack frame size (1248) exceeds limit (1024) in function 'bpf_core_apply_relo_insn'
ld.lld: error: undefined symbol: fb_set_suspend
>>> referenced by drm_fb_helper.c:370 (drivers/gpu/drm/drm_fb_helper.c:370)
>>> vmlinux.o:(drm_fb_helper_resume_worker)
>>> referenced by drm_fb_helper.c:856 (drivers/gpu/drm/drm_fb_helper.c:856)
>>> vmlinux.o:(drm_fb_helper_set_suspend)
>>> referenced by drm_fb_helper.c:901 (drivers/gpu/drm/drm_fb_helper.c:901)
>>> vmlinux.o:(drm_fb_helper_set_suspend_unlocked)

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

Attachment: .config.gz
Description: application/gzip