[Clfs-support] Unexpected failures when installing Binutils-2.23

Bin Huang bin.arthur at gmail.com
Mon Nov 26 18:31:53 PST 2012


Hi list,

I have encountered several unexpected failures when installing
Binutils-2.23 as basic system software (Chapter 10 of the CLFS book -
version GIT-20121112).

Specifically, after I ran command "make check", the test suite for
Binutils reported the summary as follows:

                === binutils Summary ===

# of expected passes            81
# of unexpected failures        3
# of unresolved testcases       1
# of unsupported tests          3

The three unexpected failures are as follows (you can find complete
test result at the end of this email):

FAIL: objdump -W (reason: unexpected output)
FAIL: objdump -W
FAIL: readelf -wa (compressed)

The host distribution and version being used to create CLFS is Ubuntu
12.04.1 LTS (Linux version 3.2.0-33).

The architecture of the host and target are x86 and PowerPC respectively.

Other environment variables include:
$CLFS_HOST  = i686-cross-linux-gnu
$CLFS_TARGET = powerpc-unknown-linux-gnu
$BUILD32 =
$BUILD64

Where I have deviated from the book include:
a) I have skipped installation of E2fsprogs,  Hfsutils, Powerpc-Utils,
and Yaboot because my target is an embedded system.
b) I have skipped installation of zlib 1.2.7 and Texinfo-4.13a when
constructing the temporary system because of some unresolved errors (I
can post these error messages if needed).

I have been searching answers for those unexpected failures online for
hours but I am still out of luck. Any thoughts will be appreciated!



Complete test result of Binutils-2.23:

                === binutils tests ===

Schedule of variations:
    unix

Running target unix
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/ar.exp ...
PASS: ar long file names
PASS: ar symbol table
PASS: ar thin archive
PASS: ar thin archive with nested archive
PASS: ar argument parsing
PASS: ar deterministic archive
PASS: ar deleting an element
PASS: ar moving an element
PASS: ar unique symbol in archive
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/arm/objdump.exp
...
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/bfin/objdump.exp
...
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/compress.exp ...
ERROR: /sources/binutils-2.23/binutils/testsuite/binutils-all/dw2-1.S:
assembly failed
UNRESOLVED: compressed debug sections
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/dlltool.exp ...
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/elfedit.exp ...
UNSUPPORTED: Update ELF header 1
PASS: Update ELF header 2
PASS: Update ELF header 3
UNSUPPORTED: Update ELF header 4
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/hppa/objdump.exp
...
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/i386/i386.exp ...
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/m68k/objdump.exp
...
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/nm.exp ...
PASS: nm (no arguments)
PASS: nm -g
PASS: nm -g on unique symbols
PASS: nm -P
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/objcopy.exp ...
PASS: objcopy (simple copy)
PASS: objcopy --reverse-bytes
PASS: objcopy -i --interleave-width
PASS: objcopy -O srec
PASS: objcopy --set-start
PASS: objcopy --adjust-start
PASS: objcopy --adjust-vma
PASS: objcopy --adjust-section-vma +
PASS: objcopy --adjust-section-vma =
PASS: strip preserving OS/ABI
PASS: strip
PASS: strip with saving a symbol
PASS: simple objcopy of executable
PASS: run objcopy of executable
PASS: run stripped executable preserving OS/ABI
PASS: run stripped executable
PASS: run stripped executable with saving a symbol
PASS: keep only debug data
PASS: simple objcopy of debug data
PASS: objcopy (ELF unknown section type)
PASS: objcopy (ELF group)
PASS: objcopy (ELF group)
PASS: objcopy (ELF group)
PASS: objcopy (ELF group)
PASS: copy removing group member
PASS: copy removing all group member
PASS: copy with setting section flags 1
PASS: add notes section
PASS: copy with setting section flags 2
PASS: copy with setting section flags 3
PASS: strip --strip-unneeded on common symbol
PASS: strip with section group 1
PASS: strip with section group 2
PASS: strip empty file
PASS: strip with section group 4
PASS: strip with section group 5
PASS: strip with section group 6
PASS: strip with section group 7
PASS: strip with section group 8
PASS: strip with section group 9
PASS: strip on STB_GNU_UNIQUE
PASS: --localize-hidden test 1
PASS: unordered .debug_info references to .debug_ranges
UNSUPPORTED: unordered .debug_info references to .debug_ranges
PASS: objcopy add-section
PASS: objcopy add-empty-section
PASS: objcopy on sections with SHF_EXCLUDE
PASS: strip --strip-unneeded on sections with SHF_EXCLUDE
PASS: --localize-hidden test 2
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/objdump.exp ...
PASS: objdump -i
PASS: objdump -f
PASS: objdump -h
PASS: objdump -t
PASS: objdump -r
PASS: objdump -s
PASS: objdump -s -j .zdebug_abbrev
FAIL: objdump -W (reason: unexpected output)
FAIL: objdump -W
PASS: objdump -WL
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/readelf.exp ...
PASS: finding out ELF size with readelf -h
PASS: readelf -h
PASS: readelf -S
PASS: readelf -s
PASS: readelf -r
PASS: readelf -wi
FAIL: readelf -wa (compressed)
PASS: readelf -p
PASS: readelf -n
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/size.exp ...
PASS: size (no arguments)
PASS: size -A
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/vax/objdump.exp
...
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/windres/windres.exp
...
Running /sources/binutils-2.23/binutils/testsuite/binutils-all/x86-64/x86-64.exp
...

                === binutils Summary ===

# of expected passes            81
# of unexpected failures        3
# of unresolved testcases       1
# of unsupported tests          3



More information about the Clfs-support mailing list