Subject: Re: miniroot.fs too small
To: Ingolf Steinbach <ingolf-200206@steinba.ch>
From: Luke Mewburn <lukem@wasabisystems.com>
List: port-sparc
Date: 06/08/2002 08:47:11
On Fri, Jun 07, 2002 at 11:01:54PM +0200, Ingolf Steinbach wrote:
| I'm trying to cross-compile netbsd-1-6 release for sparc on a
| 1.5.3_ALPHA i386 machine -- without success. The build.sh
| script always terminates with
|
| Creating image into miniroot.fs...
| rm -f miniroot.fs miniroot.fs.tmp
| /usr/obj/tools/tools.NetBSD-1.5.3_ALPHA-i386/bin/nbmakefs
| -t ffs -B be -s 7680k -F work.spec -N /usr/current-src/etc
| -o bsize=4096,fsize=512
| -o optimization=space,minfree=0,nsectors=1,ntracks=128
| -o density=4k miniroot.fs.tmp work &&
| mv -f miniroot.fs.tmp miniroot.fs
| nbmakefs: `work' size of 9654272 is larger than the maxsize of 7864320.
|
| Does this only happen when cross-compiling? How can I enlarge
| the miniroot.fs?
Do you have COPTS=-g (or something like that) in /etc/mk.conf?
That will affect the size of the compiled binaries.
The sparc 1.6_BETA1 releases cross compiled from an i386 box have been
building without issue.