Enable OPENSSL Debug Logs with Yocto

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Enable OPENSSL Debug Logs with Yocto

895 次查看
kharding
Contributor I

Hi,

Has anyone had success enabling OPENSSL Debug Logs with Yocto? I am trying to troubleshoot the se05x-openssl-provider which is not working correctly.

Best Regards,

kharding

0 项奖励
回复
3 回复数

872 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @kharding ,

 

The openssl can be rebuilt with "-g" option to enable the debug, please kindly refer to https://stackoverflow.com/questions/11129826/build-openssl-on-linux-with-g-for-debugging/11129991 for more details.

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复

853 次查看
kharding
Contributor I

Hi @Kan_Li ,

Thank you so much for your help! The thread suggests adding "-g" to a stand-alone build, but I was curious if anyone was successful enabling debug in a openssl bitbake recipe. 

Best Regards,
kharding


0 项奖励
回复

842 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @kharding ,

 

Actually there is no difference between recipe building and standalone building, you may modify the recipe for openssl by adding this option in do_configure ().

 

Hope that makes sense,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复