linux gcc 4.8.2,gcc4.8.2 编译异常

gcc4.8.2 编译错误 求助

checking for --enable-version-specific-runtime-libs... no

checking for --enable-generated-files-in-srcdir... no

checking build system type... i686-pc-linux-gnu

checking host system type... i686-lfs-linux-gnu

checking target system type... i686-lfs-linux-gnu

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for i686-lfs-linux-gnu-strip... /tools/i686-lfs-linux-gnu/bin/strip

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking for i686-lfs-linux-gnu-gcc... /LFS/sources/gcc-build/./gcc/xgcc -B/LFS/sources/gcc-build/./gcc/ -B/tools/i686-lfs-linux-gnu/bin/ -B/tools/i686-lfs-linux-gnu/lib/ -isystem /tools/i686-lfs-linux-gnu/include -isystem /tools/i686-lfs-linux-gnu/sys-include

checking for C compiler default output file name...

configure: error: in `/LFS/sources/gcc-build/i686-lfs-linux-gnu/libatomic':

configure: error: C compiler cannot create executables

See `config.log' for more details.

make[1]: *** [configure-target-libatomic] Error 1

make[1]: Leaving directory `/LFS/sources/gcc-build'

make: *** [all] Error 2

下面是config.log

This file contains any messages produced by compilers while

running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was

generated by GNU Autoconf 2.64.  Invocation command line was

$ ../gcc/configure --target=i686-lfs-linux-gnu --prefix=/tools --with-sysroot=/LFS --with-newlib --without-headers --with-local-prefix=/tools --with-native-system-header-dir=/tools/include --disable-nls --disable-shared --disable-multilib --disable-decimal-float --disable-threads --disable-libmudflap --disable-libssp --disable-libgomp --disable-libquadmath --enable-languages=c --with-mpfr-include=/LFS/sources/gcc-build/../gcc/mpfr/src --with-mpfr-lib=/LFS/sources/gcc-build/mpfr/src/.libs

## --------- ##

## Platform. ##

## --------- ##

hostname = zero-ubuntu

uname -m = i686

uname -r = 3.8.0-34-generic

uname -s = Linux

uname -v = #49~precise1-Ubuntu SMP Wed Nov 13 18:08:04 UTC 2013

/usr/bin/uname -p = unknown

/bin/uname -X     = unknown

/bin/arch              = unknown

/usr/bin/arch -k       = unknown

/usr/convex/getsysinfo = unknown

/usr/bin/hostinfo      = unknown

/bin/machine           = unknown

/usr/bin/oslevel       = unknown

/bin/universe          = unknown

PATH: /tools/bin

PATH: /bin

PATH: /usr/bin

## ----------- ##

## Core tests. ##

## ----------- ##

configure:2317: checking build system type

configure:2331: result: i686-pc-linux-gnu

configure:2378: checking host system type

configure:2391: result: i686-pc-linux-gnu

configure:2411: checking target system type

configure:2424: result: i686-lfs-linux-gnu

configure:2478: checking for a BSD-compatible install

configure:2546: result: /usr/bin/install -c

configure:2557: checking whether ln works

configure:2579: result: yes

configure:2583: checking whether ln -s works

configure:2587: result: yes

configure:2594: checking for a sed that does not truncate output

configure:2658: result: /bin/sed

configure:2667: checking for gawk

configure:2683: found /usr/bin/gawk

configure:2694: result: gawk

configure:3164: checking for libatomic support

configure:3174: result: yes

configure:3183: checking for libitm support

configure:3193: result: yes

configure:3202: checking for libsanitizer support

configure:3212: result: yes

configure:3936: checking for gcc

configure:3952: found /usr/bin/gcc

configure:3963: result: gcc

configure:4192: checking for C compiler version

configure:4201: gcc --version >&5

gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

Copyright (C) 2011 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值