<div dir="ltr">Standard aboriginal-1.4.5/sources/targets/powerpc (so musl).<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 March 2016 at 15:57, Rob Landley <span dir="ltr"><<a href="mailto:rob@landley.net" target="_blank">rob@landley.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 03/05/2016 01:28 AM, David Halls wrote:<br>
>     Hmmm, I thought that was working. (Again, try --static and see if that<br>
>     works? If static doesn't work the system can't _boot_. Dynamic still<br>
>     needs to be fixed, but it's nice to know where the problem is...)<br>
><br>
><br>
> Yep, -static works<br>
<br>
</div></div>Alas, dynamic linking sometimes falls through the cracks in my testing,<br>
ever since I switched the command line utilities over to static linking.<br>
<br>
The reason I did that is it gave me about 20% speedup in package<br>
./configure stages run under qemu. (QEMU basically acts like a processor<br>
with very high icache page fetch latency. It has to translate each<br>
executable page, and each time the page is modified it has to translate<br>
it again. Linux can keep executable pages in memory, in the page cache,<br>
but things like the dynamic linker tend to get flushed out of icache,<br>
and thus out of qemu's translation cache. Possibly unmapping the<br>
executable pages in the virtual mmu flushes the translation cache? Dunno.)<br>
<br>
Is the version you're using musl or uClibc? (If musl, I need to fix it.<br>
If uClibc, I need to convert it. :)<br>
<span class="HOEnZb"><font color="#888888"><br>
Rob<br>
</font></span></blockquote></div><br></div>