reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git/commit/?id=b1c60a498c6146de0706572d3f47d3723ca91743 git remote add jpoimboe https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git git fetch --no-tags jpoimboe objtool-werror git checkout b1c60a498c6146de0706572d3f47d3723ca91743 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 olddefconfig make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/