<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 7, 2014 at 8:53 AM, Mike Crowe <span dir="ltr"><<a href="mailto:mac@mcrowe.com" target="_blank">mac@mcrowe.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":10h" class="a3s" style="overflow:hidden">We're building for both ARM and MIPS-based MACHINEs in a single source<br>
tree. This seems to result in us compiling (or luckily most of the time<br>
resurrecting from sstate-cache) two different versions of all -native<br>
packages due to different base hashes.<br>
<br>
It seems that this difference in base hashes is due to the exported<br>
variable TARGET_LDFLAGS being different between the two CPUs:<br>
<br>
< export TARGET_LDFLAGS="-Wl,-O1 -Wl,--as-needed"<br>
---<br>
> export TARGET_LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"<br></div></blockquote></div><br>Heh, this i another case of a likely completely unnecessary export. Software we build expects LDFLAGS to be used, not TARGET_LDFLAGS, so I can't imagine that anything is using this export. Of course, it's non-trivial to confirm that this is the case :)<br>
-- <br>Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics
</div></div>