[viro-vfs:work.headers.unaligned 2/2] util/arm-spe-decoder/arm-spe-pkt-decoder.c:14:10: fatal error: 'linux/unaligned.h' file not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Al,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.headers.unaligned
head:   5adcdf60b29da8386cab7bb157927fec96a46c42
commit: 5adcdf60b29da8386cab7bb157927fec96a46c42 [2/2] move asm/unaligned.h to linux/unaligned.h
:::::: branch date: 23 hours ago
:::::: commit date: 23 hours ago
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240819/202408190146.7jadYUKv-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/r/202408190146.7jadYUKv-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   Makefile.config:656: No libunwind found. Please install libunwind-dev[el] >= 1.1 and/or set LIBUNWIND_DIR
     PERF_VERSION = 6.11.rc1.g5adcdf60b29d
>> util/arm-spe-decoder/arm-spe-pkt-decoder.c:14:10: fatal error: 'linux/unaligned.h' file not found
      14 | #include <linux/unaligned.h>
         |          ^~~~~~~~~~~~~~~~~~~
   1 error generated.
   make[8]: *** [tools/build/Makefile.build:106: tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.o] Error 1
   make[8]: *** Waiting for unfinished jobs....
>> util/intel-pt-decoder/intel-pt-pkt-decoder.c:13:10: fatal error: 'linux/unaligned.h' file not found
      13 | #include <linux/unaligned.h>
         |          ^~~~~~~~~~~~~~~~~~~
   In file included from util/intel-pt-decoder/intel-pt-insn-decoder.c:15:
   util/intel-pt-decoder/../../../arch/x86/lib/insn.c:16:10: fatal error: '../include/linux/unaligned.h' file not found
      16 | #include "../include/linux/unaligned.h" /* __ignore_sync_check__ */
         |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 error generated.
   make[8]: *** [tools/build/Makefile.build:106: tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.o] Error 1
   make[8]: *** Waiting for unfinished jobs....
   1 error generated.
   make[8]: *** [util/intel-pt-decoder/Build:14: tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.o] Error 1
   make[7]: *** [tools/build/Makefile.build:158: arm-spe-decoder] Error 2
   make[7]: *** Waiting for unfinished jobs....
   make[7]: *** [tools/build/Makefile.build:158: intel-pt-decoder] Error 2
   make[6]: *** [tools/build/Makefile.build:158: util] Error 2
   make[5]: *** [Makefile.perf:762: tools/perf/perf-util-in.o] Error 2
   make[5]: *** Waiting for unfinished jobs....
   make[4]: *** [Makefile.perf:265: sub-make] Error 2
   make[3]: *** [Makefile:70: all] Error 2
--
>> diff: tools/include/linux/unaligned.h: No such file or directory
     diff -u tools/include/uapi/drm/i915_drm.h include/uapi/drm/i915_drm.h
     diff -u tools/include/uapi/linux/kvm.h include/uapi/linux/kvm.h
     diff -u tools/include/uapi/linux/in.h include/uapi/linux/in.h
     diff -u tools/include/uapi/linux/perf_event.h include/uapi/linux/perf_event.h
     diff -u tools/include/uapi/linux/stat.h include/uapi/linux/stat.h
     diff -u tools/arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/cpufeatures.h
     diff -u tools/arch/x86/include/asm/msr-index.h arch/x86/include/asm/msr-index.h
     diff -u tools/arch/x86/include/uapi/asm/kvm.h arch/x86/include/uapi/asm/kvm.h
     diff -u tools/arch/x86/include/uapi/asm/svm.h arch/x86/include/uapi/asm/svm.h
     diff -u tools/arch/powerpc/include/uapi/asm/kvm.h arch/powerpc/include/uapi/asm/kvm.h
     diff -u tools/arch/arm64/include/uapi/asm/unistd.h arch/arm64/include/uapi/asm/unistd.h
     diff -u tools/include/uapi/asm-generic/unistd.h include/uapi/asm-generic/unistd.h
     diff -u tools/arch/arm64/include/asm/cputype.h arch/arm64/include/asm/cputype.h
     diff -u tools/include/linux/unaligned.h include/linux/unaligned.h
     diff -u tools/lib/list_sort.c lib/list_sort.c
     diff -u tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl
     diff -u tools/perf/arch/powerpc/entry/syscalls/syscall.tbl arch/powerpc/kernel/syscalls/syscall.tbl
     diff -u tools/perf/arch/s390/entry/syscalls/syscall.tbl arch/s390/kernel/syscalls/syscall.tbl
     diff -u tools/perf/trace/beauty/include/linux/socket.h include/linux/socket.h
     diff -u tools/perf/trace/beauty/include/uapi/linux/fs.h include/uapi/linux/fs.h
     diff -u tools/perf/trace/beauty/include/uapi/linux/mount.h include/uapi/linux/mount.h
     diff -u tools/perf/trace/beauty/include/uapi/linux/stat.h include/uapi/linux/stat.h
     diff -u tools/perf/trace/beauty/include/uapi/sound/asound.h include/uapi/sound/asound.h


vim +14 tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c

5adcdf60b29da8 tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c Al Viro      2023-12-05 @14  #include <linux/unaligned.h>
ffd3d18c20b8df tools/perf/util/arm-spe-pkt-decoder.c                 Kim Phillips 2018-01-14  15  

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





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux