reproduce (this is a W=1 build): # https://github.com/smfrench/smb3-kernel/commit/bedb46d0f4ef3fe98e9da42665bd1d8ec3d013cb git remote add smfrench-smb3 https://github.com/smfrench/smb3-kernel.git git fetch --no-tags smfrench-smb3 pr/192 git checkout bedb46d0f4ef3fe98e9da42665bd1d8ec3d013cb # install sparc64 cross compiling tool for clang build # apt-get install binutils-sparc64-linux-gnu # clang-23 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-23 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=sparc64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-23 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=sparc64 SHELL=/bin/bash fs/smb/client/