Subject: Re: bootxx_ffs load size exceeded
To: David Hopper <dhop@nwlink.com>
From: Simon Burge <simonb@wasabisystems.com>
List: port-alpha
Date: 01/29/2003 11:34:51
David Hopper wrote:

> This is a new one...  Sources from 1/28/03:
> 
> from './build.sh -D /steel/build/tree -R /steel/build/tars -u -T 
> /usr/src/obj/tools release >& ./build.sh.log
> 
> [...]
> making sure the kern library is up to date...
> `libkern.a' is up to date.
> creating bootxx_ffs from bootxx_ffs.sym...
> -rw-r--r--  1 root  125  8096 Jan 28 15:49 bootxx_ffs
> checking sizes for bootxx_ffs/bootxx_ffs.sym... MAXIMUM LOAD SIZE EXCEEDED 
> (8096 > 7680)
> *** Error code 1

This is caused by these two lines and the daddr_t change to being
a 64bit type.

			idx = file_block / fp->f_nindir[level - 1];
			file_block %= fp->f_nindir[level - 1];

"file_block" is now a 64bit type and those two lines pull in some extra
library routines to deal with 64bit divide and modulus.  I'm looking at
what is needed to fix this now...

> The only other reference I can find is a recently opened PR from port-pmax...

What's the PR number for that one - I couldn't find it after a quick
browse.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/