<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 8, 2015 at 7:10 AM, Axel Naumann <span dir="ltr"><<a href="mailto:Axel.Naumann@cern.ch" target="_blank">Axel.Naumann@cern.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Regarding <<a href="https://llvm.org/bugs/show_bug.cgi?id=23034" target="_blank">https://llvm.org/bugs/show_<u></u>bug.cgi?id=23034</a>> - is the intent (still?) to be binary compatible with GCC?</blockquote><div><br>ABI compatible, yes.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> I.e. is this a bug or is this something that we'll have to try to solve on our side?<br></blockquote><div><br></div><div>If you have a function defined in GCC that isn't callable from Clang (or the other way around) that's a bug, but it doesn't indicate where the bug is. It could be in GCC, Clang, or the ABI specification itself (the ABI might be underspecified, vague, or contradictory). Also the bug may've been fixed (sometimes this is due to an ABI fix - ABI spec gets updated, one compiler takes the fix while the other lags a bit potentially)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It's pretty visible for us because any call with std::string temporaries to map<string,...>::op[](string&&<u></u>) across the linker causes it and we seem to like those a lot :-(<br>
<br>
I checked with r204218 and it seems to fail the same way, so if it's an issue it's not a new one (on clang's side).<br>
<br>
And finally: should this go to llvm's bugs or stay with clang's?<br></blockquote><div><br>I'm not sure - would depend on where the bug is & I don't know enough about this stuff to say.<br><br>A reduced test case would be helpful (the smallest standalone program (no headers, etc) that demonstrates the inconsistency).<br><br>- David<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers, Axel.<br>
<br>
______________________________<u></u>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div></div>