This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Use compiled glibc-2.5 cause segement fault when doing ls
- From: Bin Chen <binary dot chen at gmail dot com>
- To: libc-alpha at sourceware dot org
- Date: Thu, 25 Jan 2007 19:50:10 +0800
- Subject: Use compiled glibc-2.5 cause segement fault when doing ls
Hi,
I have compiled the glibc-2.5 with ./configure --prefix=/test-glibc.
But when I use the compiled new lib, it cause ls to segment fault, how
can I do to depress such errors?
Error pasted:
binch@binary-ubuntu:/test-libc/lib$ ls
Mcrt1.o libanl.so libdl.so
libnss_compat-2.5.so libnss_nisplus.so.2 librt.so
Scrt1.o libanl.so.1 libdl.so.2
libnss_compat.so libpcprofile.so librt.so.1
crt1.o libanl_p.a libdl_p.a
libnss_compat.so.2 libpthread-2.5.so librt_p.a
crti.o libbsd-compat.a libg.a
libnss_dns-2.5.so libpthread.a libthread_db-1.0.so
crtn.o libc-2.5.so libieee.a
libnss_dns.so libpthread.so libthread_db.so
gconv libc.a libm-2.5.so
libnss_dns.so.2 libpthread.so.0 libthread_db.so.1
gcrt1.o libc.so libm.a
libnss_files-2.5.so libpthread_nonshared.a libutil-2.5.so
ld-2.5.so libc.so.6 libm.so
libnss_files.so libpthread_p.a libutil.a
ld-linux.so.2 libc_nonshared.a libm.so.6
libnss_files.so.2 libresolv-2.5.so libutil.so
libBrokenLocale-2.5.so libc_p.a libm_p.a
libnss_hesiod-2.5.so libresolv.a libutil.so.1
libBrokenLocale.a libcrypt-2.5.so libmcheck.a
libnss_hesiod.so libresolv.so libutil_p.a
libBrokenLocale.so libcrypt.a libmemusage.so
libnss_hesiod.so.2 libresolv.so.2 test
libBrokenLocale.so.1 libcrypt.so libnsl-2.5.so
libnss_nis-2.5.so libresolv_p.a test.c
libBrokenLocale_p.a libcrypt.so.1 libnsl.a
libnss_nis.so librpcsvc.a
libSegFault.so libcrypt_p.a libnsl.so
libnss_nis.so.2 librpcsvc_p.a
libanl-2.5.so libdl-2.5.so libnsl.so.1
libnss_nisplus-2.5.so librt-2.5.so
libanl.a libdl.a libnsl_p.a
libnss_nisplus.so librt.a
binch@binary-ubuntu:/test-libc/lib$ LD_LIBRARY_PATH=`pwd` ls
Segmentation fault
binch@binary-ubuntu:/test-libc/lib$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
--with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared
--with-system-zlib --libexecdir=/usr/lib --enable-nls
--without-included-gettext --enable-threads=posix --program-suffix=-4.0
--enable-__cxa_atexit --enable-libstdcxx-allocator=mt
--enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre
--enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
binch@binary-ubuntu:/test-libc/lib$
Thanks.
Bin Chen