Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Anyone feel like fixing pkgsrc/emulators/tme ?



> Anyone feel like looking into that? The homepage has nice instructions and
> setup is very straight forward. I am mostly interested in sun2, sun3 and
> sun4c currently.

On NetBSD/i386 9.2 + pkgsrc-2021Q2, tmesh for SUN4 gets Abort:
---
% /usr/pkg/bin/tmesh SUN4-75
Abort (core dumped)
---

gdb says:
---
Reading symbols from /usr/pkg/bin/tmesh...
(No debugging symbols found in /usr/pkg/bin/tmesh)
[New process 1]
Core was generated by `tmesh'.
Program terminated with signal SIGABRT, Aborted.
#0  0xad218967 in _lwp_kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0xad218967 in _lwp_kill () from /usr/lib/libc.so.12
#1  0xad218881 in raise () from /usr/lib/libc.so.12
#2  0xad217ee0 in abort () from /usr/lib/libc.so.12
#3  0xae1d5192 in tme_recode_host_thunks_alloc () from /usr/pkg/lib/libtme.so.0
#4  0xae1d39f3 in tme_recode_ic_new () from /usr/pkg/lib/libtme.so.0
#5  0xacd02447 in tme_sparc_recode_init ()
   from /usr/pkg/lib/tme/tme_ic_sparc.so.0
#6  0xaccf8e6e in tme_sparc_new () from /usr/pkg/lib/tme/tme_ic_sparc.so.0
#7  0xacd07457 in tme_ic_sparc_LTX_cy7c601_new ()
   from /usr/pkg/lib/tme/tme_ic_sparc.so.0
#8  0xae1d93bb in tme_element_new () from /usr/pkg/lib/libtme.so.0
#9  0xae1e6178 in _tmesh_command_connect () from /usr/pkg/lib/libtmesh.so.0
#10 0xae1e6a0f in tmesh_eval () from /usr/pkg/lib/libtmesh.so.0
#11 0x08049b88 in ?? ()
#12 0x08049166 in ?? ()
#13 0x08048e97 in ?? ()
(gdb)
---

but starting tmesh via gdb works??
---
% gdb /usr/pkg/bin/tmesh
GNU gdb (GDB) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i486--netbsdelf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...

warning: ../../../../gdbscripts/bdump: No such file or directory

warning: ../../../../gdbscripts/cpus: No such file or directory

warning: ../../../../gdbscripts/kdump: No such file or directory

warning: ../../../../gdbscripts/lwps: No such file or directory

warning: ../../../../gdbscripts/msgbuf: No such file or directory

warning: ../../../../gdbscripts/pgrpdump: No such file or directory

warning: ../../../../gdbscripts/procs: No such file or directory

warning: ../../../../gdbscripts/vchain: No such file or directory

warning: ../../../../gdbscripts/vdump: No such file or directory
Reading symbols from /usr/pkg/bin/tmesh...
(No debugging symbols found in /usr/pkg/bin/tmesh)
(gdb) run SUN4-75
Starting program: /usr/pkg/bin/tmesh SUN4-75
SUN4-75:72: Device not configured
[New LWP 3 of process 17210]
[New LWP 2 of process 17210]
[New LWP 4 of process 17210]
[New LWP 5 of process 17210]
[/display0.0]: cannot generate keysym 'Help' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'R15' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'R14' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'R13' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'Linefeed' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'SunCut' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'SunFind' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'R12' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'R11' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'R10' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'SunPaste' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'SunOpen' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'R9' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'R8' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'R7' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'SunCompose' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'SunCopy' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'SunFront' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'R6' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'R5' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'R4' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'acute' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'SunUndo' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'SunProps' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'R3' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'R2' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'R1' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'SunF37' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'SunF36' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'SunAgain' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'SunStop' directly, or through a macro: No such file or directory
[/display0.0]: cannot generate keysym 'SunAltGraph' directly, or through a macro: No such file or directory
tmesh> 
---

Not sure what happens though.

Note sun3 emulation works fine even on NetBSD/i386 9.2 + pkgsrc-2021Q2
so this seems sun4c emulation specific.

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index