[uClibc]Old_mmap segfault on mipsel

Dana Soward dana at linuxboxen.org
Sun Feb 23 22:00:11 UTC 2003


Does anyone know how or why this might be happening?

# busybox.dynamic ls
Segmentation fault
# strace.static busybox.dynamic ls
execve("/bin/busybox.dynamic", ["busybox.dynamic", "ls"], [/* 16 vars
*/]) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0,
0) = 0x2aaae000
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

marvin:/home/bigdir/src/buildroot-0.9.18#
build/staging_dir/bin/mipsel-uclibc-ldd
build/busybox-0.60.5/busybox.dynamic
        libc.so.0 =>
/home/bigdir/src/buildroot-0.9.18/build/staging_dir/lib/libc.so.0
(0x00000000)
        /lib/ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x00000000)

This happens for every dynamically linked binary I try on my target,
from busybox applets, to strace, to ldd.  It's using a buildroot with
uclibc a 0.9.18 snapshot from early this morning and gcc 3.2 (I tried
3.2.2 also, but had the same result).  If I build things statically,
they work fine.  I'm cross compiling on a 686 (AMD tbird) for a mipsel
target.  If anyone has any ideas, or need more details, let me know.
Thanks!

Dana

Dana Soward
Email: dana at linuxboxen.org




More information about the uClibc mailing list