llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 1651/2468] lib/crc/crc64-main.c:58:10: fatal error: 'crc64.h' file not found
@ 2025-06-14 22:13 kernel test robot
  2025-06-14 22:28 ` Eric Biggers
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2025-06-14 22:13 UTC (permalink / raw)
  To: Eric Biggers; +Cc: llvm, oe-kbuild-all, Martin K. Petersen

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   bc6e0ba6c9bafa6241b05524b9829808056ac4ad
commit: f58a15d5151d0d21b505ea43457f362cf0d75469 [1651/2468] lib/crc/x86: migrate x86-optimized CRC code into lib/crc/
config: um-allmodconfig (https://download.01.org/0day-ci/archive/20250615/202506150606.rxZTzhKn-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250615/202506150606.rxZTzhKn-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/202506150606.rxZTzhKn-lkp@intel.com/

All errors (new ones prefixed by >>):

   clang: warning: no such include directory: 'lib/crc/um' [-Wmissing-include-dirs]
>> lib/crc/crc64-main.c:58:10: fatal error: 'crc64.h' file not found
      58 | #include "crc64.h" /* $(SRCARCH)/crc64.h */
         |          ^~~~~~~~~
   1 error generated.


vim +58 lib/crc/crc64-main.c

e2fd1883971db5 Eric Biggers 2025-06-07  56  
e2fd1883971db5 Eric Biggers 2025-06-07  57  #ifdef CONFIG_CRC64_ARCH
e2fd1883971db5 Eric Biggers 2025-06-07 @58  #include "crc64.h" /* $(SRCARCH)/crc64.h */
e2fd1883971db5 Eric Biggers 2025-06-07  59  #else
e2fd1883971db5 Eric Biggers 2025-06-07  60  #define crc64_be_arch crc64_be_generic
e2fd1883971db5 Eric Biggers 2025-06-07  61  #define crc64_nvme_arch crc64_nvme_generic
e2fd1883971db5 Eric Biggers 2025-06-07  62  #endif
e2fd1883971db5 Eric Biggers 2025-06-07  63  

:::::: The code at line 58 was first introduced by commit
:::::: e2fd1883971db5a2e3537f7deb6702056891d03f lib/crc: prepare for arch-optimized code in subdirs of lib/crc/

:::::: TO: Eric Biggers <ebiggers@google.com>
:::::: CC: Eric Biggers <ebiggers@google.com>

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

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

* Re: [linux-next:master 1651/2468] lib/crc/crc64-main.c:58:10: fatal error: 'crc64.h' file not found
  2025-06-14 22:13 [linux-next:master 1651/2468] lib/crc/crc64-main.c:58:10: fatal error: 'crc64.h' file not found kernel test robot
@ 2025-06-14 22:28 ` Eric Biggers
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Biggers @ 2025-06-14 22:28 UTC (permalink / raw)
  To: kernel test robot; +Cc: llvm, oe-kbuild-all, Martin K. Petersen

On Sun, Jun 15, 2025 at 06:13:34AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   bc6e0ba6c9bafa6241b05524b9829808056ac4ad
> commit: f58a15d5151d0d21b505ea43457f362cf0d75469 [1651/2468] lib/crc/x86: migrate x86-optimized CRC code into lib/crc/
> config: um-allmodconfig (https://download.01.org/0day-ci/archive/20250615/202506150606.rxZTzhKn-lkp@intel.com/config)
> compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250615/202506150606.rxZTzhKn-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/202506150606.rxZTzhKn-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 
>    clang: warning: no such include directory: 'lib/crc/um' [-Wmissing-include-dirs]
> >> lib/crc/crc64-main.c:58:10: fatal error: 'crc64.h' file not found
>       58 | #include "crc64.h" /* $(SRCARCH)/crc64.h */
>          |          ^~~~~~~~~
>    1 error generated.
> 
> 
> vim +58 lib/crc/crc64-main.c
> 
> e2fd1883971db5 Eric Biggers 2025-06-07  56  
> e2fd1883971db5 Eric Biggers 2025-06-07  57  #ifdef CONFIG_CRC64_ARCH
> e2fd1883971db5 Eric Biggers 2025-06-07 @58  #include "crc64.h" /* $(SRCARCH)/crc64.h */
> e2fd1883971db5 Eric Biggers 2025-06-07  59  #else
> e2fd1883971db5 Eric Biggers 2025-06-07  60  #define crc64_be_arch crc64_be_generic
> e2fd1883971db5 Eric Biggers 2025-06-07  61  #define crc64_nvme_arch crc64_nvme_generic
> e2fd1883971db5 Eric Biggers 2025-06-07  62  #endif
> e2fd1883971db5 Eric Biggers 2025-06-07  63  
> 
> :::::: The code at line 58 was first introduced by commit
> :::::: e2fd1883971db5a2e3537f7deb6702056891d03f lib/crc: prepare for arch-optimized code in subdirs of lib/crc/
> 
> :::::: TO: Eric Biggers <ebiggers@google.com>
> :::::: CC: Eric Biggers <ebiggers@google.com>
> 
> -- 
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki

Already fixed in crc-next by:
https://lore.kernel.org/r/20250612054514.142728-1-ebiggers@kernel.org/

- Eric

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

end of thread, other threads:[~2025-06-14 22:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-14 22:13 [linux-next:master 1651/2468] lib/crc/crc64-main.c:58:10: fatal error: 'crc64.h' file not found kernel test robot
2025-06-14 22:28 ` Eric Biggers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).