This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
make check problem with tst-static-locale when checkingglibc-2.2.92cvs on glibc-2.2.5
- From: Kaoru Fukui <k_fukui at highway dot ne dot jp>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 3 Sep 2002 00:33:13 +0900 (JST)
- Subject: make check problem with tst-static-locale when checkingglibc-2.2.92cvs on glibc-2.2.5
Hi!
My system is powerpc linux on glibc-2.2.5,
using compiler is gcc-3.2.1.
I'm trying glibc-2.2.92cvs,then got the problem.
[root@g4mpkfukui linuxthreads]# gcc -v
Reading specs from /usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2.1/specs
Configured with: ../configure --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --disable-checking --enable-threads=posix --enable-__cxa_atexit --enable-altivec=no --prefix=/usr --with-system-zlib --host=powerpc-unknown-linux-gnu --enable-languages=c,c++,objc,f77,java
Thread model: posix
gcc version 3.2.1 20020830 (prerelease)
binutils is this
[root@g4mpkfukui redhat]# ld -v
GNU ld version 2.13.90 20020823
Please look tst-static-locale which has Segmentation fault.
Any help
Thanks
Kaoru
======error report 1 ======
GCONV_PATH=/usr/src/redhat/BUILD/libc/build-ppc-linux/iconvdata LC_ALL=C /usr/
src/redhat/BUILD/libc/build-ppc-linux/linuxthreads/tststatic > /usr/src/redhat/
BUILD/libc/build-ppc-linux/linuxthreads/tststatic.out
Starting process a
Starting process b
GCONV_PATH=/usr/src/redhat/BUILD/libc/build-ppc-linux/iconvdata LC_ALL=C /usr/
src/redhat/BUILD/libc/build-ppc-linux/linuxthreads/tst-static-locale > /usr/src
/redhat/BUILD/libc/build-ppc-linux/linuxthreads/tst-static-locale.out
make[2]: *** [/usr/src/redhat/BUILD/libc/build-ppc-linux/linuxthreads/tst-static
-locale.out] Error 139
make[2]: Leaving directory `/usr/src/redhat/BUILD/libc/linuxthreads'
make[1]: *** [linuxthreads/tests] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/libc'
make: *** [check] Error 2
======error report 2 ======
[root@g4mpkfukui linuxthreads]# LC_ALL=C ./tst-static-locale
Segmentation fault (core dumped)
======error report 3 ======
[root@g4mpkfukui linuxthreads]# gdb tst-static-locale core.11365
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "ppc-redhat-linux"...
warning: core file may not match specified executable file.
Core was generated by `./tst-static-locale'.
Program terminated with signal 11, Segmentation fault.
#0 __localeconv () at localeconv.c:29
29 result.decimal_point = (char *) _NL_CURRENT (LC_NUMERIC, DECIMAL_POINT);
(gdb) where
#0 __localeconv () at localeconv.c:29
#1 0x10000388 in run_test (locname=0x1007a30c "C")
at ../locale/tst-C-locale.c:41
#2 0x10000320 in main () at ../locale/tst-C-locale.c:465
#3 0x1000d7a4 in __libc_start_main (argc=1, ubp_av=0x10000288,
ubp_ev=0x100a0000, auxvec=0x7ffff7c0, rtld_fini=Cannot access memory at address 0x0
)
at ../sysdeps/powerpc/elf/libc-start.c:152
(gdb)