tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 92e815cf07ed24ee1c51b122f24ffcf2964b4b13 commit: e287501e00c6e935a6e182f6992f97ee181788d3 [14283/14376] Merge branch 'loongarch-next' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20230429/202304291308.YpmrjzVV-lkp@xxxxxxxxx/config) compiler: loongarch64-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/next/linux-next.git/commit/?id=e287501e00c6e935a6e182f6992f97ee181788d3 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout e287501e00c6e935a6e182f6992f97ee181788d3 # 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=loongarch olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Link: https://lore.kernel.org/oe-kbuild-all/202304291308.YpmrjzVV-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): loongarch64-linux-ld: kernel/trace/trace.o: in function `.L3177': >> trace.c:(.init.text+0x16e4): undefined reference to `ftrace_stub_direct_tramp' >> loongarch64-linux-ld: trace.c:(.init.text+0x16e8): undefined reference to `ftrace_stub_direct_tramp' >> loongarch64-linux-ld: trace.c:(.init.text+0x16e8): undefined reference to `ftrace_stub_direct_tramp' loongarch64-linux-ld: kernel/trace/trace.o: in function `.L3180': trace.c:(.init.text+0x17bc): undefined reference to `ftrace_stub_direct_tramp' loongarch64-linux-ld: trace.c:(.init.text+0x17c0): undefined reference to `ftrace_stub_direct_tramp' loongarch64-linux-ld: kernel/trace/trace.o:trace.c:(.init.text+0x17c0): more undefined references to `ftrace_stub_direct_tramp' follow -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests