<div dir="ltr">On 10 May 2013 16:21, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">* In ABIs that don't use external functions for atomics (linux hard<br>
float at least), we incorrectly decide to use function calls.<br></blockquote><div><br></div><div style>This seems to be the problem in my box, and Benjamin's hint did solve the problem (setting MaxAtomicInlineWidth). However, I'm not sure what relation that variable has to do with choosing library calls or not. If it's just a matter of variable sizes (allowing direct atomic calls on 64-bit VFP instructions), that it's possible that the fix is correct.</div>
<div style><br></div><div style>I have applied it and Clang compiles code that it wouldn't previously, but I'm waiting for the build to finish to self-host Clang itself, which is the ultimate test. I'll keep you posted.</div>
<div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">* In ABIs that do use external function calls (non hard float linux?),<br>
we don't have code to actually generate the calls.<br></blockquote><div><br></div><div style>You mean in Clang? Or a library?</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
See the thread in<br>
<a href="http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130415/078021.html" target="_blank">http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130415/078021.html</a>.<br></blockquote><div></div></div>
<br></div><div class="gmail_extra" style>From this discussion, seems that compiler-rt is the wrong fix. Shouldn't this be provided by libstdc++?</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>
cheers,</div><div class="gmail_extra" style>--renato</div></div>