<div dir="ltr">On 21 October 2013 15:05, Alp Toker <span dir="ltr"><<a href="mailto:alp@nuanti.com" target="_blank">alp@nuanti.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On 21/10/2013 22:08, Joerg Sonnenberger wrote:<br>
> On Mon, Oct 21, 2013 at 09:59:24PM +0100, Alp Toker wrote:<br>
>> Here's a pure guess, not tested but whatever the implementation ends up<br>
>> being it'll surely take less time than continuing the debate:<br>
> The core of the issue is that LLVM can create calls to memset and memcpy<br>
> itself, even under -ffreestanding.<br>
<br>
</div>Ouch, I hadn't realised this.<br>
<br>
Maybe ignoring the flag more sense after all, at least until the<br>
underlying issue affecting -ffreestanding is fixed. That's the elephant<br>
in the room.<br></blockquote><div><br></div><div>That's not a bug in -ffreestanding. Even a freestanding implementation must provide memcpy (and I think, a couple other functions per the ABI) as well as things like __muldi2 if the hardware can't handle it.</div>

<div><br></div><div>Nick</div><div><br></div></div></div></div>