[llvm] r205076 - Completely rewrite ELFObjectWriter::RecordRelocation.

Rafael Espíndola rafael.espindola at gmail.com
Tue Apr 1 12:59:00 PDT 2014


OK, I am pretty sure I found a bug in gold, it works with bfd ld. I
should have a bug number and a workaround soon.

On 1 April 2014 15:56, Rafael Espíndola <rafael.espindola at gmail.com> wrote:
> I think I got it. I can get a failure if I pass -O2 to the linker. Are
> you doing that?
>
> On 1 April 2014 15:40, Manuel Klimek <klimek at google.com> wrote:
>> On Tue, Apr 1, 2014 at 9:33 PM, Rafael Espíndola
>> <rafael.espindola at gmail.com> wrote:
>>>
>>> I am trying to reproduce this but failing. Attached you will find what
>>> I have so far. Compiling test.c produces an assembly file almost
>>> identical to what you are seeing, but the results are correct.
>>>
>>> Can you try it with the exact same gold and clang that are causing
>>> your test to fail?
>>
>>
>> Works.. I also think it'll be super-hard to repro without knowing what's
>> wrong - from what I can tell I've found one in 1k things that fail due to
>> this.
>>




More information about the llvm-commits mailing list