bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/19075] New: Archive member not fetched when strong undefined s


From: rafael.espindola at gmail dot com
Subject: [Bug gold/19075] New: Archive member not fetched when strong undefined symbol found after a weak undef one
Date: Tue, 06 Oct 2015 12:58:52 +0000

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

            Bug ID: 19075
           Summary: Archive member not fetched when strong undefined
                    symbol found after a weak undef one
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: rafael.espindola at gmail dot com
                CC: ian at airs dot com
  Target Milestone: ---

Created attachment 8683
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8683&action=edit
testcase

I the attached testcase:

* test1.s introduces an weak undefined reference to foo.
* test2.s introduces a strong one
* test3.s defines foo and is put in a library

running

ld test1.o --start-group test3.a test2.o --end-group

works with bfd ld but not gold.

Removing the weak undefined symbol from test1.s causes gold to fetch the
member.

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