reproduce (this is a W=1 build): git clone https://github.com/intel/lkp-tests.git ~/lkp-tests # clang-21 might not be officially released. Try a lower version if installation fails. # https://github.com/koverstreet/bcachefs/commit/6c7f339efe3350c9244dc1a6dc5a70a1fc06e8a3 git remote add koverstreet-bcachefs https://github.com/koverstreet/bcachefs git fetch --no-tags koverstreet-bcachefs bcachefs-testing git checkout 6c7f339efe3350c9244dc1a6dc5a70a1fc06e8a3 # 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=hexagon olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-21 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash fs/bcachefs/