bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/18509] 16 unexpected failures for "ld" during "make check"


From: nickc at redhat dot com
Subject: [Bug binutils/18509] 16 unexpected failures for "ld" during "make check" for binutils 2.24
Date: Fri, 31 Jul 2015 16:29:04 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18509

--- Comment #8 from Nick Clifton <nickc at redhat dot com> ---
Hi Yuhang,

  Have you looked in the log file yourself ?  If you do, you will see that
about half of the failures are because the z library is missing.  Eg:

 
/Scr/scr-test-steven/Programs/BinUtils/build_binutils-2.25.1/ld/.libs/lt-ld-new:
skipping incompatible /usr/local/lib/libz.a when searching for -lz
 
/Scr/scr-test-steven/Programs/BinUtils/build_binutils-2.25.1/ld/.libs/lt-ld-new:
cannot find -lz
  FAIL: static preinit array

The other failures appear to be due to very minor changes in the sections in
the output binaries, which are not matching with the expected values.  eg:

  regexp_diff match failure
  regexp "^ +\[[ 0-9]+\] \.got +PROGBITS +0+804a100 .*$"
line   "  [12] .got              PROGBITS        0804a108 002108 000024 04  WA 
0   0  4"
  regexp_diff match failure
  regexp "^ +\[[ 0-9]+\] \.got\.plt +PROGBITS +0+804a124 .*$"
line   "  [13] .got.plt          PROGBITS        0804a12c 00212c 000010 04  WA 
0   0  4"
  FAIL: TLS -fpic and -fno-pic exec transitions

Personally I would consider this a flaw in the test itself, not the linker. 
The tests should allow for some variations in the section details unless there
is good reason to expect exact values.

My recommendation - install the zlib package and ignore the other failures.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]