tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/fineibt head: ad50fd37eb1b4cca1cd54a4dd7effd6188e07507 commit: 60af5a4d862a0a8774d07fd3d9884784be591863 [61/62] ftrace,kcfi: Separate ftrace_stub() and ftrace_stub_graph() config: s390-defconfig compiler: s390-linux-gcc (GCC) 12.1.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/peterz/queue.git/commit/?id=60af5a4d862a0a8774d07fd3d9884784be591863 git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git git fetch --no-tags peterz-queue x86/fineibt git checkout 60af5a4d862a0a8774d07fd3d9884784be591863 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): s390-linux-ld: kernel/trace/fgraph.o: in function `unregister_ftrace_graph': >> kernel/trace/fgraph.c:655: undefined reference to `ftrace_stub_graph' >> s390-linux-ld: kernel/trace/fgraph.o:kernel/trace/fgraph.c:375: undefined reference to `ftrace_stub_graph' pahole: .tmp_vmlinux.btf: No such file or directory .btf.vmlinux.bin.o: file not recognized: file format not recognized vim +655 kernel/trace/fgraph.c e73e679f656e678b Steven Rostedt (VMware 2018-11-15 646) 688f7089d8851b1a Steven Rostedt (VMware 2018-11-15 647) void unregister_ftrace_graph(struct fgraph_ops *gops) e73e679f656e678b Steven Rostedt (VMware 2018-11-15 648) { e73e679f656e678b Steven Rostedt (VMware 2018-11-15 649) mutex_lock(&ftrace_lock); e73e679f656e678b Steven Rostedt (VMware 2018-11-15 650) e73e679f656e678b Steven Rostedt (VMware 2018-11-15 651) if (unlikely(!ftrace_graph_active)) e73e679f656e678b Steven Rostedt (VMware 2018-11-15 652) goto out; e73e679f656e678b Steven Rostedt (VMware 2018-11-15 653) e73e679f656e678b Steven Rostedt (VMware 2018-11-15 654) ftrace_graph_active--; 46f9469247c6f469 Steven Rostedt (VMware 2019-11-18 @655) ftrace_graph_return = ftrace_stub_graph; :::::: The code at line 655 was first introduced by commit :::::: 46f9469247c6f4697cbbf37e4b3961120bf07f29 ftrace: Rename ftrace_graph_stub to ftrace_stub_graph :::::: TO: Steven Rostedt (VMware) :::::: CC: Steven Rostedt (VMware) -- 0-DAY CI Kernel Test Service https://01.org/lkp