Toybrick
标题:
编译rk356x kernel 出错 arm-linux-gnueabi-gcc: error: unrecognized comman...
[打印本页]
作者:
LiuYang
时间:
2022-7-21 15:50
标题:
编译rk356x kernel 出错 arm-linux-gnueabi-gcc: error: unrecognized comman...
arm-linux-gnueabi-gcc: error: unrecognized command line option '-mgeneral-regs-only'
scripts/Makefile.build:333: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 1
make[2]: *** Waiting for unfinished jobs....
HOSTCC scripts/dtc/fstree.o
HOSTCC scripts/dtc/data.o
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/extract-cert
scripts/Makefile.build:637: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/srcpos.o
CC kernel/bounds.s
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/dtc/util.o
arm-linux-gnueabi-gcc: error: unrecognized command line option '-mgeneral-regs-only'
Kbuild:21: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 1
make[1]: *** Waiting for unfinished jobs....
YACC scripts/dtc/dtc-parser.tab.h
LEX scripts/dtc/dtc-lexer.lex.c
UPD include/generated/timeconst.h
Makefile:1244: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
make: *** Waiting for unfinished jobs....
YACC scripts/dtc/dtc-parser.tab.c
HOSTCC scripts/dtc/dtc-lexer.lex.o
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTLD scripts/dtc/dtc
Makefile:1210: recipe for target 'scripts' failed
make: *** [scripts] Error 2
ERROR: Running build_kernel failed!
ERROR: exit code 2 from line 656:
make ARCH=$RK_ARCH $RK_KERNEL_DTS.img -j$RK_JOBS
作者:
feelthat
时间:
2022-9-28 16:25
search all build scripts and remove -mgeneral-regs-only
欢迎光临 Toybrick (https://t.rock-chips.com/)
Powered by Discuz! X3.3