On Fri, Mar 29, 2024 at 12:27:57PM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable > head: b065e14a3960a495216a032e6d383c104147c9ef > commit: aa73a95380b4ef76ccf00344b777d0d415026b7b [53/62] lib/raid6: use CC_FLAGS_FPU for NEON CFLAGS > config: arm-randconfig-002-20240329 (https://download.01.org/0day-ci/archive/20240329/202403291210.ioK7bfPA-lkp@xxxxxxxxx/config) > compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 79ba323bdd0843275019e16b6e9b35133677c514) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240329/202403291210.ioK7bfPA-lkp@xxxxxxxxx/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot <lkp@xxxxxxxxx> > | Closes: https://lore.kernel.org/oe-kbuild-all/202403291210.ioK7bfPA-lkp@xxxxxxxxx/ > > All errors (new ones prefixed by >>): > > >> lib/raid6/recov_neon_inner.c:7:10: fatal error: 'arm_neon.h' file not found > 7 | #include <arm_neon.h> > | ^~~~~~~~~~~~ > 1 error generated. Looks like the CFLAGS for recov_neon_inner.o got lost. This resolves it for me. Cheers, Nathan diff --git a/lib/raid6/Makefile b/lib/raid6/Makefile index c71984e04c4d..0e88bfe6445b 100644 --- a/lib/raid6/Makefile +++ b/lib/raid6/Makefile @@ -60,10 +60,12 @@ CFLAGS_neon1.o += $(CC_FLAGS_FPU) CFLAGS_neon2.o += $(CC_FLAGS_FPU) CFLAGS_neon4.o += $(CC_FLAGS_FPU) CFLAGS_neon8.o += $(CC_FLAGS_FPU) +CFLAGS_recov_neon_inner.o += $(CC_FLAGS_FPU) CFLAGS_REMOVE_neon1.o += $(CC_FLAGS_NO_FPU) CFLAGS_REMOVE_neon2.o += $(CC_FLAGS_NO_FPU) CFLAGS_REMOVE_neon4.o += $(CC_FLAGS_NO_FPU) CFLAGS_REMOVE_neon8.o += $(CC_FLAGS_NO_FPU) +CFLAGS_REMOVE_recov_neon_inner.o += $(CC_FLAGS_NO_FPU) targets += neon1.c neon2.c neon4.c neon8.c $(obj)/neon%.c: $(src)/neon.uc $(src)/unroll.awk FORCE $(call if_changed,unroll)