Subject: Re: NetBSD/hpcsh snapshot with X11 sets uploaded to ftp.n.o
To: None <port-hpcsh@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-hpcsh
Date: 03/05/2004 21:46:43
On Sat, Mar 06, 2004 at 01:12:03 +0900, Yasushi Oshima wrote:

> I tried them, but the groff(1) and some commands coredumped.

> % gdb /usr/bin/groff groff.core
> Core was generated by `groff'.
> Program terminated with signal 11, Segmentation fault.
> (gdb) bt
> #0  0x0041abfc in __sF ()
> #1  0x20524b60 in __udivdi3 () from /usr/lib/libgcc_s.so.1
> #2  0x205cd522 in __eqdf2 () from /usr/lib/libc.so.12
> 
> This occurs in both NetBSD/hpcsh on my Jornada680 and NetBSD/dreamcast.

Hmm...  Running in a chroot I see:

(gdb) where
#0  0x0041abec in __udivsi3 ()
#1  0x20524b60 in __udivdi3 () from /usr/lib/libgcc_s.so.1
#2  0x205cd522 in __eqdf2 () from /usr/lib/libc.so.12

which is obviously a problem.  There should have been a ".hidden" copy
of __udivsi3 in libgcc_s.so.

Also, there was recently a discussion on port-dreamcast about similar
problems with apache6 (__udivdi3 was also involved).

I'll take a look.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen