-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
我的操作系统架构
Linux localhost 5.4.0-156-generic #173-Ubuntu SMP Tue Jul 11 07:25:14 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
我在该服务器上编译构建项目无法编译通过
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-156-generic'
CC [M] /root/kernel-inline-hook/utils/p_memory.o
In file included from ././include/linux/compiler_types.h:68,
from <command-line>:
./arch/arm64/include/asm/jump_label.h: In function ‘arm64_kernel_use_ng_mappings’:
./include/linux/compiler-gcc.h:107:38: warning: asm operand 0 probably doesn’t match constraints
107 | #define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
| ^~~
./arch/arm64/include/asm/jump_label.h:38:2: note: in expansion of macro ‘asm_volatile_goto’
38 | asm_volatile_goto(
| ^~~~~~~~~~~~~~~~~
./include/linux/compiler-gcc.h:107:38: warning: asm operand 0 probably doesn’t match constraints
107 | #define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
| ^~~
./arch/arm64/include/asm/jump_label.h:21:2: note: in expansion of macro ‘asm_volatile_goto’
21 | asm_volatile_goto(
| ^~~~~~~~~~~~~~~~~
./include/linux/compiler-gcc.h:107:38: warning: asm operand 0 probably doesn’t match constraints
107 | #define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
| ^~~
./arch/arm64/include/asm/jump_label.h:21:2: note: in expansion of macro ‘asm_volatile_goto’
21 | asm_volatile_goto(
| ^~~~~~~~~~~~~~~~~
./include/linux/compiler-gcc.h:107:38: error: impossible constraint in ‘asm’
107 | #define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
| ^~~
./arch/arm64/include/asm/jump_label.h:38:2: note: in expansion of macro ‘asm_volatile_goto’
38 | asm_volatile_goto(
| ^~~~~~~~~~~~~~~~~
./include/linux/compiler-gcc.h:107:38: error: impossible constraint in ‘asm’
107 | #define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
| ^~~
./arch/arm64/include/asm/jump_label.h:21:2: note: in expansion of macro ‘asm_volatile_goto’
21 | asm_volatile_goto(
| ^~~~~~~~~~~~~~~~~
./include/linux/compiler-gcc.h:107:38: error: impossible constraint in ‘asm’
107 | #define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
| ^~~
./arch/arm64/include/asm/jump_label.h:21:2: note: in expansion of macro ‘asm_volatile_goto’
21 | asm_volatile_goto(
| ^~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:270: /root/kernel-inline-hook/utils/p_memory.o] Error 1
make[1]: *** [Makefile:1774: /root/kernel-inline-hook] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-156-generic'
make: *** [Makefile:21: kernel_modules] Error 2
root@localhost:~/kernel-inline-hookMetadata
Metadata
Assignees
Labels
No labels