This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[MIPS] segmentation fault in glibc-2.5


Hi,

I get segmentation fault when I issue `ls' on mips board.
Has anyone come across similar situation?

bash-2.05a# ls
Segmentation fault
bash-2.05a# /lib/libc-2.5.so 
GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.1.
Compiled on a Linux 2.6.16.24 system on 2007-01-23.
Available extensions:
        crypt add-on version 2.1 by Michael Glad and others
        Support for some architectures added on, not maintained in glibc core.
        GNU libio by Per Bothner
        linuxthreads-0.10 by Xavier Leroy
        libthread_db work sponsored by Alpha Processor Inc
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
        BIND-8.2.3-T5B
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.


My toolchain is gcc-4.1.1 + glibc-2.5 + binutils-2.17.50.0.6, with tls
enabled, and using linuxthreads. glibc-2.3.6 worked just fine.  Also,
same combination built for arm, powerpc, and i386 works OK, so it seems
mips architecture dependent.

It also seems that any command that links with libpthread.so.0 will
cause segfault.

bash-2.05a# ldd /usr/bin/ls
        librt.so.1 => /lib/librt.so.1 (0x2aad6000)
        libc.so.6 => /lib/libc.so.6 (0x2aafa000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x2ac44000)
        /lib/ld.so.1 (0x2aaa8000)
bash-2.05a# ldd /usr/bin/make
        librt.so.1 => /lib/librt.so.1 (0x2aad6000)
        libc.so.6 => /lib/libc.so.6 (0x2aafa000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x2ac44000)
        /lib/ld.so.1 (0x2aaa8000)
bash-2.05a# make -v
Segmentation fault
bash-2.05a# ldd /usr/bin/cat
        libc.so.6 => /lib/libc.so.6 (0x2aad6000)
        /lib/ld.so.1 (0x2aaa8000)
bash-2.05a# cat /proc/cpuinfo 
system type             : Toshiba RBTX4927/RBTX4937
processor               : 0
cpu model               : TX49xx V3.0  FPU V3.0
BogoMIPS                : 198.14
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 48
extra interrupt vector  : no
hardware watchpoint     : no
ASEs implemented        :
VCED exceptions         : not available
VCEI exceptions         : not available
bash-2.05a# 


Any hint please?


Thanks,

(Hiroki Kaminaga)
t
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]