how to add valgrind debug tool in yocto Rev. L3.14.38_6ul-ga

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to add valgrind debug tool in yocto Rev. L3.14.38_6ul-ga

6,008件の閲覧回数
dukeless
Contributor I

    Hi, our team have meeting a memery leak serious problem in App development based on imx6ulevk bsp Rev. L3.14.38_6ul-ga, I want to debug with valgrind, so i have downloaded the source code and cross compiled it with yocto toolchain.

    but it can not run on the target board, it need the libc6-dbg unstriped libraries, so i copy all the libraries from /opt/poky/1.8/sysroots/cortexa7hf-vfp-neon-poky-linux-gnueabi/lib/.debug/ to the target board /lib/.debug;

but it still cannot run.

   it's there some solution to fix the problem or install the valgrind tool through the yocto project on the target root filesystem?

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

3,951件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Binli,

    Your question is on how to add a new package to Yocto, actually, it is not within our support range. But you can refer to the link, and you will find it is not difficult to solve the problem.

(1) English link:

Building your own recipes from first principles - Yocto Project 

(2)chinese link:

(10): Yocto hellworld 添加一个软件包 · Yocto实用技巧 · 看云 


Have a great day,
TIC   Weidong Sun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

3,951件の閲覧回数
dukeless
Contributor I

I add the valgrind in the *.bb file, but the yocto build meet some compiler error,

i think the valgrind 3.10 version was not totally support in yocto "ARM" project now.

0 件の賞賛
返信