Re: bootxx needs to fit within 0th track of MBR partition?

Ignatios Souvatzis <[email protected]> Fri, 25 Aug 2023 10:54:38 +0200
Newsgroups gmane.os.netbsd.ports.x86-64,gmane.os.netbsd.ports.i386
Message-ID <[email protected]>
Hi,

On Fri, Aug 25, 2023 at 05:43:16PM +0900, Rin Okuyama wrote:
> Recently, clang build for amd64 fails for bootxx_ffsv2:
> http://releng.netbsd.org/builds/HEAD-llvm/202308230950Z/amd64.build.failed
> 
> This is because it does no longer fit within 0th track of
> MBR partitions on 5inch 2HD disks:
> https://nxr.netbsd.org/xref/src/sys/arch/i386/stand/bootxx/Makefile.bootxx#19
> 
> It seems difficult to hack this around by adding some
> optimization flags.

I did this back then for NetBSD/Amiga; using -Os.
Isn't something similar available?

	-is