Subject: Re: bootxx_ffs maximum load size exceeded
To: James Chacon <jmc@NetBSD.org>
From: Paul Mather <paul@gromit.dlib.vt.edu>
List: port-alpha
Date: 12/24/2004 15:27:06
On Fri, 2004-12-24 at 13:35 -0600, James Chacon wrote:
> On Sat, Dec 25, 2004 at 12:12:49AM +1100, Simon Burge wrote:
> > The attached patch is pretty gross, but at least allows bootxx_ffs
> > to build. bootxx_lfs is still too big, so I've disabled the
> > building of that for now. I'm not sure if anyone actually uses
> > bootxx_lfs? I did test it once ages ago when I was playing around with
> > boot-off-LFS-on-raidframe. Note that I haven't tested the resultant
> > bootxx_ffs yet - my alphas are turned off right now.
> >
> > Should I commit this so as to at least allow builds to work again? If
> > so, I'd also add a doc/HACKS entry too. I'm also asking the binutils
> > folks what we can do about this.
>
> Let's try this one instead. Less hacky overall I think and w. it all boot
> blocks build again (basically we're back to the same outputs as binutils 2.14
> I beleive)
I guess I need to try James' patch. Simon's patch allowed bootxx_ffs to
build, but "build.sh distribution" failed later on in the checkflist
portion of make sets because bootxx_lfs was missing:
[[...]]
# create set lists
cd /usr/src/distrib/sets && DESTDIR=/home/netbsd MACHINE=alpha MACHINE_ARCH=alpha CKSUM=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbcksum MAKE=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbmake MTREE=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbmtree MKTEMP=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbmktemp PAX=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbpax HOST_SH=sh sh ./maketars -S -d /home/netbsd -N /usr/src/etc -t /usr/src/obj/releasedir/alpha/binary/sets
postinstall-fix-obsolete ===> .
=== Removing obsolete files ===
sh /usr/src/etc/postinstall -s /usr/src -d /home/netbsd/ fix obsolete
Source directory: /usr/src
Target directory: /home/netbsd/
obsolete fix:
postinstall fixes passed: obsolete
postinstall fixes failed:
===============================
checkflist ===> distrib/sets
cd /usr/src/distrib/sets && DESTDIR=/home/netbsd MACHINE=alpha MACHINE_ARCH=alpha CKSUM=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbcksum MAKE=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbmake MTREE=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbmtree MKTEMP=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbmktemp PAX=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbpax HOST_SH=sh sh ./checkflist
=========== 1 missing files ==============
Files in flist but missing from DESTDIR.
File wasn't installed ?
------------------------------------------
./usr/mdec/bootxx_lfs
======== end of 1 missing files ==========
*** Failed target: checkflist
*** Failed command: cd /usr/src/distrib/sets && DESTDIR=/home/netbsd MACHINE=alpha MACHINE_ARCH=alpha CKSUM=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbcksum MAKE=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbmake MTREE=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbmtree MKTEMP=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbmktemp PAX=/usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbpax HOST_SH=sh sh ./checkflist
*** Error code 1
Stop.
nbmake: stopped in /usr/src/distrib/sets
*** Failed target: distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj/tooldir.NetBSD-2.0E-alpha/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget distrib/sets checkflist
*** Error code 1
Stop.
nbmake: stopped in /usr/src
ERROR: Failed to make distribution
*** BUILD ABORTED ***
Alternatively, I suppose I could remove ./usr/mdec/bootxx_lfs
from /usr/src/distrib/sets/lists/base/md.alpha for now?
Cheers,
Paul.
--
e-mail: paul@gromit.dlib.vt.edu
"Without music to decorate it, time is just a bunch of boring production
deadlines or dates by which bills must be paid."
--- Frank Vincent Zappa