reproduce (this is a W=1 build): git clone https://github.com/intel/lkp-tests.git ~/lkp-tests # https://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git/commit/?id=b5ec004e0e8d0b169d92e1fff21d79a3f11c17a8 git remote add trace git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace git fetch --no-tags trace ring-buffer/core git checkout b5ec004e0e8d0b169d92e1fff21d79a3f11c17a8 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-17 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-17 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash kernel/trace/