This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
still problems memset and bug-regex11
- From: Kaoru Fukui <k_fukui at highway dot ne dot jp>
- To: libc-alpha at sources dot redhat dot com
- Cc: Steven Munroe <sjmunroe at us dot ibm dot com>
- Date: Sun, 8 Sep 2002 22:45:31 +0900 (JST)
- Subject: still problems memset and bug-regex11
HI!
Thanks your hard works.
I still have problems in today cvs glibc-2.2.93 source.
top changelog is
2002-09-04 Bruno Haible <bruno@clisp.org>
* sysdeps/generic/bits/ustat.h: Comment fix.
my mashine is powerpc linux g4(32bit)
Here is result.
Kaoru
--------1st problem------------------------
GCONV_PATH=/usr/src/redhat/BUILD/libc/build-ppc-linux/iconvdata LC_ALL=C /usr/src/red
hat/BUILD/libc/build-ppc-linux/elf/ld.so.1 --library-path /usr/src/redhat/BUILD/libc/bu
ild-ppc-linux:/usr/src/redhat/BUILD/libc/build-ppc-linux/math:/usr/src/redhat/BUILD/lib
c/build-ppc-linux/elf:/usr/src/redhat/BUILD/libc/build-ppc-linux/dlfcn:/usr/src/redhat/
BUILD/libc/build-ppc-linux/nss:/usr/src/redhat/BUILD/libc/build-ppc-linux/nis:/usr/src/
redhat/BUILD/libc/build-ppc-linux/rt:/usr/src/redhat/BUILD/libc/build-ppc-linux/resolv:
/usr/src/redhat/BUILD/libc/build-ppc-linux/crypt:/usr/src/redhat/BUILD/libc/build-ppc-l
inux/linuxthreads /usr/src/redhat/BUILD/libc/build-ppc-linux/posix/bug-regex11 > /usr/
src/redhat/BUILD/libc/build-ppc-linux/posix/bug-regex11.out
make[2]: *** [/usr/src/redhat/BUILD/libc/build-ppc-linux/posix/bug-regex11.out] Error 1
39
make[2]: Leaving directory `/usr/src/redhat/BUILD/libc/posix'
make[1]: *** [posix/tests] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/libc'
make: *** [check] Error 2
[root@g4mpkfukui build-ppc-linux]#
------------2nd problem---------------------------------------------
(gdb) run
Starting program: /usr/src/redhat/BUILD/libc/build-ppc-linux/rt/tst-timer
[New Thread 16384 (LWP 11243)]
[New Thread 32769 (LWP 11244)]
[New Thread 16386 (LWP 11245)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 32769 (LWP 11244)]
0x0fe85b50 in memset () from /lib/libc.so.6
(gdb)
---------------------------------------------------------
stack is this
-----
(gdb) where
#0 0x0fe85b50 in memset () from /lib/libc.so.6
#1 0x0ff62f3c in pthread_allocate_stack () from /lib/libpthread.so.0
#2 0x0ff624c4 in pthread_handle_create () from /lib/libpthread.so.0
#3 0x0ff6231c in __pthread_manager () from /lib/libpthread.so.0
#4 0x0ff62ba8 in __pthread_manager_event () from /lib/libpthread.so.0
#5 0x0fee0848 in clone () from /lib/libc.so.6
-------------------------------------------------------------
- 0xfe85ae4 <memset>: cmplwi cr1,r5,4
- 0xfe85ae8 <memset+4>: andi. r7,r3,3
- 0xfe85aec <memset+8>: mr r6,r3
- 0xfe85af0 <memset+12>: ble- cr1,0xfe85c80 <memset+412>
- 0xfe85af4 <memset+16>: cmplwi cr5,r5,31
- 0xfe85af8 <memset+20>: rlwimi r4,r4,8,16,23
- 0xfe85afc <memset+24>: beq+ 0xfe85b20 <memset+60>
- 0xfe85b00 <memset+28>: mtcrf 1,r3
- 0xfe85b04 <memset+32>: subfic r7,r7,4
- 0xfe85b08 <memset+36>: add r6,r6,r7
- 0xfe85b0c <memset+40>: subf r5,r7,r5
- 0xfe85b10 <memset+44>: bns+ cr7,0xfe85b1c <memset+56>
- 0xfe85b14 <memset+48>: stb r4,0(r3)
- 0xfe85b18 <memset+52>: beq- cr7,0xfe85b20 <memset+60>
- 0xfe85b1c <memset+56>: sth r4,-2(r6)
- 0xfe85b20 <memset+60>: mtcrf 1,r5
- 0xfe85b24 <memset+64>: rlwimi r4,r4,16,0,15
- 0xfe85b28 <memset+68>: ble- cr5,0xfe85cc0 <memset+476>
- 0xfe85b2c <memset+72>: andi. r7,r6,28
- 0xfe85b30 <memset+76>: subfic r7,r7,32
- 0xfe85b34 <memset+80>: beq- 0xfe85b74 <memset+144>
- 0xfe85b38 <memset+84>: mtcrf 1,r7
- 0xfe85b3c <memset+88>: add r6,r6,r7
- 0xfe85b40 <memset+92>: subf r5,r7,r5
- 0xfe85b44 <memset+96>: cmplwi cr1,r7,16
- 0xfe85b48 <memset+100>: mr r8,r6
- 0xfe85b4c <memset+104>: bge- cr7,0xfe85b58 <memset+116>
- 0xfe85b50 <memset+108>: stw r4,-4(r8)
--------------------------------------