Hi, all: I successfully built gcc-4.7.2, although there are still some test errors:
*root:/sources/gcc-build# ../gcc-4.7.2/contrib/test_summary cat <<'EOF' | LAST_UPDATED: Obtained from SVN: tags/gcc_4_7_2_release revision 191558 Native configuration is i686-pc-linux-gnu === g++ tests === Running target unix === g++ Summary === # of expected passes 47725 # of expected failures 286 # of unsupported tests 315 /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 85394 # of unexpected successes 5 # of expected failures 258 # of unsupported tests 905 /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 === libmudflap Summary === # of expected passes 1436 === libstdc++ tests === Running target unix === libstdc++ Summary === # of expected passes 8890 # of expected failures 43 # of unsupported tests 153 * However, I *failed to make install gcc 4.7.2* The error message obtained is: * tar -cf - .; exit 0) | (cd /usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include; tar xpf - ) /bin/sh: line 1: tar: command not found /bin/sh: line 1: tar: command not found make[2]: *** [install-headers-tar] Error 127 make[2]: Leaving directory `/sources/gcc-build/gcc' make[1]: *** [install-gcc] Error 2 make[1]: Leaving directory `/sources/gcc-build' make: *** [install] Error 2* This is understandable for me because after *chroot* , I don't have the command tar under /usr/bin any longer. And according to the installation sequence listed at http://www.linuxfromscratch.org/lfs/view/development/index.html, *Tar-1.26*is far way behind *GCC-4.7.2* . Did anybody meet the same problem while *make install GCC-4.7.2*? Then, I tried to install *Tar-1.26* *(withou bison or yacc enabled)* first before *make install GCC-4.7.2* now, everything moves on. Conclusion: http://www.linuxfromscratch.org/lfs/view/development/index.html * 6. Installing Basic System Software * The manual may need to be modified, at least the *building sequence* should be *Tar-1.26 before GCC-4.7.2* . Am I right? Cheers Pei On Thu, Dec 20, 2012 at 3:07 PM, JIA Pei <jp4w...@gmail.com> wrote: > > Hi, all: > > I successfully built gcc-4.7.2, although there are still some test errors: > > > > > > -- > > Pei JIA > > Email: jp4w...@gmail.com > cell: +1 604-362-5816 > > Welcome to Vision Open > http://www.visionopen.com > -- Pei JIA Email: jp4w...@gmail.com cell: +1 604-362-5816 Welcome to Vision Open http://www.visionopen.com
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page