All of lore.kernel.org
 help / color / mirror / Atom feed
* [akpm-mm:mm-nonmm-unstable 53/62] lib/raid6/recov_neon_inner.c:7:10: fatal error: 'arm_neon.h' file not found
@ 2024-03-29  4:27 kernel test robot
  2024-03-29 15:20 ` Nathan Chancellor
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2024-03-29  4:27 UTC (permalink / raw)
  To: Samuel Holland
  Cc: llvm, oe-kbuild-all, Andrew Morton, Linux Memory Management List,
	Christoph Hellwig

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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403291210.ioK7bfPA-lkp@intel.com/

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.


vim +7 lib/raid6/recov_neon_inner.c

6ec4e2514decd6 Ard Biesheuvel 2017-07-13 @7  #include <arm_neon.h>
3de13550a20fd5 Arnd Bergmann  2023-05-17  8  #include "neon.h"
6ec4e2514decd6 Ard Biesheuvel 2017-07-13  9  

:::::: The code at line 7 was first introduced by commit
:::::: 6ec4e2514decd6fb4782a9364fa71d6244d05af4 md/raid6: implement recovery using ARM NEON intrinsics

:::::: TO: Ard Biesheuvel <ard.biesheuvel@linaro.org>
:::::: CC: Catalin Marinas <catalin.marinas@arm.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [akpm-mm:mm-nonmm-unstable 53/62] lib/raid6/recov_neon_inner.c:7:10: fatal error: 'arm_neon.h' file not found
  2024-03-29  4:27 [akpm-mm:mm-nonmm-unstable 53/62] lib/raid6/recov_neon_inner.c:7:10: fatal error: 'arm_neon.h' file not found kernel test robot
@ 2024-03-29 15:20 ` Nathan Chancellor
  2024-03-29 15:25   ` Samuel Holland
  0 siblings, 1 reply; 3+ messages in thread
From: Nathan Chancellor @ 2024-03-29 15:20 UTC (permalink / raw)
  To: kernel test robot
  Cc: Samuel Holland, llvm, oe-kbuild-all, Andrew Morton,
	Linux Memory Management List, Christoph Hellwig

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@intel.com/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@intel.com/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@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202403291210.ioK7bfPA-lkp@intel.com/
> 
> 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)

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [akpm-mm:mm-nonmm-unstable 53/62] lib/raid6/recov_neon_inner.c:7:10: fatal error: 'arm_neon.h' file not found
  2024-03-29 15:20 ` Nathan Chancellor
@ 2024-03-29 15:25   ` Samuel Holland
  0 siblings, 0 replies; 3+ messages in thread
From: Samuel Holland @ 2024-03-29 15:25 UTC (permalink / raw)
  To: Nathan Chancellor
  Cc: llvm, oe-kbuild-all, Andrew Morton, Linux Memory Management List,
	Christoph Hellwig, kernel test robot

On 2024-03-29 10:20 AM, Nathan Chancellor wrote:
> 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@intel.com/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@intel.com/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@intel.com>
>> | Closes: https://lore.kernel.org/oe-kbuild-all/202403291210.ioK7bfPA-lkp@intel.com/
>>
>> 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.

Right. I fixed this in v4:

https://lore.kernel.org/linux-kernel/20240329072441.591471-7-samuel.holland@sifive.com/

Regards,
Samuel

> 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)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-29 15:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-29  4:27 [akpm-mm:mm-nonmm-unstable 53/62] lib/raid6/recov_neon_inner.c:7:10: fatal error: 'arm_neon.h' file not found kernel test robot
2024-03-29 15:20 ` Nathan Chancellor
2024-03-29 15:25   ` Samuel Holland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.