Hi,
I have looked at the mailing list and Google and can't find a useful answer
to my current build problem. Up to this point my LFS build has gone
smoothly including all recommended checks (e.g. glibc, zlib, file), and
since chroot-ing I haven't closed my root terminal. I have chosen to use
the symlink style of package management for zlib and file (install to the
/usr/pkg directory, and then soft-link to all created files from what would
have been their install locations).
My problem is that running 'make -k check' to check my 'Binutils-2.22 make'
results in the following errors (for brevity I'm only showing the binutils
test results, not gas or ld, but ld also fails on a *.s, and all three
report the same make[*] errors):
----------
...
ERROR: /sources/binutils-2.22/
binutils/testsuite/binutils-all/dw2-1.S: assembly failed
...
ERROR:
/sources/binutils-2.22/binutils/testsuite/binutils-all/i386/compressed-1.s:
assembly failed
ERROR:
/sources/binutils-2.22/binutils/testsuite/binutils-all/i386/compressed-1.s:
assembly failed
...
Running /sources/binutils-2.22/binutils/testsuite/binutils-all/objdump.exp
...
Version /sources/binutils-build-tooldir/binutils/objdump 2.22
FAIL: objdump -W (reason: unexpected output)
FAIL: objdump -W
Running /sources/binutils-2.22/binutils/testsuite/binutils-all/readelf.exp
...
Version /sources/binutils-build-tooldir/binutils/readelf 2.22
FAIL: readelf -wa (compressed)
...
Running
/sources/binutils-2.22/binutils/testsuite/binutils-all/x86-64/x86-64.exp ...
ERROR:
/sources/binutils-2.22/binutils/testsuite/binutils-all/x86-64/compressed-1.s:
assembly failed
ERROR:
/sources/binutils-2.22/binutils/testsuite/binutils-all/x86-64/compressed-1.s:
assembly failed
=== binutils Summary ===
# of expected passes 84
# of unexpected failures 3
# of unresolved testcases 5
# of unsupported tests 1
make[5]: *** [check-DEJAGNU] Error 1
make[5]: Leaving directory `/sources/binutils-build-tooldir/binutils'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `/sources/binutils-build-tooldir/binutils'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/sources/binutils-build-tooldir/binutils'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/sources/binutils-build-tooldir/binutils'
make[1]: *** [check-binutils] Error 2
...
----------
As I understand it this implies that the use of assembly language in the
tests has not worked. This could be due to 32-bit commands on my 64-bit
architecture, or due to some configuration mistake earlier in my LFS build
that I missed, or perhaps something else. Any pointers towards what I can
investigate to try to track this down would be much appreciated.
System info:
LFS: 7.2
Section: 6.13
Host: Ubuntu 12.04.1 LTS
OS type: 64-bit
System: Toshiba NB550D (AMD Fusion C-50 (dual-core 64-bit))
Steve
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page