Here's the synopsis:
Been trying to compile LFS (from the latest svn version) on my laptop, I have
tried four times so far (please note I'm making use of JHLAFS). During all
the
four builds, gcc tests don't seem to be satisfactory as the number of
unexpected
failures is too high and the number of expected passes is too low. I have tried
changing the CFLAGS and tried to be conservative but, the result seems to be
the
same. The fourth time I chose to run tests both for the tools and the final
system. As I can see tests for all other packages are successful (All # tests
were successful) except for gcc ! The CFLAGS I used for the fourth build are
"-O3 -pipe -msse -msse2 -mmmx -march=native -mtune=native". The processor is an
Intel Penitum4 Mobile.
The only deviations from the SVN book are m4 (using 1.4.16), mpc (using 0.9),
less (using 446).
Here's the "grep -A7 Summ" output:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
=== libstdc++ Summary ===
FAIL: gcc.c-torture/execute/ieee/20010226-1.c compilation, -Os
FAIL: gcc.c-torture/execute/ieee/20011123-1.c compilation, -O0
FAIL: gcc.c-torture/execute/ieee/20011123-1.c compilation, -O1
FAIL: gcc.c-torture/execute/ieee/20011123-1.c compilation, -O2
FAIL: gcc.c-torture/execute/ieee/20011123-1.c compilation, -O3
-fomit-frame-pointer
FAIL: gcc.c-torture/execute/ieee/20011123-1.c compilation, -O3 -g
--
=== libstdc++ Summary ===
AR="ar"; export AR; \
RANLIB="ranlib"; export RANLIB; \
if [ -z "normal1" ] \
&& [ "-j" = "-j" ]; then \
make check-DEJAGNUnormal0 check-DEJAGNUnormal1 \
check-DEJAGNUnormal2 check-DEJAGNUnormal3; \
--
=== libstdc++ Summary ===
AR="ar"; export AR; \
RANLIB="ranlib"; export RANLIB; \
if [ -z "normal2" ] \
&& [ "-j" = "-j" ]; then \
make check-DEJAGNUnormal0 check-DEJAGNUnormal1 \
check-DEJAGNUnormal2 check-DEJAGNUnormal3; \
--
=== libstdc++ Summary ===
AR="ar"; export AR; \
RANLIB="ranlib"; export RANLIB; \
if [ -z "normal3" ] \
&& [ "-j" = "-j" ]; then \
make check-DEJAGNUnormal0 check-DEJAGNUnormal1 \
check-DEJAGNUnormal2 check-DEJAGNUnormal3; \
--
=== libstdc++ Summary ===
make[6]: Leaving directory
`/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/testsuite'
FAIL: gcc.c-torture/execute/ieee/pr28634.c compilation, -O3
-fomit-frame-pointer -funroll-loops
FAIL: gcc.c-torture/execute/ieee/pr28634.c compilation, -O3
-fomit-frame-pointer -funroll-all-loops -finline-functions
FAIL: gcc.c-torture/execute/ieee/pr28634.c compilation, -O3 -g
FAIL: gcc.c-torture/execute/ieee/pr28634.c compilation, -Os
FAIL: gcc.c-torture/execute/ieee/pr29302-1.c compilation, -O0
--
=== gcc Summary ===
# of expected passes 414
# of unexpected failures 11965
# of expected failures 33
# of unresolved testcases 866
# of unsupported tests 401
Couldn't determine version of /sources/gcc-build/gcc/xgcc: spawn failed
--
=== gcc Summary ===
# of unexpected failures 2692
# of unresolved testcases 2692
Couldn't determine version of /sources/gcc-build/gcc/xgcc: spawn failed
make[4]: [check-parallel-gcc_1] Error 1 (ignored)
test -d testsuite || mkdir testsuite
--
=== gcc Summary ===
# of unexpected failures 4628
# of unresolved testcases 4628
Couldn't determine version of /sources/gcc-build/gcc/xgcc: spawn failed
make[4]: [check-parallel-gcc_2] Error 1 (ignored)
test -d testsuite || mkdir testsuite
--
=== gcc Summary ===
# of expected passes 12
# of unexpected failures 7232
# of unresolved testcases 42
# of unsupported tests 118
Couldn't determine version of /sources/gcc-build/gcc/xgcc: spawn failed
--
=== gcc Summary ===
# of expected passes 564
# of unexpected failures 10695
# of unexpected successes 12
# of expected failures 29
# of unresolved testcases 93
# of unsupported tests 246
--
=== gcc Summary ===
# of unexpected failures 2409
# of unresolved testcases 380
# of unsupported tests 273
Couldn't determine version of /sources/gcc-build/gcc/xgcc: spawn failed
make[4]: [check-parallel-gcc_5] Error 1 (ignored)
--
=== gcc Summary ===
# of unexpected failures 2425
# of unresolved testcases 80
# of unsupported tests 1277
Couldn't determine version of /sources/gcc-build/gcc/xgcc: spawn failed
make[4]: [check-parallel-gcc_6] Error 1 (ignored)
--
=== g++ Summary ===
# of expected passes 6
# of unexpected failures 3543
# of unexpected successes 6
# of unresolved testcases 255
# of unsupported tests 188
Couldn't determine version of /sources/gcc-build/gcc/testsuite/g++/../../g++
--
=== g++ Summary ===
# of expected passes 210
# of unexpected failures 5655
# of unexpected successes 7
# of expected failures 18
# of unresolved testcases 3
# of unsupported tests 28
--
=== g++ Summary ===
# of expected passes 193
# of unexpected failures 9504
# of unexpected successes 33
# of expected failures 80
# of unresolved testcases 137
# of unsupported tests 224
--
=== libgomp Summary ===
# of unexpected failures 457
# of unsupported tests 64
make[5]: *** [check-DEJAGNU] Error 1
make[5]: Leaving directory
`/sources/gcc-build/i686-pc-linux-gnu/libgomp/testsuite'
make[4]: *** [check-am] Error 2
make[4]: Target `check' not remade because of errors.
--
=== libmudflap Summary ===
# of expected passes 6
# of unexpected failures 559
make[5]: *** [check-DEJAGNU] Error 1
make[5]: Leaving directory
`/sources/gcc-build/i686-pc-linux-gnu/libmudflap/testsuite'
make[4]: *** [check-am] Error 2
make[4]: Target `check' not remade because of errors.
--
=== g++ Summary ===
# of expected passes 409
# of unexpected failures 18702
# of unexpected successes 46
# of expected failures 98
# of unresolved testcases 395
# of unsupported tests 440
--
=== gcc Summary ===
# of expected passes 990
# of unexpected failures 42046
# of unexpected successes 12
# of expected failures 62
# of unresolved testcases 8781
# of unsupported tests 2315
--
=== libgomp Summary ===
# of unexpected failures 457
# of unsupported tests 64
=== libmudflap tests ===
Running target unix
--
=== libmudflap Summary ===
# of expected passes 6
# of unexpected failures 559
=== libstdc++ tests ===
Running target unix
--
=== libstdc++ Summary ===
=== libstdc++ Summary ===
Compiler version: gcc
Platform: i686-pc-linux-gnu
configure flags: --prefix=/usr --libexecdir=/usr/lib --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-languages=c,c++ --disable-multilib --disable-bootstrap
--with-system-zlib
EOF
Mail -s "Results for gcc testsuite on i686-pc-linux-gnu"
[email protected] &&
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
I can't figure out what am I doing wrong here.
Alex
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page