<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Apr 1, 2014 at 9:59 PM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">OK, I am pretty sure I found a bug in gold, it works with bfd ld. I<br>
should have a bug number and a workaround soon.<br></blockquote><div><br></div><div>Awesome. Thanks!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

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