求助,youbest 的CLFS.编译工具链的Binutils时出错
时间:2009-10-18
来源:互联网
进行到../binutils-2.19.1/configure --prefix=/tools \
--with-lib-path=/tools/lib --disable-nls \
--enable-shared --enable-64-bit-bfd --disable-multilib
时,提示:
checking for C compiler default output file name... configure: error: in `/64_system/build/binutils-build':
configure: error: C compiler cannot create executables
See `config.log' for more details.
config.log文件中的提示是:
configure:1549: checking build system type
configure:1567: result: x86_64-unknown-linux-gnu
configure:1602: checking host system type
configure:1616: result: x86_64-unknown-linux-gnu
configure:1624: checking target system type
configure:1638: result: x86_64-unknown-linux-gnu
configure:1682: checking for a BSD-compatible install
configure:1748: result: /usr/bin/install -c
configure:1759: checking whether ln works
configure:1781: result: yes
configure:1785: checking whether ln -s works
configure:1789: result: yes
configure:2983: checking for gcc
configure:2999: found /tools/bin/gcc
configure:3009: result: gcc
configure:3255: checking for C compiler version
configure:3258: gcc --version </dev/null >&5
gcc (GCC) 4.4.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3261: $? = 0
configure:3263: gcc -v </dev/null >&5
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.4.1/configure --prefix=/tools --with-local-prefix=/tools --disable-nls --disable-shared --without-headers --with-newlib --disable-decimal-float --disable-threads --enable-languages=c --disable-multilib --disable-bootstrap
Thread model: single
gcc version 4.4.1 (GCC)
configure:3266: $? = 0
configure:3268: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:3271: $? = 1
configure:3294: checking for C compiler default output file name
configure:3297: gcc conftest.c >&5
gcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:3300: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3338: error: in `/64_system/build/binutils-build':
configure:3341: error: C compiler cannot create executables
See `config.log' for more details.
请问各位高手该如何解决?
--with-lib-path=/tools/lib --disable-nls \
--enable-shared --enable-64-bit-bfd --disable-multilib
时,提示:
checking for C compiler default output file name... configure: error: in `/64_system/build/binutils-build':
configure: error: C compiler cannot create executables
See `config.log' for more details.
config.log文件中的提示是:
configure:1549: checking build system type
configure:1567: result: x86_64-unknown-linux-gnu
configure:1602: checking host system type
configure:1616: result: x86_64-unknown-linux-gnu
configure:1624: checking target system type
configure:1638: result: x86_64-unknown-linux-gnu
configure:1682: checking for a BSD-compatible install
configure:1748: result: /usr/bin/install -c
configure:1759: checking whether ln works
configure:1781: result: yes
configure:1785: checking whether ln -s works
configure:1789: result: yes
configure:2983: checking for gcc
configure:2999: found /tools/bin/gcc
configure:3009: result: gcc
configure:3255: checking for C compiler version
configure:3258: gcc --version </dev/null >&5
gcc (GCC) 4.4.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3261: $? = 0
configure:3263: gcc -v </dev/null >&5
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.4.1/configure --prefix=/tools --with-local-prefix=/tools --disable-nls --disable-shared --without-headers --with-newlib --disable-decimal-float --disable-threads --enable-languages=c --disable-multilib --disable-bootstrap
Thread model: single
gcc version 4.4.1 (GCC)
configure:3266: $? = 0
configure:3268: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:3271: $? = 1
configure:3294: checking for C compiler default output file name
configure:3297: gcc conftest.c >&5
gcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:3300: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3338: error: in `/64_system/build/binutils-build':
configure:3341: error: C compiler cannot create executables
See `config.log' for more details.
请问各位高手该如何解决?
作者: btyouth 发布时间: 2009-10-18
这是哪本手册?
第几章?第几节?
缩主系统是啥?
第几章?第几节?
缩主系统是啥?
作者: d00m3d 发布时间: 2009-10-18
gcc: Internal error: Segmentation fault ??
你先确定你的机器是否是64位的,另外你的内核是否是64位的,内核的查看可以使用
uname -a
你先确定你的机器是否是64位的,另外你的内核是否是64位的,内核的查看可以使用
uname -a
作者: youbest 发布时间: 2009-10-22
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28