<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 27, 2019 at 7:19 PM Richard Purdie &lt;<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, 2019-10-27 at 07:56 -0700, akuster808 wrote:<br>
&gt; <br>
&gt; On 10/27/19 2:57 AM, Richard Purdie wrote:<br>
&gt; &gt; I&#39;ve been trying to figure out why we get a weird build failure<br>
&gt; &gt; with<br>
&gt; &gt; hash equivalence enabled. Armin has also been searching for an odd<br>
&gt; &gt; issue with warrior and the qemu tests. I may have a lead.<br>
&gt; &gt; <br>
&gt; &gt; If you build a standard qemu:<br>
&gt; &gt; <br>
&gt; &gt; &quot;bitbake qemu-system-native&quot;<br>
&gt; &gt; <br>
&gt; &gt; and save off the resulting qemu-system-XXX binaries, then add:<br>
&gt; &gt; <br>
&gt; &gt; PACKAGECONFIG_append_pn-qemu-system-native = &quot; gtk+&quot;<br>
&gt; &gt; PACKAGECONFIG_append_pn-qemu-system-native = &quot; virglrenderer&quot;<br>
&gt; &gt; PACKAGECONFIG_append_pn-qemu-system-native = &quot; glx&quot;<br>
&gt; &gt; <br>
&gt; &gt; to local.conf, then:<br>
&gt; &gt; <br>
&gt; &gt; &quot;bitbake qemu-system-native&quot;<br>
&gt; &gt; <br>
&gt; &gt; it rebuilds as expected, save off the qemu-system-XXX binaries,<br>
&gt; &gt; <br>
&gt; &gt; then remove the local.conf entries and:<br>
&gt; &gt; <br>
&gt; &gt; &quot;bitbake qemu-system-native -c configure -f&quot;<br>
&gt; &gt; &quot;bitbake qemu-system-native&quot;<br>
&gt; &gt; <br>
&gt; &gt; then save off the resulting qemu-system-XXX binaries, you&#39;ll find<br>
&gt; &gt; that<br>
&gt; &gt; whilst these first and last sets should match, they don&#39;t. Its<br>
&gt; &gt; obvious<br>
&gt; &gt; with &quot;ldd qemu-system-x86_64&quot; that the linked libraries persist<br>
&gt; &gt; from<br>
&gt; &gt; the second to third set when they should not.<br>
&gt; &gt; <br>
&gt; &gt; The reason is that when configuration changes, autotools.bbclass<br>
&gt; &gt; will<br>
&gt; &gt; wipe out ${B} however qemu doesn&#39;t use the autotools class and<br>
&gt; &gt; hence B<br>
&gt; &gt; is not cleaned for changes in configuration.<br>
&gt; &gt; <br>
&gt; &gt; We could abstract the pieces of autotools.bbclass which do this<br>
&gt; &gt; into a<br>
&gt; &gt; separate class, or, easier, have qemu&#39;s do_configure wipe ${B}.<br>
&gt; &gt; <br>
&gt; &gt; Armin: This may be the issue you&#39;re searching for with warrior?<br>
&gt; You mean the virgl failure? I did set the native packconfig to make<br>
&gt; the<br>
&gt; selftest and that had no affect. In facted, Zeus has the same<br>
&gt; mismatch.<br>
&gt; Alex&#39;s patches I believe align them to match.<br>
&gt; <br>
&gt; The virgl failure is fixed using an updated version of libdrm. I<br>
&gt; thought I sent an email about that.<br>
<br>
I&#39;m travelling so a little out of sync, I see the email now. I think I<br>
managed to hit the rebuild issue when I tried to debug it which is why<br>
it seemed related to me.<br>
<br>
For the libdrm issue in warrior, we could:<br>
<br>
a) Break policy and upgrade libdrm<br>
b) Just upgrade libdrm-native and nativesdk<br>
c) Mark f30 as broken in warrior for qemugl and not expected to work.<br>
<br>
Any thougts?</blockquote><div dir="auto"><br></div><div dir="auto">I support c ad well but I think there is some hope to identify a fix that can be backported </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
I&#39;m tempted by c).<br>
<br>
Cheers,<br>
<br>
Richard<br>
<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div></div>