I guess the problem is no lmld, (skips over), Mihai says that <br><br>- library search path &quot;/usr/lib/cmplrs/cc2.11&quot; is unsafe for cross-compilation<br><br>is the cause.<br><br><br>I&#39;m unable to trace back the cc2.11 file name (path).<br>
<br><br><br>Let&#39;s take it bit by bit, we have two issues here.<br>1. - why the configure hangs from time to time (what is that c2.11 ??)<br><br>2. - why sometimes it triggers massive rebuild even if nothing is changed.<br>
<br>Regarding point 2, does anybody else sees it ?<br><br>Alex<br><br><div class="gmail_quote">On Wed, Jul 4, 2012 at 6:02 PM, Richard Purdie <span dir="ltr">&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wed, 2012-07-04 at 17:50 +0300, Damian, Alexandru wrote:<br>
&gt; The question wasn&#39;t why it fails, but why sometimes it goes through,<br>
&gt; why sometimes fail, and why is it retriggered<br>
&gt; without any changes to the config or files (run 5 times the<br>
&gt; core-image-sato-sdk build in a row, and at least once it will fail).<br>
&gt;<br>
&gt; I don&#39;t trust systems that are not deterministic :).<br>
<br>
</div>The check runs at the end of the do_configure task.<br>
<br>
The config.log is generated by do_compile. If do_configure is re-run,<br>
you&#39;ll hit the failure.<br>
<div class="im"><br>
&gt; This being said:<br>
&gt;<br>
&gt; grep -C5 -e &#39;CROSS COMPILE Badness:&#39; -e &#39;is unsafe for<br>
&gt; cross-compilation&#39; /home/ddalex/ssd/yocto/build/tmp/work/i586-poky-linux/gcc-4.7.1+svnr188658-r2/gcc-4_7-branch/build.i586-poky-linux.i586-poky-linux/gcc/config.log<br>
&gt; | return ldopen ();<br>
&gt; |   ;<br>
&gt; |   return 0;<br>
&gt; | }<br>
&gt; configure:8836: i586-poky-linux-gcc  -m32   -march=i586<br>
&gt; --sysroot=/home/ddalex/ssd/yocto/build/tmp/sysroots/qemux86 -o<br>
&gt; conftest -pipe -g -feliminate-unused-debug-types   -Wl,-O1<br>
&gt; -Wl,--hash-style=gnu -Wl,--as-needed conftest.c<br>
&gt; -L/usr/lib/cmplrs/cc2.11 -lmld &gt;&amp;5<br>
&gt; /home/ddalex/ssd/yocto/build/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld: warning: library search path &quot;/usr/lib/cmplrs/cc2.11&quot; is unsafe for cross-compilation<br>
&gt; /home/ddalex/ssd/yocto/build/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld: cannot find -lmld<br>
&gt; collect2: error: ld returned 1 exit status<br>
&gt; configure:8836: $? = 1<br>
&gt; configure: failed program was:<br>
&gt; | /* confdefs.h */<br>
<br>
</div>So we need it to stop looking for libmld whatever that is. Hopefully<br>
there is a --disable-xxxx option we can pass in?<br>
<div class="HOEnZb"><div class="h5"><br>
Cheers,<br>
<br>
Richard<br>
<br>
<br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>
</div></div></blockquote></div><br>