We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
大佬你好,我用的gcc8版本工具链编译,刚开始就报错了,之前的分支用gcc8没问题的啊,😪😪
报错如下
HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/fstree.o aarch64-linux-gnu-gcc: error: unrecognized command line option ‘-ftrivial-auto-var-init=pattern’ ../scripts/Makefile.build:159: recipe for target 'scripts/mod/devicetable-offsets.s' failed make[3]: *** [scripts/mod/devicetable-offsets.s] Error 1 make[3]: *** Waiting for unfinished jobs.... HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/util.o HOSTCC scripts/dtc/data.o SHIPPED scripts/dtc/dtc-parser.tab.c SHIPPED scripts/dtc/dtc-parser.tab.h SHIPPED scripts/dtc/dtc-lexer.lex.c aarch64-linux-gnu-gcc: error: unrecognized command line option ‘-ftrivial-auto-var-init=pattern’ UPD include/config/kernel.release HOSTCC scripts/selinux/genheaders/genheaders ../scripts/Makefile.build:313: recipe for target 'scripts/mod/empty.o' failed make[3]: *** [scripts/mod/empty.o] Error 1 HOSTCC scripts/selinux/mdp/mdp HOSTCC scripts/dtc/dtc-parser.tab.o HOSTCC scripts/dtc/dtc-lexer.lex.o Using .. as source for kernel ../scripts/Makefile.build:599: recipe for target 'scripts/mod' failed make[2]: *** [scripts/mod] Error 2 make[2]: *** Waiting for unfinished jobs.... CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h CHK include/generated/timeconst.h CC kernel/bounds.s aarch64-linux-gnu-gcc: error: unrecognized command line option ‘-ftrivial-auto-var-init=pattern’ .././Kbuild:19: recipe for target 'kernel/bounds.s' failed make[2]: *** [kernel/bounds.s] Error 1 make[2]: *** Waiting for unfinished jobs.... UPD include/generated/timeconst.h /root/prerelease/p-miui-new/Makefile:1142: recipe for target 'prepare0' failed make[1]: *** [prepare0] Error 2 make[1]: *** Waiting for unfinished jobs.... HOSTLD scripts/dtc/dtc /root/prerelease/p-miui-new/Makefile:560: recipe for target 'scripts' failed make[1]: *** [scripts] Error 2 make[1]: Leaving directory '/root/prerelease/p-miui-new/out' Makefile:152: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 root@ubuntu:~/prerelease/p-miui-new#
不知道该如何解决,百度谷歌都找了没有实际性解决问题的方法,烦劳大佬帮慢看一下,谢谢😊😊
The text was updated successfully, but these errors were encountered:
No branches or pull requests
大佬你好,我用的gcc8版本工具链编译,刚开始就报错了,之前的分支用gcc8没问题的啊,😪😪
报错如下
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/dtc/fstree.o
aarch64-linux-gnu-gcc: error: unrecognized command line option ‘-ftrivial-auto-var-init=pattern’
../scripts/Makefile.build:159: recipe for target 'scripts/mod/devicetable-offsets.s' failed
make[3]: *** [scripts/mod/devicetable-offsets.s] Error 1
make[3]: *** Waiting for unfinished jobs....
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/util.o
HOSTCC scripts/dtc/data.o
SHIPPED scripts/dtc/dtc-parser.tab.c
SHIPPED scripts/dtc/dtc-parser.tab.h
SHIPPED scripts/dtc/dtc-lexer.lex.c
aarch64-linux-gnu-gcc: error: unrecognized command line option ‘-ftrivial-auto-var-init=pattern’
UPD include/config/kernel.release
HOSTCC scripts/selinux/genheaders/genheaders
../scripts/Makefile.build:313: recipe for target 'scripts/mod/empty.o' failed
make[3]: *** [scripts/mod/empty.o] Error 1
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTCC scripts/dtc/dtc-lexer.lex.o
Using .. as source for kernel
../scripts/Makefile.build:599: recipe for target 'scripts/mod' failed
make[2]: *** [scripts/mod] Error 2
make[2]: *** Waiting for unfinished jobs....
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CHK include/generated/timeconst.h
CC kernel/bounds.s
aarch64-linux-gnu-gcc: error: unrecognized command line option ‘-ftrivial-auto-var-init=pattern’
.././Kbuild:19: recipe for target 'kernel/bounds.s' failed
make[2]: *** [kernel/bounds.s] Error 1
make[2]: *** Waiting for unfinished jobs....
UPD include/generated/timeconst.h
/root/prerelease/p-miui-new/Makefile:1142: recipe for target 'prepare0' failed
make[1]: *** [prepare0] Error 2
make[1]: *** Waiting for unfinished jobs....
HOSTLD scripts/dtc/dtc
/root/prerelease/p-miui-new/Makefile:560: recipe for target 'scripts' failed
make[1]: *** [scripts] Error 2
make[1]: Leaving directory '/root/prerelease/p-miui-new/out'
Makefile:152: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
root@ubuntu:~/prerelease/p-miui-new#
不知道该如何解决,百度谷歌都找了没有实际性解决问题的方法,烦劳大佬帮慢看一下,谢谢😊😊
The text was updated successfully, but these errors were encountered: