reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/superm1/linux.git/commit/?id=e30ca6dd5345c5b8ba05f346a8e81105352fe571 git remote add amd-pstate https://git.kernel.org/pub/scm/linux/kernel/git/superm1/linux.git git fetch --no-tags amd-pstate linux-next git checkout e30ca6dd5345c5b8ba05f346a8e81105352fe571 git clone https://github.com/intel/lkp-tests.git ~/lkp-tests # apt-get install sparse # sparse: v0.6.5-rc1 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-20 ~/lkp-tests/kbuild/make.cross W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build_dir ARCH=x86_64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-20 ~/lkp-tests/kbuild/make.cross W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build_dir ARCH=x86_64 SHELL=/bin/bash