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 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

                                Michael van Elst
                                "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index