<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>================================== i get the following errors==================================<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/build/tmp/work/zcu102_zynqmp-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.17721</div><div>ERROR: Task 9 (/home/polar/zcu_yocto/poky/meta/recipes-core/images/<a href="http://core-image-minimal.bb">core-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>===================================</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><div>RC </div><div><br></div><div><br></div></div></div><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@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 class="">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>