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.?