riscv-tools 设置要求?

Posted

技术标签:

【中文标题】riscv-tools 设置要求?【英文标题】:riscv-tools Setup requirements? 【发布时间】:2014-12-22 06:30:28 【问题描述】:

我对 RISCV 软件工具很感兴趣,并且有一些 熟悉linux和工具链。我想在我的系统上设置 riscv-tools 在 ubuntu 14.04 - 32 位中运行。我尝试了github中给出的步骤和 构建失败。这个版本有什么基本要求吗?

错误日志:

configure: WARNING: decimal float is not supported for this target, ignored
In file included from ../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
In file included from ../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
In file included from ../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
In file included from ../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
In file included from ../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'In file included from ../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'In file included from ../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'

../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'

In file included from ../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'In file included from ../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'

../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'

../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
In file included from ../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'make[3]: *** [_enable_execute_stack.o] Error 1
make[3]: 
*** Waiting for unfinished jobs....
make[3]: *** [_lshrdi3.o] Error 1
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
make[3]: *** [_ashrdi3.o] Error 1
make[3]: *** [_muldi3.o] Error 1
make[3]: *** [_cmpdi2.o] Error 1
make[3]: *** [__main.o] Error 1
make[3]: *** [_clear_cache.o] Error 1
In file included from ../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'make[3]: *** [_negdi2.o] Error 1

../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
In file included from ../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
make[3]: *** [_ucmpdi2.o] Error 1
In file included from ../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'make[3]: *** [_absvdi2.o] Error 1
make[3]: *** [_ashldi3.o] Error 1
make[3]: *** [_absvsi2.o] Error 1
In file included from ../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'

../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'make[3]: *** [_addvdi3.o] Error 1

make[3]: *** [_trampoline.o] Error 1
In file included from ../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
make[3]: *** [_addvsi3.o] Error 1
In file included from ../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
In file included from ../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
In file included from ../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
make[5]: *** [_muldi3.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [_lshrdi3.o] Error 1
make[5]: *** [_negdi2.o] Error 1
In file included from ../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
make[5]: *** [_ashldi3.o] Error 1
In file included from ../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
In file included from ../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
In file included from ../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
In file included from ../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.c:57:0:
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:138:1: error: no data type for mode 'TI'
../../../../build-gcc-newlib-src/libgcc/../gcc/libgcc2.h:139:1: error: no data type for mode 'TI'
make[5]: *** [_cmpdi2.o] Error 1
make[5]: *** [_ashrdi3.o] Error 1
make[5]: *** [_clear_cache.o] Error 1
make[5]: *** [_ucmpdi2.o] Error 1
make[4]: *** [multi-do] Error 1
make[3]: *** [all-multi] Error 2
make[2]: *** [all-target-libgcc] Error 2
make[1]: *** [all] Error 2
make: *** [build-gcc-newlib] Error 2

【问题讨论】:

【参考方案1】:

截至 2014 年 10 月 27 日,构建 RISC-V 工具链需要 64 位系统。

【讨论】:

以上是关于riscv-tools 设置要求?的主要内容,如果未能解决你的问题,请参考以下文章

oracle12c设置密码复杂度要求

离子安全存储 - 要求用户设置锁定屏幕

如何设置最低要求的 iOS 版本?

订阅产品不可恢复,为啥 Apple 要求我设置恢复按钮?

Laravel - 未按要求设置会话存储

extension.binding 的惰性要求没有设置绑定字段