LinuxSir.cn,穿越时空的Linuxsir!

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

gcc 第2次编译的问题

[复制链接]
发表于 2004-12-1 17:34:56 | 显示全部楼层 |阅读模式
我在编译前把第一次编译的 gcc-build目录里面的文件都rm掉了,
不知道会产生什么后果。

在第2次编译后 make -k check  花了n长的时间
提交的测试报告 和文档中给的连接相比较 有不少的出入:
lfs:/mnt/lfs/sources$./gcc-3.4.1/contrib/test_summary
cat: ./config.status: No such file or directory cat <<'EOF' | Native configuration is i686-pc-linux-gnu

                === g++ tests ===


Running target unix
FAIL: g++.dg/pch/empty.C -O2 -g assembly comparison
WARNING: g++.old-deja/g++.mike/p10769a.C compilation failed to produce executable
WARNING: g++.old-deja/g++.other/enum5.C compilation failed to produce executableXPASS: g++.old-deja/g++.other/init5.C execution test
WARNING: g++.old-deja/g++.pt/friend44.C compilation failed to produce executable
                === g++ Summary ===

# of expected passes            9638
# of unexpected failures        1
# of unexpected successes       1
# of expected failures          67
# of unsupported tests          32
/mnt/lfs/sources/gcc-build/gcc/testsuite/../g++ version 3.4.1

                === gcc tests ===


Running target unix
FAIL: gcc.c-torture/execute/va-arg-25.c execution,  -Os
FAIL: gcc.dg/pch/common-1.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/cpp-1.c  -O0  (test for excess errors)
FAIL: gcc.dg/pch/cpp-2.c  -O0  (test for excess errors)
FAIL: gcc.dg/pch/decl-1.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/decl-1.c  -O0  (test for excess errors)
FAIL: gcc.dg/pch/decl-1.c  -Os  (test for excess errors)
FAIL: gcc.dg/pch/decl-2.c  -O0  (test for excess errors)
FAIL: gcc.dg/pch/decl-2.c  -O1  (test for excess errors)
FAIL: gcc.dg/pch/decl-3.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/decl-4.c  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: gcc.dg/pch/empty.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/except-1.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/global-1.c -O0 -g (test for excess errors)
FAIL: gcc.dg/pch/global-1.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/inline-1.c  -O1  (test for excess errors)
FAIL: gcc.dg/pch/inline-1.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/inline-2.c  -O0  (test for excess errors)
FAIL: gcc.dg/pch/inline-2.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/pch/inline-3.c  -O0  (test for excess errors)
FAIL: gcc.dg/pch/inline-3.c  -O1  (test for excess errors)
FAIL: gcc.dg/pch/macro-3.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/pch/static-1.c  -Os  (test for excess errors)
FAIL: gcc.dg/pch/static-2.c  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: gcc.dg/pch/static-3.c  -O0  (test for excess errors)
FAIL: gcc.dg/pch/static-3.c  -O2  (test for excess errors)
FAIL: gcc.dg/pch/static-3.c  -O3 -fomit-frame-pointer  (test for excess errors)

                === gcc Summary ===

# of expected passes            24549
# of unexpected failures        27
# of expected failures          70
# of untested testcases         33
# of unsupported tests          191
/mnt/lfs/sources/gcc-build/gcc/xgcc version 3.4.1


                === libstdc++-v3 check-abi Summary ===

# of added symbols:              298
# of missing symbols:            284
# of incompatible symbols:       284
                === libstdc++ tests ===


Running target unix
FAIL: ext/enc_filebuf/char/13189.cc (test for excess errors)
WARNING: ext/enc_filebuf/char/13189.cc compilation failed to produce executable
FAIL: ext/enc_filebuf/wchar_t/13189.cc (test for excess errors)
WARNING: ext/enc_filebuf/wchar_t/13189.cc compilation failed to produce executable
WARNING: program timed out.
FAIL: thread/pthread1.cc execution test

                === libstdc++ Summary ===

# of expected passes            2691
# of unexpected failures        3
# of expected failures          6

Compiler version: 3.4.1
Platform: i686-pc-linux-gnu

EOF
 楼主| 发表于 2004-12-1 17:36:28 | 显示全部楼层
FAIL: gcc.dg/pch/common-1.c -O2 (test for excess errors)
这个错误是关于 pch 的 第2次编译不需要pch ,猜想这类错误没有影响 对么?
 楼主| 发表于 2004-12-1 17:37:44 | 显示全部楼层
=== gcc Summary ===
中指出的错误 比
http://gcc.gnu.org/ml/gcc-testresults/2004-07/msg00179.html
指出的多
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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