tech-net archive

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

Re: Subtle NFS incompatibility with SunOS 4.1.1 on 68K



On Mar 27, 2020, at 12:33 AM, Michael van Elst <mlelstv%serpens.de@localhost> wrote:
> 
> On Thu, Mar 26, 2020 at 06:54:28PM -0700, Chris Hanson wrote:
> 
>>> I spoke too soon; `as -o bla.o bla.s` works for an empty bla.s, but `cc -o hello hello.c` for "Hello, world!" still gives me an error. I'll continue to investigate.
> 
> It's a bit irritating what the assembler does.
> 
> It opens the destination file, skips the (not yet written) 32 byte exec
> header and then tries to write an output buffer of size zero reduced
> by the size of the exec header (thus the -32).
> 
> I'd like to see what st_blksize value you get when you stat() a file
> on the SunOS client. Unfortunately there is no stat(1) program, maybe
> adb can help and you can get the result of:
> 
> | fstat (4, 0xdfffe54) = 0

I can always mount an NFS directory served by Linux and compile something there. (I did that to build gas and gcc, which work for building stuff via NetBSD-served NFS.)

I'll write a little thing and get back to you.

  -- Chris




Home | Main Index | Thread Index | Old Index