vmlinux.o: warning: objtool: do_machine_check()+0x39: call to mce_gather_info() leaves .noinstr.text section
From: kernel test robot <hidden>
Date: 2021-11-20 04:01:37
Also in:
oe-kbuild-all
CC: linux-kernel@vger.kernel.org TO: Nick Desaulniers <ndesaulniers@google.com> CC: Kees Cook <redacted> CC: Fangrui Song <redacted> CC: Miguel Ojeda <ojeda@kernel.org> CC: Nathan Chancellor <nathan@kernel.org> Hi Nick, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a90af8f15bdc9449ee2d24e1d73fa3f7e8633f81 commit: 380d53c45ff21f66870ee965b62613137f9d010d compiler_attributes.h: define __no_profile, add to noinstr date: 5 months ago config: x86_64-buildonly-randconfig-r004-20211006 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c0039de2953d15815448b4b3c3bafb45607781e0) 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=380d53c45ff21f66870ee965b62613137f9d010d git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 380d53c45ff21f66870ee965b62613137f9d010d # 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=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <redacted> All warnings (new ones prefixed by >>): vmlinux.o: warning: objtool: in_task_stack()+0x10: call to task_stack_page() leaves .noinstr.text section vmlinux.o: warning: objtool: in_entry_stack()+0xd: call to cpu_entry_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: mce_setup()+0x99: call to cpuid_eax() leaves .noinstr.text section
quoted
vmlinux.o: warning: objtool: do_machine_check()+0x39: call to mce_gather_info() leaves .noinstr.text section
vmlinux.o: warning: objtool: debug_locks_off()+0x24: call to console_verbose() leaves .noinstr.text section kallsyms failure: relative symbol value 0xffffffff0596a000 out of range in relative mode --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Attachments
- .config.gz [application/gzip] 30604 bytes