Subject: Re: Bootstrapping Current
To: Joshua Coombs <jcoombs@gwi.net>
From: Frederick Bruckman <fredb@immanent.net>
List: current-users
Date: 04/04/2002 21:26:20
On Thu, 4 Apr 2002, Joshua Coombs wrote:

> > On Thu, 4 Apr 2002, Joshua Coombs wrote:
> >
> > > Is there a recomended binary set to start from if one wants to build a
> > > current box?  (i386 platform.)  I've got a minimal 1.5.3RC snapshot, but
> > > even using build.sh I'm failing building current.  (Looks like ld is
> > > segfaulting consistantly.)
> >
> > Did you fail to build and boot from the new kernel first?

> I can't complete a kernel build at the moment, ld segfaults right at the
> end.  ld is also segfaulting during a toolchain upgrade attempt.

I guess that means yes? I think your best bet would be to reinstall
the 1.5.3RC sets, and for round two, take heed of

    http://www.netbsd.org/Documentation/current/#what-to-do

and always install the new kernel first. You should then be able to
build a new toolchain against 1.5.3, and then simply use
".../tools.../nbconfig" to configure, and ".../tools.../nbmake-i386"
to make the kernel with. It would be even safer to build an entire
snapshot with "build.sh -d -D ... -R ...", but the in-place build
should be OK, as long as you always do the kernel first.

If "pax" and "tar" are borked, too, you could choose "install
additional sets" from within sysinstall, which should only untar the
sets and not mess up your partitions or overwrite anything (except
maybe root's .cshrc and .kshrc and crontab).

Frederick