> Dennis Clarke wrote:
>> If anyone has words of encouragement .. now would be a good time :-)
>
> Yeah, what Randy said. :) Anyway, yours is the type of testing, interest
> and feedback we need to keep this project alive and moving forward, so
> keep it coming. I know it's a bear to try to sort out all the failure
> issues, but any (little) thing that can be done to weed out bugs or test
> failures is indeed helpful.
Well GCC 4.2.3 just finished the testsuite and I have installed it. It looks
to be not bad :
root:/sources/build/gcc-4.2.3-build# ../gcc-4.2.3/contrib/test_summary
cat <<'EOF' |
LAST_UPDATED: Obtained from SVN: tags/gcc_4_2_3_release revision 132046
Native configuration is powerpc-unknown-linux-gnu
=== g++ tests ===
Running target unix
=== g++ Summary ===
# of expected passes 13655
# of expected failures 67
# of unsupported tests 104
/sources/build/gcc-4.2.3-build/gcc/testsuite/g++/../../g++ version 4.2.3
=== gcc tests ===
Running target unix
WARNING: program timed out.
FAIL: gcc.c-torture/compile/20001226-1.c -O2 (test for excess errors)
WARNING: program timed out.
FAIL: gcc.c-torture/compile/20001226-1.c -O3 -fomit-frame-pointer (test
for excess errors)
WARNING: program timed out.
FAIL: gcc.c-torture/compile/20001226-1.c -O3 -g (test for excess errors)
WARNING: program timed out.
FAIL: gcc.c-torture/compile/20001226-1.c -Os (test for excess errors)
UNRESOLVED: gcc.c-torture/execute/mayalias-2.c execution, -O3 -g
FAIL: gcc.dg/tree-ssa/loop-19.c scan-tree-dump-times MEM.(base: &|symbol: )a, 2
FAIL: gcc.dg/tree-ssa/loop-19.c scan-tree-dump-times MEM.(base: &|symbol: )c, 2
ERROR: tcl error sourcing
/sources/build/gcc-4.2.3/gcc/testsuite/gcc.misc-tests/linkage.exp.
ERROR: couldn't execute "file": no such file or directory
=== gcc Summary ===
# of expected passes 42691
# of unexpected failures 6
# of expected failures 115
# of unresolved testcases 1
# of untested testcases 28
# of unsupported tests 390
/sources/build/gcc-4.2.3-build/gcc/xgcc version 4.2.3
=== libgomp tests ===
Running target unix
=== libgomp Summary ===
# of expected passes 496
=== libmudflap tests ===
Running target unix
=== libmudflap Summary ===
# of expected passes 1814
=== libstdc++ tests ===
Running target unix
XPASS: 26_numerics/cmath/c99_classification_macros_c.cc (test for excess
errors)
WARNING: program timed out.
FAIL: ext/pb_ds/regression/hash_data_map_rand.cc (test for excess errors)
WARNING: ext/pb_ds/regression/hash_data_map_rand.cc compilation failed to
produce executable
WARNING: program timed out.
FAIL: ext/pb_ds/regression/tree_data_map_rand.cc (test for excess errors)
WARNING: ext/pb_ds/regression/tree_data_map_rand.cc compilation failed to
produce executable
WARNING: program timed out.
FAIL: ext/pb_ds/regression/tree_no_data_map_rand.cc (test for excess errors)
WARNING: ext/pb_ds/regression/tree_no_data_map_rand.cc compilation failed to
produce executable
=== libstdc++ Summary ===
# of expected passes 3846
# of unexpected failures 3
# of unexpected successes 1
# of expected failures 15
# of unsupported tests 316
Compiler version: 4.2.3
Platform: powerpc-unknown-linux-gnu
configure flags: --prefix=/usr --libexecdir=/usr/lib --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--disable-multilib --disable-bootstrap --enable-languages=c,c++
EOF
Mail -s "Results for 4.2.3 testsuite on powerpc-unknown-linux-gnu"
[EMAIL PROTECTED] &&
mv /sources/build/gcc-4.2.3-build/./gcc/testsuite/g++/g++.sum
/sources/build/gcc-4.2.3-build/./gcc/testsuite/g++/g++.sum.sent &&
mv /sources/build/gcc-4.2.3-build/./gcc/testsuite/gcc/gcc.sum
/sources/build/gcc-4.2.3-build/./gcc/testsuite/gcc/gcc.sum.sent &&
mv
/sources/build/gcc-4.2.3-build/./powerpc-unknown-linux-gnu/libgomp/testsuite/libgomp.sum
/sources/build/gcc-4.2.3-build/./powerpc-unknown-linux-gnu/libgomp/testsuite/libgomp.sum.sent
&&
mv
/sources/build/gcc-4.2.3-build/./powerpc-unknown-linux-gnu/libmudflap/testsuite/libmudflap.sum
/sources/build/gcc-4.2.3-build/./powerpc-unknown-linux-gnu/libmudflap/testsuite/libmudflap.sum.sent
&&
mv
/sources/build/gcc-4.2.3-build/./powerpc-unknown-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum
/sources/build/gcc-4.2.3-build/./powerpc-unknown-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum.sent
&&
mv /sources/build/gcc-4.2.3-build/./gcc/testsuite/g++/g++.log
/sources/build/gcc-4.2.3-build/./gcc/testsuite/g++/g++.log.sent &&
mv /sources/build/gcc-4.2.3-build/./gcc/testsuite/gcc/gcc.log
/sources/build/gcc-4.2.3-build/./gcc/testsuite/gcc/gcc.log.sent &&
mv
/sources/build/gcc-4.2.3-build/./powerpc-unknown-linux-gnu/libgomp/testsuite/libgomp.log
/sources/build/gcc-4.2.3-build/./powerpc-unknown-linux-gnu/libgomp/testsuite/libgomp.log.sent
&&
mv
/sources/build/gcc-4.2.3-build/./powerpc-unknown-linux-gnu/libmudflap/testsuite/libmudflap.log
/sources/build/gcc-4.2.3-build/./powerpc-unknown-linux-gnu/libmudflap/testsuite/libmudflap.log.sent
&&
mv
/sources/build/gcc-4.2.3-build/./powerpc-unknown-linux-gnu/libstdc++-v3/testsuite/libstdc++.log
/sources/build/gcc-4.2.3-build/./powerpc-unknown-linux-gnu/libstdc++-v3/testsuite/libstdc++.log.sent
&&
true
Common sense check looks fine also :
root:/sources/build# mkdir foo
root:/sources/build# cd foo
root:/sources/build/foo# echo 'main(){}' > dummy.c
root:/sources/build/foo# cc dummy.c -v -Wl,--verbose &> dummy.log
root:/sources/build/foo# readelf -l a.out | grep ': /lib'
[Requesting program interpreter: /lib/ld.so.1]
root:/sources/build/foo# grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.3/../../../crt1.o succeeded
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.3/../../../crti.o succeeded
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.3/../../../crtn.o succeeded
root:/sources/build/foo# grep -B3 '^ /usr/include' dummy.log
#include <...> search starts here:
/usr/local/include
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.3/include
/usr/include
root:/sources/build/foo# grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'
SEARCH_DIR("/usr/powerpc-unknown-linux-gnu/lib")
SEARCH_DIR("/usr/local/lib")
SEARCH_DIR("/lib")
SEARCH_DIR("/usr/lib");
root:/sources/build/foo# grep "/lib.*/libc.so.6 " dummy.log
attempt to open /lib/libc.so.6 succeeded
root:/sources/build/foo# grep found dummy.log
found ld.so.1 at /lib/ld.so.1
I guess I'll let out a little "yee haw". Quietly so as to not disturb
anyone. :-)
Dennis
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page