Re: atari sysinst.fs overflow again

Izumi Tsutsui <[email protected]> Fri, 24 Nov 2017 02:52:17 +0900
Newsgroups gmane.os.netbsd.ports.atari
Message-ID <[email protected]>
kre@ wrote:

> How much, in terms of bytes, any of this will save I don't know.

I've check binary sizes again.

(1) HEAD + today's HEAD sh

> % ls -l obj.atari/sh.cro obj.atari/instbin
> -rwxr-xr-x  1 tsutsui  wheel  1344212 Nov 24 02:28 obj.atari/instbin
> -rw-r--r--  1 tsutsui  wheel   193540 Nov 24 02:28 obj.atari/sh.cro

(2) HEAD + netbsd-8's sh

> % ls -l obj.atari/sh.cro obj.atari/instbin
> -rwxr-xr-x  1 tsutsui  wheel  1336012 Nov 24 02:27 obj.atari/instbin
> -rw-r--r--  1 tsutsui  wheel   189748 Nov 24 02:27 obj.atari/sh.cro

(instbin's size in my privious post seems incorrect..)

(3) HEAD + netbsd-7's sh (with WARNSfy for gcc5)

> % ls -l obj.atari/sh.cro obj.atari/instbin
> -rwxr-xr-x  1 tsutsui  wheel  1335940 Nov 24 02:26 obj.atari/instbin
> -rw-r--r--  1 tsutsui  wheel   182952 Nov 24 02:24 obj.atari/sh.cro

(4) netbsd-8 (with sysctl and cp, w/o expr in sysinst.fs as HEAD)

(this could be different after today's gcc 5.5 pullups)

> % ls -l obj.atari/sh.cro obj.atari/instbin
> -rwxr-xr-x  1 tsutsui  wheel  1292544 Nov 24 02:35 obj.atari/instbin
> -rw-r--r--  1 tsutsui  wheel   189256 Nov 24 02:35 obj.atari/sh.cro

sh in HEAD is a bit larger, but it looks libc (or other dependency)
changes pull some extra functions.

---
Izumi Tsutsui