|
楼主 |
发表于 2022-10-11 11:38:00
|
显示全部楼层
- CHK scripts/mod/devicetable-offsets.h
- CHK include/config/kernel.release
- CHK include/generated/uapi/linux/version.h
- CHK include/generated/utsrelease.h
- CHK include/generated/bounds.h
- CHK include/generated/timeconst.h
- CHK include/generated/asm-offsets.h
- CALL scripts/checksyscalls.sh
- make[1]: 'include/generated/vdso-offsets.h' is up to date.
- CHK include/generated/compile.h
- CC kernel/panic.o
- In file included from ./arch/arm64/include/asm/atomic.h:41,
- from include/linux/atomic.h:4,
- from include/linux/debug_locks.h:5,
- from kernel/panic.c:11:
- kernel/panic.c: In function 'add_taint':
- ./arch/arm64/include/asm/cmpxchg.h:38:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'int[1]' [-Warray-bounds]
- error, forbidden warning:cmpxchg.h:38
- 38 | asm volatile(ARM64_LSE_ATOMIC_INSN( \
- | ^~~
- ./arch/arm64/include/asm/cmpxchg.h:72:1: note: in expansion of macro '__XCHG_CASE'
- 72 | __XCHG_CASE(w, , mb_4, dmb ish, nop, , a, l, "memory")
- | ^~~~~~~~~~~
- In file included from kernel/panic.c:11:
- include/linux/debug_locks.h:10:12: note: while referencing 'debug_locks'
- 10 | extern int debug_locks;
- | ^~~~~~~~~~~
- In file included from ./arch/arm64/include/asm/atomic.h:41,
- from include/linux/atomic.h:4,
- from include/linux/debug_locks.h:5,
- from kernel/panic.c:11:
- ./arch/arm64/include/asm/cmpxchg.h:38:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'int[1]' [-Warray-bounds]
- error, forbidden warning:cmpxchg.h:38
- 38 | asm volatile(ARM64_LSE_ATOMIC_INSN( \
- | ^~~
- ./arch/arm64/include/asm/cmpxchg.h:72:1: note: in expansion of macro '__XCHG_CASE'
- 72 | __XCHG_CASE(w, , mb_4, dmb ish, nop, , a, l, "memory")
- | ^~~~~~~~~~~
- In file included from kernel/panic.c:11:
- include/linux/debug_locks.h:10:12: note: while referencing 'debug_locks'
- 10 | extern int debug_locks;
- | ^~~~~~~~~~~
- make[1]: *** [scripts/Makefile.build:278: kernel/panic.o] Error 1
- make[1]: *** Deleting file 'kernel/panic.o'
- make: *** [Makefile:1036: kernel] Error 2
复制代码 |
|