reproduce (this is a W=1 build): # https://github.com/avpatel/linux/commit/d3f10d6966418cbed0f472d36d4567b369e9bc53 git remote add avpatel https://github.com/avpatel/linux.git git fetch --no-tags avpatel riscv_trace_support_v5 git checkout d3f10d6966418cbed0f472d36d4567b369e9bc53 # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # clang-24 might not be officially released. Try a lower version if installation fails. git clone https://github.com/intel/lkp-tests.git ~/lkp-tests # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-24 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-24 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/