From owner-freebsd-alpha@FreeBSD.ORG Sat Aug 21 01:00:14 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B295516A4CE; Sat, 21 Aug 2004 01:00:14 +0000 (GMT) Received: from electra.cse.Buffalo.EDU (electra.cse.Buffalo.EDU [128.205.32.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B82443D1D; Sat, 21 Aug 2004 01:00:14 +0000 (GMT) (envelope-from kensmith@cse.Buffalo.EDU) Received: from electra.cse.Buffalo.EDU (kensmith@localhost [127.0.0.1]) i7L10CTH020881; Fri, 20 Aug 2004 21:00:12 -0400 (EDT) Received: (from kensmith@localhost) by electra.cse.Buffalo.EDU (8.12.10/8.12.9/Submit) id i7L10C5L020880; Fri, 20 Aug 2004 21:00:12 -0400 (EDT) Date: Fri, 20 Aug 2004 21:00:12 -0400 From: Ken Smith To: Ruslan Ermilov Message-ID: <20040821010012.GA20633@electra.cse.Buffalo.EDU> References: <1093000460.9863.4.camel@builder02.qubesoft.com> <20040820120757.GC29568@ip.net.ua> <20040820135844.GA76070@ip.net.ua> <1093012873.9863.11.camel@builder02.qubesoft.com> <20040820151503.GC92603@ip.net.ua> <1093020367.9863.13.camel@builder02.qubesoft.com> <20040820174845.GA94170@ip.net.ua> <20040820191746.GA12957@electra.cse.Buffalo.EDU> <20040820194613.GA57723@ip.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040820194613.GA57723@ip.net.ua> User-Agent: Mutt/1.4.1i cc: alpha@freebsd.org cc: Ken Smith cc: Wilko Bulte Subject: Re: Alpha is seriously broken X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2004 01:00:14 -0000 On Fri, Aug 20, 2004 at 10:46:13PM +0300, Ruslan Ermilov wrote: > On Fri, Aug 20, 2004 at 03:17:46PM -0400, Ken Smith wrote: > > Since at least of you seem so (morbidly?) interested... :-) > > > > This is in progress on beast at the moment, dunno if it'll work out > > yet but ... > > > > - copied /sbin/init.bak to /sbin/init > > - created /h/kensmith (after cleaning the crash dumps out > > of /h/crash...) > > - copied the base directory for 5.2.1 from ftp-master, > > unpacked it in /h/kensmith > > - copied /usr/src from beast to /h/kensmith/usr/src > > - backed out latest change to crt1.c as suggested > > - chroot to /h/kensmith > > - mount -t devfs devfs /dev > > - cd usr/src > > - make buildworld > > > > If that succeeds I'll arrange for the results to look like beast's > > real /usr/obj, copy the make executable from /h/kensmith/usr/bin > > to /usr/bin, and give 'make installworld' in beast's /usr/src a try. > > > > Thoughts? Bets? More sympathies? > > > It will succeed. Here's what I'd do: Just FYI, as Ruslan predicted it worked with one minor glitch. The crt1.c thing was apparently the problem and the above procedure did produce static executables that worked. /usr/src had been copied into my chroot space using tar and /usr/obj was already a symlink so I didn't need the mounts, just adjusted the symlink temporarily. I spent a little time wondering why 'make installworld' resulted in: +@cd: not found but then got the idea it was probably make version issues, copied /usr/share/mk out of my chroot directory to /usr/share and that was all it took. Beast has survived a second "make buildworld/installworld" run using the normal procedures so ... -- Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel |