<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Dec 1, 2017 at 7:21 PM, Rafael Avila de Espindola <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"><span class="">Rui Ueyama <<a href="mailto:ruiu@google.com">ruiu@google.com</a>> writes:<br>
<br>
> I'm not sure if you understand the problem I'm trying to resolve.<br>
><br>
> IIUC, what <a href="https://bugs.llvm.org/show_bug.cgi?id=34301#c5" rel="noreferrer" target="_blank">https://bugs.llvm.org/show_<wbr>bug.cgi?id=34301#c5</a> claims as a bug<br>
> is not a bug.<br>
<br>
</span>No, sorry. It is a bug.<br>
<br>
The user found a difference in behavior that broke a feature they<br>
depended on. That worked on bfd and gold. They were kind enough to<br>
report the issue and we fixed it. We should not break it.<br>
<span class=""><br>
> Weak external symbols that were not compiled with -fPIC are fundamentally<br>
> not representable when they are resolved to other DSOs.<br>
<br>
</span>They were compiled with -fPIC. The comment says:<br>
<br>
clang -o dummy dummy.c -fPIC<br></blockquote><div><br></div><div>Oh okay, if it doesn't work, it is a bug in my patch. I didn't intend to break that functionality. But once again please read my comment. I believe the direction of this patch is something that you can agree.</div></div></div></div>