All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: mklibs in USER_CLASSES (Khem Raj) (Khem Raj)
@ 2016-11-16 12:07 신택현 (Taek Hyun Shin)
  2016-11-16 17:53 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: 신택현 (Taek Hyun Shin) @ 2016-11-16 12:07 UTC (permalink / raw)
  To: yocto


[-- Attachment #1.1: Type: text/html, Size: 57929 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mklibs in USER_CLASSES (Khem Raj) (Khem Raj)
  2016-11-16 12:07 mklibs in USER_CLASSES (Khem Raj) (Khem Raj) 신택현 (Taek Hyun Shin)
@ 2016-11-16 17:53 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2016-11-16 17:53 UTC (permalink / raw)
  To: 신택현 (Taek Hyun Shin), yocto


[-- Attachment #1.1: Type: text/plain, Size: 5773 bytes --]



On 11/16/16 4:07 AM, 신택현 (Taek Hyun Shin) wrote:
> Hi Khem Raj
> 
> 
> Thank you for your answer
> 
> 
> I did add to the patch your recommend.
> 
> But, the error is occurred as follow:

I guess you have to dig deep and see what might be going on

> 
> 
> 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
> : thshin@telechips.com <mailto:rami@telechips.com>
> 
> 
> 
> 
>  Message: 1
>> Date: Fri, 11 Nov 2016 10:17:54 -0800
>> From: Khem Raj <raj.khem@gmail.com>
>> To: ??? (Taek Hyun Shin) <thshin@telechips.com>,
>> yocto@yoctoproject.org
>> Subject: Re: [yocto] mklibs in USER_CLASSES
>> Message-ID: <7cdefdbc-baa9-4dfd-f60d-64c0d3c9e459@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
>>> 
>>>  
>>> 
>>>  
>>> 
>>>  
>>> 
>>>  
>>> 
> 
> 
> 
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-16 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-16 12:07 mklibs in USER_CLASSES (Khem Raj) (Khem Raj) 신택현 (Taek Hyun Shin)
2016-11-16 17:53 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.