[uClibc]Old_mmap segfault on mipsel

Steven J. Hill sjhill at realitydiluted.com
Mon Feb 24 13:51:31 UTC 2003


Dana Soward wrote:
> 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)
> 
Are you sure theat 'libc.so.0' is pointing to the uClibc C runtime? Did
you accidentally use glibc? What does the following command give you:

    mipsel-linux-readelf -e busybox.dynamic

Is the program interpreter 'ld-uClibc.so'?

-Steve




More information about the uClibc mailing list