reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/e8494bc5b81ab087f8fda3da91fb0349f6e08b83 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review odion-efficios-com/rseq-uapi-add-rseq-operation-definitions/20260828-113339 git checkout e8494bc5b81ab087f8fda3da91fb0349f6e08b83 # install loongarch cross compiling tool for clang build # apt-get install binutils-loongarch-linux-gnu # 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 # 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-24 ~/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=loongarch olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-24 ~/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=loongarch SHELL=/bin/bash kernel/