<div dir="ltr">Hi,<div> is this what you are talking about</div><div><br></div><div><div>root@polar:~/zcu_yocto/poky/build/tmp/sysroots/zcu102-zynqmp/pkgdata/runtime# ls -ltr *libxml*</div><div>-rwxrwxrwx 2 root root 0 Nov 21 14:05 libxml2-ptest.packaged</div><div>-rwxrwxrwx 2 root root 463307 Nov 21 14:05 libxml2-ptest</div><div>-rwxrwxrwx 2 root root 933 Nov 21 14:05 libxml2-staticdev</div><div>-rwxrwxrwx 2 root root 0 Nov 21 14:05 libxml2-dbg.packaged</div><div>-rwxrwxrwx 2 root root 10526 Nov 21 14:05 libxml2-dbg</div><div>-rwxrwxrwx 2 root root 0 Nov 21 14:05 libxml2-dev.packaged</div><div>-rwxrwxrwx 2 root root 3836 Nov 21 14:05 libxml2-dev</div><div>-rwxrwxrwx 2 root root 0 Nov 21 14:05 libxml2-doc.packaged</div><div>-rwxrwxrwx 2 root root 17476 Nov 21 14:05 libxml2-doc</div><div>-rwxrwxrwx 2 root root 638 Nov 21 14:05 libxml2-locale</div><div>-rwxrwxrwx 2 root root 0 Nov 21 14:05 libxml2.packaged</div><div>-rwxrwxrwx 2 root root 4164 Nov 21 14:05 libxml2</div><div>-rwxrwxrwx 2 root root 628 Nov 21 14:05 libxml2-utils</div><div>-rwxrwxrwx 2 root root 0 Nov 21 14:05 libxml2-python.packaged</div><div>-rwxrwxrwx 2 root root 2910 Nov 21 14:05 libxml2-python</div><div>root@polar:~/zcu_yocto/poky/build/tmp/sysroots/zcu102-zynqmp/pkgdata/runtime# </div><div>root@polar:~/zcu_yocto/poky/build/tmp/sysroots/zcu102-zynqmp/pkgdata/runtime# </div><div>root@polar:~/zcu_yocto/poky/build/tmp/sysroots/zcu102-zynqmp/pkgdata/runtime# </div><div>root@polar:~/zcu_yocto/poky/build/tmp/sysroots/zcu102-zynqmp/pkgdata/runtime# </div></div><div><br></div><div>if not, then sorry, i didnt get you when you say "static dev packages"</div><div><br></div><div>Thanks</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 5, 2017 at 2:26 PM, Matthew McClintock <span dir="ltr"><<a href="mailto:msm-oss@mcclintock.net" target="_blank">msm-oss@mcclintock.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Do you have the staticdev packages in your TMPDIR? E.g.<br>
<br>
tmp/work/cortexa15t2hf-neon-<wbr>rdk-linux-gnueabi/libxml2/2.9.<wbr>4-r0/deploy-ipks/<wbr>cortexa15t2hf-neon/libxml2-<wbr>staticdev_2.9.4-r0_<wbr>cortexa15t2hf-neon.ipk<br>
<span class="HOEnZb"><font color="#888888"><br>
-M<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Wed, Apr 5, 2017 at 1:09 PM, Ravi chandra reddy <<a href="mailto:vlsireddy@gmail.com">vlsireddy@gmail.com</a>> wrote:<br>
> Hi,<br>
> Let me thank you guys for quick reply.<br>
> let me put my email in correct steps<br>
><br>
> 1. below local/local.conf changes makes bitbake fail.<br>
><br>
> IMAGE_INSTALL_append = "lib32-glibc lib32-libgcc<br>
> lib32-libstdc++ libedit libxml2-staticdev"<br>
><br>
> error:=============<br>
> ==============================<wbr>==== i get the following<br>
> errors========================<wbr>==========<br>
> ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs<br>
> ERROR: Logfile of failure stored in:<br>
> /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<br>
> ERROR: Task 9<br>
> (/home/polar/zcu_yocto/poky/<wbr>meta/recipes-core/images/<a href="http://core-image-minimal.bb" rel="noreferrer" target="_blank">core-<wbr>image-minimal.bb</a>,<br>
> do_rootfs) failed with exit code '1'<br>
> NOTE: Tasks Summary: Attempted 2144 tasks of which 2143 didn't need to be<br>
> rerun and 1 failed.<br>
> ==============================<wbr>=====<br>
><br>
> 2. without staticdev changes [in local/local.conf], it<br>
> [bitbake-core-image-minimal] goes through and it builds [but there is only<br>
> .so [dynamic library] generated]<br>
><br>
> IMAGE_INSTALL_append = "lib32-glibc lib32-libgcc lib32-libstdc++ libedit<br>
> libxml2"<br>
><br>
><br>
> 3. i ran the search and found that all "no-static" lines are commented<br>
><br>
> bitbake -e | grep static-libs<br>
><br>
><br>
> and all the "no-static-libs.inc" are commented [#]<br>
><br>
> Thanks<br>
> RC<br>
><br>
> On Wed, Apr 5, 2017 at 2:04 PM, Ravi chandra reddy <<a href="mailto:vlsireddy@gmail.com">vlsireddy@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hi,<br>
>> in local/local.conf it [bitbake core-image-minimal] fails, if i use<br>
>> libxml2-staticdev<br>
>><br>
>> # Specify the 32-bit libraries to be added to all images<br>
>> IMAGE_INSTALL_append = "lib32-glibc lib32-libgcc lib32-libstdc++ libedit<br>
>> libxml2-staticdev"<br>
>><br>
>> ==============================<wbr>==== i get the following<br>
>> errors========================<wbr>==========<br>
>> ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs<br>
>> ERROR: Logfile of failure stored in:<br>
>> /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<br>
>> ERROR: Task 9<br>
>> (/home/polar/zcu_yocto/poky/<wbr>meta/recipes-core/images/<a href="http://core-image-minimal.bb" rel="noreferrer" target="_blank">core-<wbr>image-minimal.bb</a>,<br>
>> do_rootfs) failed with exit code '1'<br>
>> NOTE: Tasks Summary: Attempted 2144 tasks of which 2143 didn't need to be<br>
>> rerun and 1 failed.<br>
>> ==============================<wbr>=====<br>
>><br>
>> if i use as below, there is no issue. however there is no .so<br>
>><br>
>> # Specify the 32-bit libraries to be added to all images<br>
>> IMAGE_INSTALL_append = "lib32-glibc lib32-libgcc lib32-libstdc++ libedit<br>
>> libxml2"<br>
>><br>
>> i ran<br>
>><br>
>> bitbake -e | grep static-libs<br>
>><br>
>> and all the "no-static-libs.inc" are commented [#]<br>
>><br>
>> Thanks<br>
>> RC<br>
>><br>
>><br>
>><br>
>> On Wed, Apr 5, 2017 at 11:48 AM, Richard Purdie<br>
>> <<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@<wbr>linuxfoundation.org</a>> wrote:<br>
>>><br>
>>> On Wed, 2017-04-05 at 10:33 -0500, Matthew McClintock wrote:<br>
>>> > On Wed, Apr 5, 2017 at 10:18 AM, Ravi chandra reddy <vlsireddy@gmail.<br>
>>> > com> wrote:<br>
>>> > ><br>
>>> > > Hi All,<br>
>>> > > I am using meta-oe to generate libxml2 library using<br>
>>> > > AARCH64<br>
>>> > > compiler. However it generates shared object [.so] library.<br>
>>> > ><br>
>>> > > is there any setting in recipe to modify this, to generate static<br>
>>> > > library<br>
>>> > > [instead of shared library]<br>
>>> > ><br>
>>> > > if so, please point me to the recipe/file to change.<br>
>>> > ><br>
>>> > > if not, i will try to add it as patch, plz point me to appropriate<br>
>>> > > files to<br>
>>> > > change<br>
>>> > Is the ${PN}-staticdev package getting generated for you?<br>
>>><br>
>>> 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 = ""<br>
>>><br>
>>> as it would currently be set to this if that include file is included:<br>
>>><br>
>>> DISABLE_STATIC = " --disable-static"<br>
>>><br>
>>> We tend not to build static libraries as they're a waste of space/time<br>
>>> on the most part.<br>
>>><br>
>>> Cheers,<br>
>>><br>
>>> Richard<br>
>><br>
>><br>
><br>
</div></div></blockquote></div><br></div>