LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   6.17.1. Installation of GCC - make -k check error (http://www.linuxquestions.org/questions/linux-from-scratch-13/6-17-1-installation-of-gcc-make-k-check-error-942763/)

idnotcrae 05-01-2012 02:14 PM

6.17.1. Installation of GCC - make -k check error
 
i'm following LFS-BOOK-7.1 and host system is Slackware 13.37
i believe that everything is ok till i reached step 6.17.1 for installation of gcc and i have problems when run the test suite for gcc,,,
Quote:

target `check` not remade because of errors
some of the tests fails like
Quote:

FAIL:22_locale/messages/members/char/2.cc execution test
FAIL:22_locale/messages/members/char/wrapped-env.cc execution test
FAIL:22_locale/messages/members/char/wrapped.local.cc execution test
Quote:

FAIL: libmudflap.c/pass49-frag.c (-02) execution test
....
....
....
i made this step from the beginning again but i got the same errors !
i don't know if i messed something before ,, but i thnk that all previous steps are just fine. any idea !!!! :)
EDIT: should i continue with the following step or something is wrong and must be fixed before
thanks in advance

idnotcrae 05-01-2012 02:25 PM

Summary of test suit results
Quote:

=== g++ Summary ===

# of expected passes 27426
# of unexpected successes 1
# of expected failures 167
# of unsupported tests 136
/sources/gcc-build/gcc/testsuite/g++/../../g++ version 4.6.2 (GCC)

--
=== gcc Summary ===

# of expected passes 77650
# of expected failures 212
# of unsupported tests 684
/sources/gcc-build/gcc/xgcc version 4.6.2 (GCC)

=== libgomp tests ===
--
=== libgomp Summary ===

# of expected passes 1071
=== libmudflap tests ===


Running target unix
FAIL: libmudflap.c/fail40-frag.c output pattern test
--
=== libmudflap Summary ===

# of expected passes 1402
# of unexpected failures 25
=== libstdc++ tests ===


Running target unix
--
=== libstdc++ Summary ===

# of expected passes 8198
# of unexpected failures 3
# of expected failures 84
# of unsupported tests 161

Compiler version: 4.6.2 (GCC)

druuna 05-02-2012 07:09 AM

Hi,

The book mentions this:
Quote:

A few unexpected failures cannot always be avoided. The GCC developers are usually aware of these issues, but have not resolved them yet. In particular, the libmudflap tests are known to be particularly problematic as a result of a bug in GCC (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20003). Unless the test results are vastly different from those at the above URL, it is safe to continue.
Did you compare your results with the results mentioned (http://www.linuxfromscratch.org/lfs/build-logs/7.1/ and http://gcc.gnu.org/ml/gcc-testresults/)?

The above should take care of the libmudflap parts, that leaves you with these:
Quote:

=== libstdc++ Summary ===

# of expected passes 8198
# of unexpected failures 3
# of expected failures 84
# of unsupported tests 161
Without knowing what caused the errors it is hard to advise you one way or the other.

No unexpected failures are mentioned in the build logs (see the aforementioned URL), but if these are time-out related you can probably ignore them.

Hope this helps.

idnotcrae 05-02-2012 06:38 PM

thank you druuna ,, yes i compared the results and i think that
Quote:

# of unexpected failures 3
they are timeout related, and i ignored them. now i'm moving to the next chapter, wish everything be fine till the end :)
thank you

druuna 05-03-2012 04:51 AM

You're welcome :)

BTW: Can you put up the [SOLVED] tag.
first post -> Thread Tools -> Mark this thread as solved

idnotcrae 05-04-2012 08:02 PM

Quote:

Originally Posted by druuna (Post 4669185)
You're welcome :)

BTW: Can you put up the [SOLVED] tag.
first post -> Thread Tools -> Mark this thread as solved

now it's marked as solved :)
thank you


All times are GMT -5. The time now is 10:16 AM.