[llvm-dev] ThinLTO with Linux+ELF+Gold -- incorrectly dropping weak definitions.

Teresa Johnson via llvm-dev llvm-dev at lists.llvm.org
Tue May 16 09:52:47 PDT 2017


This looks similar to the problem I fixed awhile back in r292408. I'll take
a look (probably tomorrow since I am taking some vacation today).
Teresa

On Tue, May 16, 2017 at 9:43 AM, David Blaikie <dblaikie at gmail.com> wrote:

> +Teresa
>
> On Mon, May 15, 2017 at 9:20 AM David Callahan via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> I am tracking a problem with ThinLTO on Linux using gold and elf files
>> where there is a disconnect between gold’s treatment of comdat groups and
>> ThinLTO’s decisions about which weak references to convert to available
>> externally.  The net result is a definition is lost and a relocation entry
>> is not handled.
>>
>>
>>
>> My status is summarized: https://bugs.llvm.org/show_bug.cgi?id=32980
>>
>>
>>
>> Anyone familiar with this space and have guidance? Either on how to avoid
>> the problem, or a patch to correct it?
>>
>>
>>
>> Thanks
>>
>> --david
>>
>>
>>
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>
>


-- 
Teresa Johnson |  Software Engineer |  tejohnson at google.com |  408-460-2413
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170516/16886f0b/attachment.html>


More information about the llvm-dev mailing list