<div dir="ltr">Hi,<div>    Let me thank you guys for quick reply.</div><div>let me put my  email in correct steps</div><div><br></div><div>1. below <span style="font-size:12.8px">local/local.conf changes makes bitbake fail.</span></div><div><br></div><div><span style="font-size:12.8px">                            IMAGE_INSTALL_append = &quot;lib32-glibc lib32-libgcc lib32-libstdc++ libedit libxml2-<b>staticdev</b>&quot;</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">error:=============</span></div><div><div style="font-size:12.8px">==============================<wbr>==== i get the following errors========================<wbr>==========<br></div><div style="font-size:12.8px"><div>ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs</div><div>ERROR: Logfile of failure stored in: /home/polar/zcu_yocto/poky/<wbr>build/tmp/work/zcu102_zynqmp-<wbr>poky-linux/core-image-minimal/<wbr>1.0-r0/temp/log.do_rootfs.<wbr>17721</div><div>ERROR: Task 9 (/home/polar/zcu_yocto/poky/<wbr>meta/recipes-core/images/<a href="http://core-image-minimal.bb/" target="_blank">core-<wbr>image-minimal.bb</a>, do_rootfs) failed with exit code &#39;1&#39;</div><div>NOTE: Tasks Summary: Attempted 2144 tasks of which 2143 didn&#39;t need to be rerun and 1 failed.</div></div><div style="font-size:12.8px">==============================<wbr>=====</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="font-size:12.8px">2.  without staticdev changes [in </span><span style="font-size:12.8px">local/local.conf</span><span style="font-size:12.8px">], it [bitbake-core-image-minimal] goes through and it builds [but there is only .so [dynamic library] generated]</span></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="font-size:12.8px">IMAGE_INSTALL_append = &quot;lib32-glibc lib32-libgcc lib32-libstdc++ libedit libxml2</span><span style="font-size:12.8px">&quot;</span><br></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px">3. i ran the search and found that all &quot;no-static&quot; lines are commented</span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px">bitbake -e | grep static-libs</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">and all the &quot;no-static-libs.inc&quot; are commented [#] </span><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thanks</span></div><div><span style="font-size:12.8px">RC</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 5, 2017 at 2:04 PM, Ravi chandra reddy <span dir="ltr">&lt;<a href="mailto:vlsireddy@gmail.com" target="_blank">vlsireddy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>       in local/local.conf it [bitbake core-image-minimal] fails, if i use libxml2-staticdev<br><div>   </div><div>  # Specify the 32-bit libraries to be added to all images</div><div>IMAGE_INSTALL_append = &quot;lib32-glibc lib32-libgcc lib32-libstdc++ libedit libxml2-staticdev&quot;</div><div><br></div><div>==============================<wbr>==== i get the following errors========================<wbr>==========<br></div><div><div>ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs</div><div>ERROR: Logfile of failure stored in: /home/polar/zcu_yocto/poky/<wbr>build/tmp/work/zcu102_zynqmp-<wbr>poky-linux/core-image-minimal/<wbr>1.0-r0/temp/log.do_rootfs.<wbr>17721</div><div>ERROR: Task 9 (/home/polar/zcu_yocto/poky/<wbr>meta/recipes-core/images/<a href="http://core-image-minimal.bb" target="_blank">core-<wbr>image-minimal.bb</a>, do_rootfs) failed with exit code &#39;1&#39;</div><div>NOTE: Tasks Summary: Attempted 2144 tasks of which 2143 didn&#39;t need to be rerun and 1 failed.</div></div><div>==============================<wbr>=====</div><div><br></div><div>if i use as below, there is no issue. however there is no .so</div><div><br></div><div><div># Specify the 32-bit libraries to be added to all images</div><div>IMAGE_INSTALL_append = &quot;lib32-glibc lib32-libgcc lib32-libstdc++ libedit libxml2&quot;</div></div><div><br></div><div>i ran</div><div><br></div><div>bitbake -e | grep static-libs<br></div><div><br></div><div>and all the &quot;no-static-libs.inc&quot; are commented [#] </div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>RC </div><div><br></div><div><br></div></font></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 5, 2017 at 11:48 AM, Richard Purdie <span dir="ltr">&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@<wbr>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"><span>On Wed, 2017-04-05 at 10:33 -0500, Matthew McClintock wrote:<br>
&gt; On Wed, Apr 5, 2017 at 10:18 AM, Ravi chandra reddy &lt;vlsireddy@gmail.<br>
&gt; com&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; Hi All,<br>
&gt; &gt;           I am using meta-oe to generate libxml2 library using<br>
&gt; &gt; AARCH64<br>
&gt; &gt; compiler. However it generates shared object [.so] library.<br>
&gt; &gt;<br>
&gt; &gt; is there any setting in recipe to modify this, to generate static<br>
&gt; &gt; library<br>
&gt; &gt; [instead of shared library]<br>
&gt; &gt;<br>
&gt; &gt; if so, please point me to the recipe/file to change.<br>
&gt; &gt;<br>
&gt; &gt; if not, i will try to add it as patch, plz point me to appropriate<br>
&gt; &gt; files to<br>
&gt; &gt; change<br>
&gt; Is the ${PN}-staticdev package getting generated for you?<br>
<br>
</span>Its possible you have conf/distro/include/no-static-<wbr>libs.inc included<br>
in your build (bitbake -e would tell you).<br>
<br>
If so, you could remove that include or set:<br>
<br>
DISABLE_STATIC = &quot;&quot;<br>
<br>
as it would currently be set to this if that include file is included:<br>
<br>
DISABLE_STATIC = &quot; --disable-static&quot;<br>
<br>
We tend not to build static libraries as they&#39;re a waste of space/time<br>
on the most part.<br>
<br>
Cheers,<br>
<br>
Richard<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>