Subject: Executing SunOS binaries under (vanilla-esque) 1.5
To: None <port-sparc64@NetBSD.ORG>
From: Greg Earle <earle@isolar.DynDNS.ORG>
List: port-sparc64
Date: 04/05/2001 21:21:41
Can someone please refresh my memory as to why my attempts at running
SunOS 4.1.x binaries under NetBSD/SPARC64 1.5 are failing with ENOMEM?
For example, here's what I get when I try to run Adobe Acrobat Reader 3.01:
[21:15] netbsd4me:/tmp % kdump
4560 ktrace EMUL "netbsd"
4560 ktrace RET ktrace 0
4560 ktrace CALL execve(0xffffffffffffd5b7,0xffffffffffffd410,0xffffffffffffd420)
4560 ktrace NAMI "/usr/pkg/Acrobat3/Reader/sparcsun/bin/acroread"
4560 ktrace RET execve -1 errno 12 Cannot allocate memory
4560 ktrace CALL write(0x2,0xffffffffffffc7f0,0x8)
4560 ktrace GIO fd 2 wrote 8 bytes
"ktrace: "
4560 ktrace RET write 8
4560 ktrace CALL write(0x2,0xffffffffffffc8b0,0x3f)
4560 ktrace GIO fd 2 wrote 63 bytes
"exec of '/usr/pkg/Acrobat3/Reader/sparcsun/bin/acroread' failed"
[...]
I've got "netbsd32_compat15-1.0" installed, "netbsd32_compat14-1.0" installed,
and a fully-populated compat_sunos(8) tree (4.1.4 libs) under "/emul/sunos".
Answers of "You need -current to run SunOS 4.1.x binaries on the Ultra port"
are depressing, but acceptable. (-: (Otherwise, tell me what I'm missing)
- Greg