segmentation fault of dynamic executables with ld-uClibc.so.0 from 0.9.29 on mipsel
Rob Landley
rob at landley.net
Fri Jun 1 17:21:30 UTC 2007
On Thursday 31 May 2007 5:01 am, Carsten Lange wrote:
> Hi all,
> I used buildroot to build 3 toolchains for mipsel with different uClibc
> versions and same versions of binutils and gcc:
> binutils version 2.17
> gcc version 4.1.2
> kernel-headers 2.4.25
> uClibc versions
> 0.9.28
> 0.9.28.3
> 0.9.29
> I discovered that dynamically linked executables do segfault when I use
0.9.29.
They're working for me in Firmware Linux. Grab the latest snapshot from
http://landley.net/hg/firmware (links up top), run "./build.sh mipsel", then
cd build and run ./run-mipsel.sh and you should get a command prompt in a
mipsel (assuming you have a recent enough qemu installed).
It's possible there's an alignment problem, since qemu is just now adding code
to catch that. In fact, if it works under qemu and doesn't work on real mips
hardware, alignment fault is the obvious culprit. :)
Rob
More information about the uClibc
mailing list