Hi, I tried to install gcc at the chapter 6. After the command: make -k check, I got this error:
=== libitm Summary === # of expected passes 26 # of expected failures 3 # of unsupported tests 1 make[4]: Leaving directory `/sources/gcc-build/x86_64-unknown-linux-gnu/libitm/testsuite' make[3]: Leaving directory `/sources/gcc-build/x86_64-unknown-linux-gnu/libitm/testsuite' make[3]: Entering directory `/sources/gcc-build/x86_64-unknown-linux-gnu/libitm' true DO=all multi-do # make make[3]: Leaving directory `/sources/gcc-build/x86_64-unknown-linux-gnu/libitm' make[2]: Leaving directory `/sources/gcc-build/x86_64-unknown-linux-gnu/libitm' make[1]: Target `check-target' not remade because of errors. make[1]: Leaving directory `/sources/gcc-build' make: *** [do-check] Error 2 make: Target `check' not remade because of errors. The results of the command ../gcc-4.7.2/contrib/test_summary are attached to this message. I read the book version 7.3 Thanks! Antony
cat <<'EOF' | LAST_UPDATED: Obtained from SVN: tags/gcc_4_7_2_release revision 191558 Native configuration is x86_64-unknown-linux-gnu === g++ tests === Running target unix ERROR: g++.dg/abi/mangle33.C -std=c++98: error executing dg-final: couldn't compile regular expression pattern: out of memory UNRESOLVED: g++.dg/abi/mangle33.C -std=c++98: error executing dg-final: couldn't compile regular expression pattern: out of memory ERROR: g++.dg/abi/mangle33.C -std=c++11: error executing dg-final: couldn't compile regular expression pattern: out of memory UNRESOLVED: g++.dg/abi/mangle33.C -std=c++11: error executing dg-final: couldn't compile regular expression pattern: out of memory === g++ Summary === # of expected passes 48482 # of expected failures 286 # of unresolved testcases 2 # of unsupported tests 555 /sources/gcc-build/gcc/testsuite/g++/../../g++ version 4.7.2 (GCC) === gcc tests === Running target unix XPASS: gcc.dg/inline_3.c (test for excess errors) XPASS: gcc.dg/inline_4.c (test for excess errors) XPASS: gcc.dg/unroll_2.c (test for excess errors) XPASS: gcc.dg/unroll_3.c (test for excess errors) XPASS: gcc.dg/unroll_4.c (test for excess errors) === gcc Summary === # of expected passes 85669 # of unexpected successes 5 # of expected failures 258 # of unsupported tests 1241 /sources/gcc-build/gcc/xgcc version 4.7.2 (GCC) === libgomp tests === Running target unix === libgomp Summary === # of expected passes 1241 === libitm tests === Running target unix === libitm Summary === # of expected passes 26 # of expected failures 3 # of unsupported tests 1 === libmudflap tests === Running target unix FAIL: libmudflap.c++/pass55-frag.cxx ( -O) execution test ERROR: tcl error sourcing /sources/gcc-4.7.2/libmudflap/testsuite/libmudflap.cth/cthfrags.exp. ERROR: couldn't compile regular expression pattern: out of memory === libmudflap Summary === # of expected passes 1255 # of unexpected failures 1 === libstdc++ tests === Running target unix FAIL: 22_locale/time_get/get_weekday/char/38081-1.cc execution test FAIL: 22_locale/time_get/get_weekday/char/38081-2.cc execution test === libstdc++ Summary === # of expected passes 8888 # of unexpected failures 2 # of expected failures 43 # of unsupported tests 153 Compiler version: 4.7.2 (GCC) Platform: x86_64-unknown-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 4.7.2 (GCC) testsuite on x86_64-unknown-linux-gnu" gcc-testresu...@gcc.gnu.org && mv /sources/gcc-build/./gcc/testsuite/g++/g++.sum /sources/gcc-build/./gcc/testsuite/g++/g++.sum.sent && mv /sources/gcc-build/./gcc/testsuite/gcc/gcc.sum /sources/gcc-build/./gcc/testsuite/gcc/gcc.sum.sent && mv /sources/gcc-build/./x86_64-unknown-linux-gnu/libgomp/testsuite/libgomp.sum /sources/gcc-build/./x86_64-unknown-linux-gnu/libgomp/testsuite/libgomp.sum.sent && mv /sources/gcc-build/./x86_64-unknown-linux-gnu/libitm/testsuite/libitm.sum /sources/gcc-build/./x86_64-unknown-linux-gnu/libitm/testsuite/libitm.sum.sent && mv /sources/gcc-build/./x86_64-unknown-linux-gnu/libmudflap/testsuite/libmudflap.sum /sources/gcc-build/./x86_64-unknown-linux-gnu/libmudflap/testsuite/libmudflap.sum.sent && mv /sources/gcc-build/./x86_64-unknown-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum /sources/gcc-build/./x86_64-unknown-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum.sent && mv /sources/gcc-build/./gcc/testsuite/g++/g++.log /sources/gcc-build/./gcc/testsuite/g++/g++.log.sent && mv /sources/gcc-build/./gcc/testsuite/gcc/gcc.log /sources/gcc-build/./gcc/testsuite/gcc/gcc.log.sent && mv /sources/gcc-build/./x86_64-unknown-linux-gnu/libgomp/testsuite/libgomp.log /sources/gcc-build/./x86_64-unknown-linux-gnu/libgomp/testsuite/libgomp.log.sent && mv /sources/gcc-build/./x86_64-unknown-linux-gnu/libitm/testsuite/libitm.log /sources/gcc-build/./x86_64-unknown-linux-gnu/libitm/testsuite/libitm.log.sent && mv /sources/gcc-build/./x86_64-unknown-linux-gnu/libmudflap/testsuite/libmudflap.log /sources/gcc-build/./x86_64-unknown-linux-gnu/libmudflap/testsuite/libmudflap.log.sent && mv /sources/gcc-build/./x86_64-unknown-linux-gnu/libstdc++-v3/testsuite/libstdc++.log /sources/gcc-build/./x86_64-unknown-linux-gnu/libstdc++-v3/testsuite/libstdc++.log.sent && true
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page