Fetch the repository succeeded.
CC arch/arm64/kernel/ipi_nmi.o
arch/arm64/kernel/ipi_nmi.c: In function ‘ipi_nmi_handler’:
arch/arm64/kernel/ipi_nmi.c:54:7: error: implicit declaration of function ‘kgdb_nmicallback’ -Werror=implicit-function-declaration]
54 | if (!kgdb_nmicallback(cpu, get_irq_regs()))
| ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:279: arch/arm64/kernel/ipi_nmi.o] Error 1
make[1]: *** [scripts/Makefile.build:496: arch/arm64/kernel] Error 2
make: *** [Makefile:1806: arch/arm64] Error 2
make: *** Waiting for unfinished jobs....
kgdb_nmicallback函数的使用导致了一个warning,在kernel的Makefile中指定了-Werror,warning一律视为error,编译将无法继续进行。
希望得到解决方法:关闭某配置项绕开或消除此Warning
Hey gokwok_rs, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot .
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.
config 文件提供一下,你用的不是 openeuler_defconfig 是吧?
可以临时打开 CONFIG_KGDB 试试 ,修复补丁随后发出
可以临时打开 CONFIG_KGDB 试试 ,修复补丁随后发出
Sign in to comment