ubuntu上linaro ABE的ARM Toolchain构建错误

问题描述

早上好

我几个月来一直在尝试为手臂构建gcc工具链。在我的研究中主要出于测试目的。我想将fortran添加到rmprofile和aprofile的可移植性中。我知道arm有一个用于aprofile,但没有一个用于rmprofile。

我已经尽力了。目前,我决定使用Linaro ABE,并且在gcc stage1中不断出错。特别是当它开始配置libstdc ++-v3时。我遍历了config.log,甚至不知道从哪里开始进行更正。我不适应要调整的库。我将非常感谢您的帮助。也将感谢任何有助于更好地理解这一点的链接。我已经粘贴了部分配置和生成文件日志。

$ /home/oad/abebuild/snapshots/gcc/libstdc++-v3/configure --srcdir=/home/oad/abebuild/snapshots
/gcc/libstdc++-v3 --cache-file=./config.cache
--with-cross-host=x86_64-unkNown-linux-gnu --with-gnu-as --with-gnu-ld --enable-lto --enable-shared --without-included-gettext --enable-nls --with-system-zlib --disable-sjlj-exceptions --enable-gnu-unique-object --enable-linker-build-id --disable-libstdcxx-pch --enable-c99 --enable-clocale=gnu --enable-libstdcxx-debug --enable-long-long --with-cloog=no --with-ppl=no --enable-multilib --with-multilib-list=rmprofile,aprofile --enable-threads=no --disable-multiarch --disable-libssp --disable-libquadmath --disable-threads --without-headers --with-newlib --disable-libmudflap --disable-bootstrap --disable-decimal-float --disable-libgomp --disable-libatomic --disable-libsanitizer --disable-plugins --disable-libitm --with-sysroot=/home/oad/abebuild/builds/sysroot-arm-eabi --disable-shared --with-glibc-version=2.18 --prefix=/home/oad/abebuild/builds/destdir/x86_64-unkNown-linux-gnu --enable-languages=c,c++,lto --program-transform-name=s&^&arm-none-eabi-& --disable-option-checking --with-target-subdir=arm-none-eabi --build=x86_64-unkNown-linux-gnu --host=arm-none-eabi --target=arm-none-eabI

uname -s = Linux uname -v = #168~14.04.1-Ubuntu SMP Sat Jan 19
11:26:28 UTC 2019

---------

checking stdbool.h usability... no checking stdbool.h presence... yes
configure: WARNING: stdbool.h: present but cannot be compiled
configure: WARNING: stdbool.h:     check for missing prerequisite
headers? configure: WARNING: stdbool.h: see the Autoconf documentation
configure: WARNING: stdbool.h:     section "Present But Cannot Be
Compiled" configure: WARNING: stdbool.h: proceeding with the
compiler's result checking for stdbool.h... no checking stdalign.h
usability... no checking stdalign.h presence... yes configure:
WARNING: stdalign.h: present but cannot be compiled configure:
WARNING: stdalign.h:     check for missing prerequisite headers?
configure: WARNING: stdalign.h: see the Autoconf documentation
configure: WARNING: stdalign.h:     section "Present But Cannot Be
Compiled" configure: WARNING: stdalign.h: proceeding with the
compiler's result checking for stdalign.h... no checking for the value
of EOF... configure: error: computing EOF Failed make[1]: ***
[configure-target-libstdc++-v3] Error 1 make[1]: Leaving directory
`/home/oad/abebuild/builds/x86_64-unkNown-linux-gnu/arm-none-eabi/gcc-stage1'
make: *** [all] Error 2 make: Leaving directory
`/home/oad/abebuild/builds/x86_64-unkNown-linux-gnu/arm-none-eabi/gcc-stage1'

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)