AnsweredAssumed Answered

malloc used executable binary unable to run in imx6 linux

Question asked by aravinthkumar jayaprakasam on Apr 9, 2016
Latest reply on Apr 10, 2016 by Yuri Muhin

Hi All,

i written a simple malloc c program and cross compiled into arm, then i run in arm bsp it shows segmentation fault. Then i compiled that program as statically, then it's successfully run. But this is testing purpose i did.

 

I have an big source file, in that source have malloc, also i'm not able to compile as statically. So in dynamically linked file how can i use..?

i cross checked with shared libraries(libc.so.6 is there). Everything is there.

 

Can you help me to fix this issue.?

 

 

Regards,

Aravinth

Outcomes