Re: [yocto] prelink & mklibs problem

2014-12-14 Thread Qiang Yu
Thanks, Mark. All points have been checked, prelink really works for my armhf build. 160: number of relocations: 0 160: number of relocations from cache: 157 160:number of relative relocations: 0 Regards, Qiang On Fri, Dec 12, 2014 at 11:43 PM, M

Re: [yocto] prelink & mklibs problem

2014-12-12 Thread Mark Hatle
On 12/12/14, 12:57 AM, Qiang Yu wrote: Hi Mark, I have used the 81bab23a4661fdaaa859325d6d3603__811ecf1849 version prelink to build my image. Prelink run smoothly without output like before, the image is also modified, so the prelink works. My application also run correctly. But how can I make s

Re: [yocto] prelink & mklibs problem

2014-12-11 Thread Qiang Yu
Hi Mark, I have used the 81bab23a4661fdaaa859325d6d3603811ecf1849 version prelink to build my image. Prelink run smoothly without output like before, the image is also modified, so the prelink works. My application also run correctly. But how can I make sure the prelink take effect when I start an

Re: [yocto] prelink & mklibs problem

2014-12-10 Thread Mark Hatle
On 12/9/14, 9:01 PM, Mark Hatle wrote: On 12/9/14, 8:41 PM, Qiang Yu wrote: I have submitted a bug here: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7056 (Responded in the bug as well...) I have a test version of the cross prelink with the ARM HF patch available, as commit: 2cde4ff118b

Re: [yocto] prelink & mklibs problem

2014-12-09 Thread Mark Hatle
On 12/9/14, 8:41 PM, Qiang Yu wrote: I have submitted a bug here: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7056 (Responded in the bug as well...) I have a test version of the cross prelink with the ARM HF patch available, as commit: 2cde4ff118b5244f5577d9bc585c1ee521740af0 To enab

Re: [yocto] prelink & mklibs problem

2014-12-09 Thread Qiang Yu
I have submitted a bug here: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7056 Regards, Qiang On Tue, Dec 9, 2014 at 11:51 PM, Mark Hatle wrote: > On 12/8/14, 3:55 AM, Jegan Chandru wrote: > >> I recommend you to file a bug here https://bugzilla.yoctoproject.org/ if >> not >> done already.

Re: [yocto] prelink & mklibs problem

2014-12-09 Thread Mark Hatle
On 12/8/14, 3:55 AM, Jegan Chandru wrote: I recommend you to file a bug here https://bugzilla.yoctoproject.org/ if not done already. You may get a proper answer on armhf support there. From what I see, (someone please correct me if I am wrong), there is no prelink dynamic link armhf patch. You ca

Re: [yocto] prelink & mklibs problem

2014-12-08 Thread Jegan Chandru
I recommend you to file a bug here https://bugzilla.yoctoproject.org/ if not done already. You may get a proper answer on armhf support there. From what I see, (someone please correct me if I am wrong), there is no prelink dynamic link armhf patch. You can also create and submit the patch for revie

Re: [yocto] prelink & mklibs problem

2014-12-08 Thread Qiang Yu
Thanks for your reply. I almost give up. You mean that current yocto build doesn't support hard float ABI prelink, and the prelink source code needs to be modified to use ld-linux-armhf.so.3? So this problem affect all armhf build of yocto, in other words prelink doesn't work for yocto armhf at a

Re: [yocto] prelink & mklibs problem

2014-12-07 Thread Jegan Chandru
Hi, I think it has to do with the ld-linux-armhf.so.3. May be you should tell prelink that you have hard float ARM ABI to prelink for, than ld-linux.so.3 . It means you need to add ld-linux-armhf.so.3 as a dynamic linker. You should patch the prelink source to get this done. HTH. -JC On Fri,

[yocto] prelink & mklibs problem

2014-12-04 Thread Qiang Yu
Hi all, I'm building a image with local.conf: USER_CLASSES ?= "buildstats image-mklibs image-prelink" but I think prelink does nothing on my image, because the MD5SUM is the same before and after the prelink stage. The mklibs stage is also strange not print anything. How to make prelink and mklib