Subject: Re: -current on sun3 after signal changes - ready?
To: None <thorpej@nas.nasa.gov>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-sun3
Date: 10/11/1998 13:42:12
Hi,
thorpej@nas.nasa.gov wrote:
> Perhaps you could litter the signal code with printfs? I dunno, all
> of my old m68k binaries work fine w/ 68020 and 68040 systems.
I'm trying to boot October 6th -current kernel on my sun3/80.
It boots up to multi user mode, but only csh and tcsh does not
work so I cannot login.
---
# csh
Illegal instruction - core dumped
#
---
The csh and libc binary is made from around June 10th
-current(1.3F?) source. These binaries work fine on
1.3G (around August 20th?) kernel.
I make csh binary with `cc -g' and old libc
(I don't make new libc yet), then gdb says:
---
# gdb csh
GDB is free software and you are welcome to 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.
GDB 4.16 (m68k-netbsd), Copyright 1996 Free Software Foundation, Inc...
(gdb) run
Starting program: /usr/src/bin/csh/obj/csh
Program received signal SIGILL, Illegal instruction.
0x1b6c4 in sigreturn ()
(gdb) backtrace
#0 0x1b6c4 in sigreturn ()
#1 0x17a42 in longjmp ()
#2 0xd536 in lex (hp=0x3e460) at /usr/src/bin/csh/lex.c:160
#3 0x3b7e in process (catch=0) at /usr/src/bin/csh/csh.c:1088
#4 0x349e in srcunit (unit=3, onlyown=0, hflg=0) at /usr/src/bin/csh/csh.c:766
#5 0x32c0 in srcfile (f=0x2420 "/etc/csh.cshrc", onlyown=0, flag=0)
at /usr/src/bin/csh/csh.c:682
#6 0x2fca in main (argc=1, argv=0xf7fffdb8) at /usr/src/bin/csh/csh.c:546
(gdb)
---
Is there something wrong around sigreturn(), or my old binaries?
Oh, I'm using egcs. Is this wrong?
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp