[SunHELP] Assembler Error with stock cc/as on SunOS 4.1.1 on Sun-3/60 (diskless)

Chris Hanson cmhanson at eschatologist.net
Sat Mar 21 20:47:39 CDT 2020


This definitely appears to be an incompatibility with NetBSD 8.1's NFS server;
I set up NFSv2 on recent-vintage Linux and have been able to compile and
assemble on that mount just fine.

I'm still going to rebuild the GENERIC 4.1.4_U1 kernel with the NFS jumbo
patch, to see whether that works around or addresses whatever edge case is
being hit.

Just as in that Usenet post, a trace definitely shows write(2) being passed a
negative value, whether that's a bug in as, libc, NFS or something else on the
Sun, or a bug in NetBSD I don't know. I'm thinking about learning enough adb
or dbx to do some assembly-level debugging of as, so I can see where it comes
from.

Too bad the couple copies of SUNSRC I've been able to find don't have the
sources for sun3 as.

  -- Chris


More information about the SunHELP mailing list