bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22502] New: Unable to redefine weak function in LTO incrementall


From: thopre01 at gcc dot gnu.org
Subject: [Bug ld/22502] New: Unable to redefine weak function in LTO incrementally-linked executable
Date: Mon, 27 Nov 2017 13:27:31 +0000

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

            Bug ID: 22502
           Summary: Unable to redefine weak function in LTO
                    incrementally-linked executable
           Product: binutils
           Version: 2.30 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: thopre01 at gcc dot gnu.org
  Target Milestone: ---

Created attachment 10638
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10638&action=edit
Reproducer for failure to incrementally link an executable with LTO

Hi,

Commit 5c3261b0e834647cf9eb555320e20871b7854f98 in binutils broke the ability
to redefine a weak function in an LTO incrementally-linked executable.
Reproducer is attached to this bug report.

Running ./reproducer.sh shows the following error:

test-intermediate: In function `main':
/home/thopre01/issues/sjp/weak_lto_incremental_link/test-weak.c:8: undefined
reference to `foobar'
collect2: error: ld returned 1 exit status

Best regards,

Thomas

-- 
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]