@shuijingyelong 已解决,环境变量问题
S
shuijingyelong 发布的帖子
-
回复: make -j32编译报错
@whycan 确实是缺bison包,ubuntu14.04下载不了,使用
wget https://ftp.gnu.org/gnu/bison/bison-3.7.4.tar.gz --no-check-certificate
下载,教程
https://blog.csdn.net/weixin_68683692/article/details/138467311 -
编译boot时执行make报错
source build/envsetup.sh lunch 2
上面都执行了,执行下面make是报错,这是什么问题?
book@100ask:~/Tina_SDK/tina-d1-h$ make ===This's tina environment.=== d1-h_nezha d1-h d1-h-nezha build_boot platform:sun20iw1p1 o_option:spl Prepare toolchain ... suport_board:d1-h --------build for platform:sun20iw1p1 mode:all board:d1-h------------------- platform set to sun20iw1p1 /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/tools/generate_hash_header_file.sh > /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/include/commit_info.h.tmp if [ -r /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/include/commit_info.h ] && cmp -s /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/include/commit_info.h /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/include/commit_info.h.tmp; then rm -f /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/include/commit_info.h.tmp; else echo ' UPD /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/include/commit_info.h'; mv /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/include/commit_info.h.tmp /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/include/commit_info.h; fi make -C /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/fes fes arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt CHK /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/include/config.h arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt CHK /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/autoconf.mk UPD /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/include/config.h UPD /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/autoconf.mk make -C /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/arch/riscv/cpu/riscv64/ arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt make -C /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/board/sun20iw1p1/ arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt make -C /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/common/ arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt make -C /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/drivers/ arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt make -C /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/fes/main/ arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt make[2]: *** No rule to make target '.depend', needed by 'all'. Stop. arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt Makefile:98: recipe for target '/home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/arch/riscv/cpu/riscv64/libarch.o' failed make[1]: *** [/home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/arch/riscv/cpu/riscv64/libarch.o] Error 2 make[1]: *** Waiting for unfinished jobs.... arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/mk/config.mk:120: recipe for target 'board.o' failed make[2]: *** [board.o] Error 1 Makefile:98: recipe for target '/home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/board/sun20iw1p1/libboard.o' failed make[1]: *** [/home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/board/sun20iw1p1/libboard.o] Error 2 arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt make[2]: *** No rule to make target '.depend', needed by 'all'. Stop. Makefile:98: recipe for target '/home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/fes/main/libmain.o' failed make[1]: *** [/home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/fes/main/libmain.o] Error 2 arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt make[2]: *** No rule to make target '.depend', needed by 'all'. Stop. Makefile:98: recipe for target '/home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/drivers/libdrivers.o' failed make[1]: *** [/home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/drivers/libdrivers.o] Error 2 arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-march=rv64gcvxthead’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv5tej armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8-m.base armv8-m.main armv8-m.main+dsp armv8.1-a armv8.2-a armv8.2-a+fp16 iwmmxt iwmmxt2 native arm-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’ arm-linux-gnueabi-gcc: note: valid arguments to ‘-mabi=’ are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt /home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/mk/config.mk:120: recipe for target 'string.o' failed make[2]: *** [string.o] Error 1 Makefile:98: recipe for target '/home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/common/libcommon.o' failed make[1]: *** [/home/book/Tina_SDK/tina-d1-h/lichee/brandy-2.0/spl/common/libcommon.o] Error 2 make[1]: *** wait: No child processes. Stop. Makefile:175: recipe for target 'all' failed make: *** [all] Error 2 mboot0 stop for build error in brandy, Please check! #### make boot0 failed!