LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 781|回复: 4

第二次编译 GCC 时出错,请大家看看

[复制链接]
发表于 2005-6-19 21:52:04 | 显示全部楼层 |阅读模式
试了好几次,在第二次编译 GCC 时在值行完以下几条命令时
expect -c "spawn ls"
patch -Np1 -i ../gcc-3.4.1-no_fixincludes-1.patch
patch -Np1 -i ../gcc-3.4.1-specs-1.patch

../gcc-3.4.1/configure --prefix=/tools \
    --libexecdir=/tools/lib --with-local-prefix=/tools \
    --enable-clocale=gnu --enable-shared \
    --enable-threads=posix --enable-__cxa_atexit \
    --enable-languages=c,c++ --disable-libstdcxx-pch

make 时均不出错

然后 make -k check 时确出现下列错误

make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [check-recursive] Error 1
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make: *** [check-target-libstdc++-v3] Error 2
make[1]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make: Target `check' not remade because of errors.


不知道问题出在哪里, 而且下面的第二次编译 binutils 也无法通过
发表于 2005-6-20 12:39:02 | 显示全部楼层
编译的版本?

binutils的错误是什么?


我一般不make check的。。。麻烦,浪费时间。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-21 21:58:16 | 显示全部楼层
6.0的版本

在第二次编译binutils 之前,

第二次编译 Gcc 出错是否对这个也有影响呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-21 22:04:06 | 显示全部楼层
make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [check-recursive] Error 1
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make: *** [check-target-libstdc++-v3] Error 2
make[1]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make: Target `check' not remade because of errors.

这是第二次编译Gcc出错的信息
回复 支持 反对

使用道具 举报

发表于 2005-6-21 23:27:35 | 显示全部楼层
你别make check,直接进行下去。试试?。。我基本没碰到什么问题的。。

或者用glibc-2.3.5。。别用cvs的。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表