Hi Khem Raj


Thank you for your answer


I did add to the patch your recommend.

But, the error is occurred as follow:


Object: usr/bin/tc-/home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/tcc8021/usr/lib//libTcGuiUtils_pic.a(libTcGuiUtils_pic.o): In function `$d':

/home/B110141/works/Yocto/build/tcc8021/tmp/work/cortexa7-vfp-neon-telechips-linux-gnueabi/libtcguiutils/1.0.0-r0/git/src/TCTime.cpp:65: undefined reference to `__dso_handle'

/home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/tcc8021/usr/lib//libTcGuiUtils_pic.a(libTcGuiUtils_pic.o): In function `$d':

/home/B110141/works/Yocto/build/tcc8021/tmp/work/cortexa7-vfp-neon-telechips-linux-gnueabi/libtcguiutils/1.0.0-r0/git/src/TCLog.cpp:71: undefined reference to `__dso_handle'

/home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/tcc8021/usr/lib//libTcGuiUtils_pic.a(libTcGuiUtils_pic.o): In function `$d':

/home/B110141/works/Yocto/build/tcc8021/tmp/work/cortexa7-vfp-neon-telechips-linux-gnueabi/libtcguiutils/1.0.0-r0/git/qrc_libTcGuiUtils.cpp:26057: undefined reference to `__dso_handle'

/home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/tcc8021/usr/lib//libTcGuiUtils_pic.a(libTcGuiUtils_pic.o): In function `$d':

/home/B110141/works/Yocto/build/tcc8021/tmp/work/cortexa7-vfp-neon-telechips-linux-gnueabi/libtcguiutils/1.0.0-r0/git/src/TCCharSet.cpp:74: undefined reference to `__dso_handle'

/home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/tcc8021/usr/lib//libTcGuiUtils_pic.a(libTcGuiUtils_pic.o): In function `$d':

/home/B110141/works/Yocto/build/tcc8021/tmp/work/cortexa7-vfp-neon-telechips-linux-gnueabi/libtcguiutils/1.0.0-r0/git/src/TCBufferHandler.cpp:41: undefined reference to `__dso_handle'

/home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/x86_64-linux/usr/libexec/arm-telechips-linux-gnueabi/gcc/arm-telechips-linux-gnueabi/4.8.1/ld: /home/B110141/works/Yocto/build/tcc8021/tmp/work/tcc8021-telechips-linux-gnueabi/mico    m-project-image/1.0-r0/mklibs/dest/libTcGuiUtils.so.1-so: hidden symbol `__dso_handle' isn't defined

/home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/x86_64-linux/usr/libexec/arm-telechips-linux-gnueabi/gcc/arm-telechips-linux-gnueabi/4.8.1/ld: final link failed: Bad value

collect2: error: ld returned 1 exit status


Can I try fix this issue the other way??


> Can you check if OE mklib has this patch applied ?

https://lists.debian.org/debian-boot/2013/01/msg00239.html



Thanks & Best Regards,

Wily Taekhyun Shin
 
 
*Telechips Inc.*
*R&D Center / Automotive Group / Linux Team / Research Engineer*
Tel : +82-2-3443-6792(Ext. 390), M.P : +82-10-4376-5530, E-mail
: ths...@telechips.com <mailto:r...@telechips.com>




 Message: 1
> Date: Fri, 11 Nov 2016 10:17:54 -0800
> From: Khem Raj <raj.k...@gmail.com>
> To: ??? (Taek Hyun Shin) <ths...@telechips.com>,
> yocto@yoctoproject.org
> Subject: Re: [yocto] mklibs in USER_CLASSES
> Message-ID: <7cdefdbc-baa9-4dfd-f60d-64c0d3c9e...@gmail.com>
> Content-Type: text/plain; charset="utf-8"



> On 11/11/16 1:22 AM, ??? (Taek Hyun Shin) wrote:
>> Hi,
>> 
>> Somebody help met plz.
>> 
>> 
>> I'm using Yocto Project 2.0
>> 
>> I want to reduce my rootfs due to fast execute binaries.
>> 
>> So, I did apply mklibs using USE_CLASSES

> if you use prelink as well then make sure mklibs appear before prelink in
> USE_CLASSES

>> 
>> But, I got error message as follow:
>> 
>> 
>>  208 No pic file found for
>> /home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/tcc8021/usr/lib//libgmp.so.10
>> ; copying
>> 
>>  209 reducing libgobject-2.0.so.0
>> 
>>  210 No pic file found for
>> /home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/tcc8021/usr/lib//libgobject-2.0.so.0
>> ; copying
>> 
>>  211 reducing libgstreamer-1.0.so.0
>> 
>>  212 No pic file found for
>> /home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/tcc8021/usr/lib//libgstreamer-1.0.so.0
>> ; copying
>> 
>>  213 reducing libhogweed.so.4
>> 
>>  214 No pic file found for
>> /home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/tcc8021/usr/lib//libhogweed.so.4
>> ; copying
>> 
>>  215 reducing libinput.so.10
>> 
>>  216 No pic file found for
>> /home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/tcc8021/usr/lib//libinput.so.10
>> ; copying
>> 
>>  217 reducing libjpeg.so.9
>> 
>>  218 No pic file found for
>> /home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/tcc8021/usr/lib//libjpeg.so.9
>> ; copying
>> 
>>  219 reducing liblog.so
>> 
>>  220 No pic file found for
>> /home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/tcc8021/usr/lib//liblog.so ;
>> copying
>> 
>>  221 reducing libm.so.6
>> 
>>  222 No pic file found for
>> /home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/tcc8021/lib//libm.so.6 ;
>> copying
>> 
>>  223 reducing libmenuw.so.5
>> 
>>  224 No pic file found for
>> /home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/tcc8021/usr/lib//libmenuw.so.5
>> ; copying
>> 
>>  225 reducing libmount.so.1
>> 
>>  226 No pic file found for
>> /home/B110141/works/Yocto/build/tcc8021/tmp/sysroots/tcc8021/lib//libmount.so.1 ;
>> copying
>> 
>>  227 reducing libmtdev.so.1
>> 
>> 
>> How can I create the pic file each libraries
>> 
>> 
>> Help me plz TT
>> 
>>  
>> 
>>  
>> 
>>  
>> 
>>  
>> 


-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to