First of all, thanks to the LFS developers for putting your time into LFS --
it's a GREAT resource and I'm glad I found it. This is my first attempt at
building my own Linux system.

I'm getting some errors at *make check* after building binutils in chapter
6.12. I've followed everything to the letter, with the exception of using
linux-3.0.4 rather than linux-2.6.37, and I believe that should be OK
according to an earlier note that recommended using the latest linux source.
I have not seen any other abnormalities along the way, so I'm kinda baffled.
I noticed someone else posted some errors with binutils (from ch 6) back in
May, due to ld errors, and there were a couple of sed commands to fix up the
problems. The errors I'm experiencing don't seem to be related to ld, and
the note in chapter 6.12 states that "make check" is critical, so I'm
concerned about just going on without addressing these errors. From what I
can tell by looking at the output, a number of *.s files in the
binutils/testsuite directory fail to assemble. Because it's the testsuite
directory, maybe it's related to the actual tests and not to any of the
binutils tools themselves? Again, it doesn't seem to be related to ld or any
other single tool from binutils, but I don't know if it's safe to ignore
these errors. Any help or ideas on what I can look for will be greatly
appreciated.

My host system is an old laptop with a Pentium M processor running Red Hat
6.0 beta. My LFS system is on its own hard 100GB drive.

Here's what I see from *make check*:

*root:/sources/binutils-build# make check*
*make[1]: Entering directory `/sources/binutils-build'*
*make[2]: Entering directory `/sources/binutils-build/bfd'*
*make  check-recursive*
*make[3]: Entering directory `/sources/binutils-build/bfd'*
*Making check in doc*
*make[4]: Entering directory `/sources/binutils-build/bfd/doc'*
*make[4]: Nothing to be done for `check'.*
*make[4]: Leaving directory `/sources/binutils-build/bfd/doc'*
*Making check in po*
*make[4]: Entering directory `/sources/binutils-build/bfd/po'*
*make[4]: Nothing to be done for `check'.*
*make[4]: Leaving directory `/sources/binutils-build/bfd/po'*
*make[4]: Entering directory `/sources/binutils-build/bfd'*
*make[4]: Leaving directory `/sources/binutils-build/bfd'*
*make[3]: Leaving directory `/sources/binutils-build/bfd'*
*make[2]: Leaving directory `/sources/binutils-build/bfd'*
*make[2]: Entering directory `/sources/binutils-build/opcodes'*
*Making check in .*
*make[3]: Entering directory `/sources/binutils-build/opcodes'*
*make[3]: Leaving directory `/sources/binutils-build/opcodes'*
*Making check in po*
*make[3]: Entering directory `/sources/binutils-build/opcodes/po'*
*make[3]: Nothing to be done for `check'.*
*make[3]: Leaving directory `/sources/binutils-build/opcodes/po'*
*make[2]: Leaving directory `/sources/binutils-build/opcodes'*
*make[2]: Entering directory `/sources/binutils-build/binutils'*
*make  check-recursive*
*make[3]: Entering directory `/sources/binutils-build/binutils'*
*Making check in doc*
*make[4]: Entering directory `/sources/binutils-build/binutils/doc'*
*make[4]: Nothing to be done for `check'.*
*make[4]: Leaving directory `/sources/binutils-build/binutils/doc'*
*Making check in po*
*make[4]: Entering directory `/sources/binutils-build/binutils/po'*
*make[4]: Nothing to be done for `check'.*
*make[4]: Leaving directory `/sources/binutils-build/binutils/po'*
*make[4]: Entering directory `/sources/binutils-build/binutils'*
*make  check-DEJAGNU*
*make[5]: Entering directory `/sources/binutils-build/binutils'*
*Making a new site.exp file...*
*srcdir=`cd /sources/binutils-2.21/binutils && pwd`; export srcdir; \*
*r=`pwd`; export r; \*
*EXPECT=expect; export EXPECT; \*
*runtest=runtest; \*
*if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \*
*  CC_FOR_TARGET="gcc" CFLAGS_FOR_TARGET="-g -O2" \*
*        $runtest --tool binutils --srcdir ${srcdir}/testsuite \*
*                ; \*
*else echo "WARNING: could not find \`runtest'" 1>&2; :;\*
*fi*
*WARNING: Couldn't find the global config file.*
*WARNING: Couldn't find tool init file*
*Test Run By root on Mon Oct 17 01:49:55 2011*
*Native configuration is i686-pc-linux-gnu*

*                === binutils tests ===*

*Schedule of variations:*
*    unix*

*Running target unix*
*Using /tools/share/dejagnu/baseboards/unix.exp as board description file
for target.*
*Using /tools/share/dejagnu/config/unix.exp as generic interface file for
target.    *
*Using /sources/binutils-2.21/binutils/testsuite/config/default.exp as
tool-and-target-specific interface file.*
*Running /sources/binutils-2.21/binutils/testsuite/binutils-all/ar.exp
...                                     *
*FAIL: ar long file names*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/bintest.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/bintest.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/bintest.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/bintest.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/bintest.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/unique.s:
assembly failed*
*FAIL: ar unique symbol in archive*
*Running
/sources/binutils-2.21/binutils/testsuite/binutils-all/arm/objdump.exp ...*
*Running
/sources/binutils-2.21/binutils/testsuite/binutils-all/bfin/objdump.exp ...*
*Running /sources/binutils-2.21/binutils/testsuite/binutils-all/compress.exp
...*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/dw2-1.S:
assembly failed*
*Running /sources/binutils-2.21/binutils/testsuite/binutils-all/dlltool.exp
...*
*Running /sources/binutils-2.21/binutils/testsuite/binutils-all/elfedit.exp
...*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/empty.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/empty.s:
assembly failed*
*Running
/sources/binutils-2.21/binutils/testsuite/binutils-all/hppa/objdump.exp ...*
*Running
/sources/binutils-2.21/binutils/testsuite/binutils-all/i386/i386.exp ...*
*ERROR:
/sources/binutils-2.21/binutils/testsuite/binutils-all/i386/compressed-1.s:
assembly failed*
*ERROR:
/sources/binutils-2.21/binutils/testsuite/binutils-all/i386/compressed-1.s:
assembly failed*
*ERROR:
/sources/binutils-2.21/binutils/testsuite/binutils-all/i386/compressed-1.s:
assembly failed*
*Running
/sources/binutils-2.21/binutils/testsuite/binutils-all/m68k/objdump.exp ...*
*Running /sources/binutils-2.21/binutils/testsuite/binutils-all/nm.exp ...*
*Version /sources/binutils-build/binutils/nm-new directory*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/bintest.s:
assembly failed*
*Running /sources/binutils-2.21/binutils/testsuite/binutils-all/objcopy.exp
...*
*Version /sources/binutils-build/binutils/objcopy directory*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/bintest.s:
assembly failed*
*ERROR: unresolved simple copy*
*FAIL: objcopy --reverse-bytes*
*FAIL: objcopy -i --interleave-width*
*FAIL: objcopy -O srec*
*ERROR: objdump can not recognize bintest.o*
*ERROR: objdump can not recognize bintest.o*
*FAIL: strip with saving a symbol*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/unknown.s:
assembly failed*
*ERROR: unresolved ELF unknown section type*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/group.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/group-2.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/group-3.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/group-4.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/group-5.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/copy-1.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/copytest.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/copytest.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/bintest.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/bintest.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/group.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/group.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/empty.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/group-2.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/group-2.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/group-3.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/group-3.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/group-4.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/group-4.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/unique.s:
assembly failed*
*ERROR:
/sources/binutils-2.21/binutils/testsuite/binutils-all/needed-by-reloc.s:
assembly failed*
*ERROR:
/sources/binutils-2.21/binutils/testsuite/binutils-all/localize-hidden-1.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/testranges.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/empty.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/empty.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/exclude-1.s:
assembly failed*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/exclude-1.s:
assembly failed*
*ERROR:
/sources/binutils-2.21/binutils/testsuite/binutils-all/localize-hidden-2.s:
assembly failed*
*Running /sources/binutils-2.21/binutils/testsuite/binutils-all/objdump.exp
...*
*Version /sources/binutils-build/binutils/objdump directory*
*FAIL: objdump -i*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/bintest.s:
assembly failed*
*Running /sources/binutils-2.21/binutils/testsuite/binutils-all/readelf.exp
...*
*Version /sources/binutils-build/binutils/readelf directory*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/bintest.s:
assembly failed*
*ERROR: could not assemble test file*
*Running /sources/binutils-2.21/binutils/testsuite/binutils-all/size.exp ...
*
*Version /sources/binutils-build/binutils/size directory*
*ERROR: /sources/binutils-2.21/binutils/testsuite/binutils-all/bintest.s:
assembly failed*
*Running
/sources/binutils-2.21/binutils/testsuite/binutils-all/vax/objdump.exp ...*
*Running
/sources/binutils-2.21/binutils/testsuite/binutils-all/windres/windres.exp
...*
*Running
/sources/binutils-2.21/binutils/testsuite/binutils-all/x86-64/x86-64.exp ...
*

*                === binutils Summary ===*

*# of unexpected failures        7*
*# of unresolved testcases       44*
*# of untested testcases         6*
*# of unsupported tests          2*
*make[5]: *** [check-DEJAGNU] Error 1*
*make[5]: Leaving directory `/sources/binutils-build/binutils'*
*make[4]: *** [check-am] Error 2*
*make[4]: Leaving directory `/sources/binutils-build/binutils'*
*make[3]: *** [check-recursive] Error 1*
*make[3]: Leaving directory `/sources/binutils-build/binutils'*
*make[2]: *** [check] Error 2*
*make[2]: Leaving directory `/sources/binutils-build/binutils'*
*make[1]: *** [check-binutils] Error 2*
*make[1]: Leaving directory `/sources/binutils-build'*
*make: *** [do-check] Error 2*
*root:/sources/binutils-build# *

-- 
-- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to