pkgsrc-Bugs archive

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

pkg/34909: TME sun3 emulator won't compile/run under 64-bit NetBSD OS



>Number:         34909
>Category:       pkg
>Synopsis:       TME sun3 emulator won't compile/run under 64-bit NetBSD OS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 25 15:15:00 +0000 2006
>Originator:     arthur townsend
>Release:        3.0
>Organization:
>Environment:
sparc64 and amd64
>Description:
TME fails to compile under Sparc64 and Amd64 due to TME's expectation that 
addresses are 32 bits.  After updating the source to provide a clean compile 
under Sparc64, TME immediately crashes upon running at the hairy instruction:

line 4485
m68k-insns-auto.c

      ic->tme_m68k_ireg_uint32(ireg) = (((tme_uint32_t) ((tme_uint16_t *) 
(tlb->tme_m68k_tlb_emulator_off_read + linear_address_first))[0]) << 16) | 
((tme_uint16_t *) (tlb->tme_m68k_tlb_emulator_off_read + 
linear_address_first))[1];

>How-To-Repeat:

>Fix:
Workaround:

For ultrasparc 5/10, I was able to run TME successfully by running under NetBSD 
3.0 for Sparc32 kernel/userland.  It was complicated to get Sparc32 running on 
the ultrasparcs, and I ended up not having xwindows and needed to run TME over 
ethernet from another station with X working.

For amd64, I was able to run TME successfully by using the standard i386 32-bit 
NetBSD.




Home | Main Index | Thread Index | Old Index