reproduce (this is a W=1 build): git clone https://github.com/intel/lkp-tests.git ~/lkp-tests # install um cross compiling tool for clang build # apt-get install binutils-um-linux-gnu # clang-21 might not be officially released. Try a lower version if installation fails. # https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git/commit/?id=936031eb6f97c198231aa2de74c052c5c06b3177 git remote add tglx-devel https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git git fetch --no-tags tglx-devel irq/core git checkout 936031eb6f97c198231aa2de74c052c5c06b3177 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-21 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=um olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-21 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=um SHELL=/bin/bash drivers/char/ kernel/