[prev in list] [next in list] [prev in thread] [next in thread] 

List:       binutils-bugs
Subject:    [Bug binutils/23235] New: make check uses system installed ld, not the one build
From:       "bugmenot at mailinator dot com" <sourceware-bugzilla () sourceware ! org>
Date:       2018-05-25 13:40:06
Message-ID: bug-23235-70 () http ! sourceware ! org/bugzilla/
[Download RAW message or body]

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

            Bug ID: 23235
           Summary: make check uses system installed ld, not the one build
           Product: binutils
           Version: 2.30
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: bugmenot at mailinator dot com
  Target Milestone: ---

There are nor issues during configure or make but make check has unexpected
fails.

One of the reasons (found in binutils/binutils.log):
The ld binary currently installed on the test machine has no --build-id option:

Executing on host: gcc
/some/userdir/binutils-2.30/binutils/testsuite/binutils-all/testprog.c   -g
-Wl,--build-id=0x12345678abcdef01 -g -o tmpdir/testprog    (timeout = 300)
spawn -ignore SIGHUP gcc
/some/userdir/binutils-2.30/binutils/testsuite/binutils-all/testprog.c -g
-Wl,--build-id=0x12345678abcdef01 -g -o tmpdir/testprog
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld:
unrecognized option '--build-id=0x12345678abcdef01'
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: use the
--help option for usage information
collect2: ld returned 1 exit status
compiler exited with status 1
FAIL: build-id-debuglink (build)

I'm quite sure that this is a bug.

Either: this test *should* use the system ld - in this case the test must be
skipped (or be expected to fail)
Or: the "ld" binary build before should be used

Simon Sobisch

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic