bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/23235] New: make check uses system installed ld, not the o


From: bugmenot at mailinator dot com
Subject: [Bug binutils/23235] New: make check uses system installed ld, not the one build
Date: Fri, 25 May 2018 13:40:06 +0000

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.


reply via email to

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