LinuxSir.cn,穿越时空的Linuxsir!

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

6.12. GCC-4.0.3

[复制链接]
发表于 2007-12-16 21:56:22 | 显示全部楼层 |阅读模式
我在做6.12. GCC-4.0.3的时候 ,make 无错误 ,但make -k check 以后发现,说什么无法check because of errors(不记得了),然后准备在 ../gcc-4.0.3/contrib/test_summary 查看测试结果 ,如下:
--prefix=/usr --libe
xecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++
EOF
Mail -s "Results for 4.0.3 testsuite on i686-pc-linux-gnu" gcc-testresults@gcc.gnu.org &&
mv /sources/gcc-build/./gcc/testsuite/g++.sum /sources/gcc-build/./gcc/testsuite/g++.sum.sent &&
mv /sources/gcc-build/./gcc/testsuite/gcc.sum /sources/gcc-build/./gcc/testsuite/gcc.sum.sent &&
mv /sources/gcc-build/./i686-pc-linux-gnu/libmudflap/testsuite/libmudflap.sum /sources/gcc-build/./i686-pc-linux-gnu/libmudflap/testsuite/libmudflap.sum.sent &&
mv /sources/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum /sources/gcc-build/./i686-pc-linux-gnu/libstdc++-v3/testsuite/libstdc
在make -k check 一下
Schedule of variations:
make[1]: autogen: Command not found
> make[1]: *** [check] Error 127
> make[1]: Leaving directory `/sources/gcc-build/fixincludes'
> make: *** [check-fixincludes] Error 2
> make[1]: Entering directory `/sources/gcc-build/gcc'
> (rootme=`${PWDCMD-pwd}`; export rootme; \
> srcdir=`cd ../../gcc-4.0.3/gcc; ${PWDCMD-pwd}` ; export srcdir ; \
> cd testsuite; \
> EXPECT=expect ; export EXPECT ; \
> if [ -f ${rootme}/../expect/expect ] ; then  \
>    TCL_LIBRARY=`cd .. ; cd ../../gcc-4.0.3/gcc/../tcl/library ; ${PWDCMD-pwd}` ; \
>     export TCL_LIBRARY ; fi ; \
> runtest --tool gcc )
> WARNING: Couldn't find the global config file.
    unix
。。。(中间好象 缺了点东西,我复制的时候不小心了)
Running target unix
Using /tools/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /tools/share/dejagnu/config/unix.exp as generic interface file for target.
Using /sources/gcc-4.0.3/gcc/testsuite/config/default.exp as tool-and-target-specific interface file.
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.c-torture/compile/compile.exp ..
怎么办 ?
实在找不出原因了,我现在继续做下去了,可以挽回不 ?
这也使自己学会了一下东西 !以后错误一定要记录 !
发表于 2007-12-16 22:47:56 | 显示全部楼层
跳过 check
回复 支持 反对

使用道具 举报

发表于 2007-12-16 23:04:10 | 显示全部楼层
从来不check,最后照样用,第一是费时,第二是出了问题咱也搞不明白
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-17 13:20:07 | 显示全部楼层
好象都没有问题
回复 支持 反对

使用道具 举报

发表于 2007-12-18 07:15:41 | 显示全部楼层
关於 check 的问题,手册里有提示的
回复 支持 反对

使用道具 举报

发表于 2008-12-17 17:06:36 | 显示全部楼层
我也出现了同样的问题:

root:/sources/gcc-build# make -k check
make[1]: Entering directory `/sources/gcc-build/fixincludes'
autogen -T ../../gcc-4.0.3/fixincludes/check.tpl ../../gcc-4.0.3/fixincludes/inclhack.def
make[1]: autogen: Command not found
make[1]: *** [check] Error 127
make[1]: Leaving directory `/sources/gcc-build/fixincludes'
make: *** [check-fixincludes] Error 2
make[1]: Entering directory `/sources/gcc-build/gcc'
Making a new config file...
echo "set tmpdir /sources/gcc-build/gcc/testsuite" >> ./tmp0
test -d testsuite || mkdir testsuite
rm -f testsuite/site.exp
sed '/set tmpdir/ s|testsuite|testsuite|' < site.exp > testsuite/site.exp
(rootme=`${PWDCMD-pwd}`; export rootme; \
srcdir=`cd ../../gcc-4.0.3/gcc; ${PWDCMD-pwd}` ; export srcdir ; \
cd testsuite; \
EXPECT=expect ; export EXPECT ; \
if [ -f ${rootme}/../expect/expect ] ; then  \
   TCL_LIBRARY=`cd .. ; cd ../../gcc-4.0.3/gcc/../tcl/library ; ${PWDCMD-pwd}` ; \
    export TCL_LIBRARY ; fi ; \
runtest --tool gcc )
WARNING: Couldn't find the global config file.
Test Run By root on Wed Dec 17 08:25:05 2008
Native configuration is i686-pc-linux-gnu

                === gcc tests ===

Schedule of variations:
    unix

Running target unix
Using /tools/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /tools/share/dejagnu/config/unix.exp as generic interface file for target.
Using /sources/gcc-4.0.3/gcc/testsuite/config/default.exp as tool-and-target-specific interface file.
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.c-torture/compile/compile.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.c-torture/execute/execute.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.c-torture/unsorted/unsorted.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/charset/charset.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/compat/compat.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/compat/struct-layout-1.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/cpp/cpp.exp ...
XPASS: gcc.dg/cpp/cmdlne-dI-M.c scan-file (^|\\n)cmdlne-dI-M.*:[^\\n]*cmdlne-dI-M.c
XPASS: gcc.dg/cpp/cmdlne-dM-M.c scan-file (^|\\n)cmdlne-dM-M[^\\n]*:[^\\n]*cmdlne-dM-M.c
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/cpp/trad/trad.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/debug/debug.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/dg.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/format/format.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/noncompile/noncompile.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/pch/pch.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/special/mips-abi.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/special/special.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/tls/tls.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/torture/dg-torture.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/tree-ssa/tree-ssa.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/vect/vect.exp ...
XPASS: gcc.dg/vect/vect-22.c scan-tree-dump-times vectorized 3 loops 1
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/vmx/vmx.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.dg/weak/weak.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.misc-tests/acker1.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.misc-tests/arm-isr.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.misc-tests/bprob.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.misc-tests/dhry.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.misc-tests/gcov.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.misc-tests/linkage.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.misc-tests/matrix1.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.misc-tests/mg.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.misc-tests/sieve.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.misc-tests/sort2.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.target/alpha/alpha.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.target/frv/frv.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.target/i386/i386.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.target/ia64/ia64.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.target/mips/mips.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.target/sparc/sparc.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.target/xstormy16/xstormy16.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/gcc.test-framework/test-framework.exp ...
skipping test framework tests, CHECK_TEST_FRAMEWORK is not defined

                === gcc Summary ===

# of expected passes                35544
# of unexpected successes        3
# of expected failures                92
# of untested testcases                28
# of unsupported tests                326
/sources/gcc-build/gcc/xgcc  version 4.0.3

make[1]: [check-gcc] Error 1 (ignored)
(rootme=`${PWDCMD-pwd}`; export rootme; \
srcdir=`cd ../../gcc-4.0.3/gcc; ${PWDCMD-pwd}` ; export srcdir ; \
cd testsuite; \
EXPECT=expect ; export EXPECT ; \
if [ -f ${rootme}/../expect/expect ] ; then  \
   TCL_LIBRARY=`cd .. ; cd ../../gcc-4.0.3/gcc/../tcl/library ; ${PWDCMD-pwd}` ; \
    export TCL_LIBRARY ; fi ; \
runtest --tool g++ )
WARNING: Couldn't find the global config file.
Test Run By root on Wed Dec 17 09:00:52 2008
Native configuration is i686-pc-linux-gnu

                === g++ tests ===

Schedule of variations:
    unix

Running target unix
Using /tools/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /tools/share/dejagnu/config/unix.exp as generic interface file for target.
Using /sources/gcc-4.0.3/gcc/testsuite/config/default.exp as tool-and-target-specific interface file.
Running /sources/gcc-4.0.3/gcc/testsuite/g++.dg/bprob/bprob.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/g++.dg/charset/charset.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/g++.dg/compat/compat.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/g++.dg/debug/debug.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/g++.dg/dg.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/g++.dg/gcov/gcov.exp ...
Running /sources/gcc-4.0.3/gcc/testsuite/g++.dg/pch/pch.exp ...
回复 支持 反对

使用道具 举报

发表于 2008-12-17 17:08:19 | 显示全部楼层
如果结果失败的话,那我可不可以跳过这个check,直接进行下面的安装操作啊?会不会影响到我后面的操作啊?请知道的朋友一起帮帮忙,谢谢大家了!
回复 支持 反对

使用道具 举报

发表于 2008-12-17 21:04:49 | 显示全部楼层
楼上看了手册的解释没?
回复 支持 反对

使用道具 举报

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

本版积分规则

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