init (busybox) problem on OSK5912
Hi,
I have made some findings to resolve this issue. May be this is helpful for you.
We were also facing the similar issue where the gdbserver when linked dynamically was always resulting in a segmentation fault. We have ensured that the version of libraries used while compilation are same in the target also. But still , the gdbserver was resulting in a crash (always before accept system call).
After going through other mailing lists, I have found that this issue is happening because of a bug in glibc libraries. I have rebuilt the glibc libraries (2.3.5 version) for arm after deleting the sysdeps/arm/memset.S file. I have used the newly built "libc.so.6" and "ld-linux.so.2" for compilation and runtime environment. This time gdbserver and other dynamically shared program worked fine.
May be you can give this step a try. I have followed the steps for building toolchain from http://frank.harvard.edu/~coldwell/toolchain/
Regards,
Dinesh
++ Sent by Chetan Kapoor on behalf of Dinesh Arora ++
*********************** FSS-Unclassified ***********************
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .