From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 31 06:27:31 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A37716A4CE; Mon, 31 Jan 2005 06:27:31 +0000 (GMT) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAB9D43D3F; Mon, 31 Jan 2005 06:27:30 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp2.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j0V6RTBA009273; Mon, 31 Jan 2005 01:27:29 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <41F8678A.5020005@freebsd.org> References: <41F170F1.2010701@finnovative.net> <41F3AFBD.60505@freebsd.org> <41F47300.3050406@freebsd.org> <41F47C1C.2060608@freebsd.org> <41F48BBB.3080708@freebsd.org> <41F8678A.5020005@freebsd.org> Date: Mon, 31 Jan 2005 01:27:28 -0500 To: Peter Grehan From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - buildworld X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2005 06:27:31 -0000 At 2:01 PM +1000 1/27/05, Peter Grehan wrote: >> >>I tried to do a buildworld of the latest /usr/src, and that dies >>while trying to build libasn1 in kerberos5, with an >> 'Abort trap (core dumped)' >>in cc. However, I was able to do a complete build/install cycle >>if I started with the snapshot of /usr/src which was installed by >>the CD. It looks like that /usr/src might include a few important >>changes which haven't been committed yet. > > Yes: the main one is the toolchain patch: > > www.freebsd.org/~grehan/sysv4.h.diff > > Half of this patch is in gcc source: not sure what's happening with >the __PIC__ portion since I haven't been able to raise David O'Brien >on that matter. > > There's another one for module support: > > www.freebsd.org/~grehan/rs6000.c.diff > > .. but that won't stop a successful build. Okay. I added those two updates, and I was able to do a complete buildworld/installworld cycle. The only noticeable problem when I rebooted was a stream of complaints about ttya, so I just changed the entry for that from 'on' to 'off' in /etc/ttys. > There's a minor sysinstall diff, but no major ones I can think of. I thought I would look to see if there were other updates which might be of interest. It looks like the src tree that you built from was from about 1:48 EST on Dec 27th. Comparing that src-tree to the one on the CD image, I noticed the following: lib/libstand/cd9660.c - something about HFS/ISO9660 hybrid CD's an Apple OpenFirmware 3 sys/dev/gem/if_gem.c - some changes wrt IFQ maxlen and dequeue. sys/dev/ofw/ofw_console.c - "ofw_nopoll" variable introduced to neutralize a while loop in ofw_timeout(). sys/dev/zs/* - several changes probably tied to tty's sys/modules/Makefile - changes wrt the building of modules for 'mem', 'uart', 'syscons' and 'netgraph' (it seems to completely drop 'mem', but I suspect that's a mistake...) sys/powerpc/conf/GENERIC - a couple of changes. I actually used this GENERIC (from the src tree on the ISO) for my own system build. sys/powerpc/powerpc/* - several changes which I didn't look through. At least some (if not all) of these have been committed to HEAD since the snapshot on the Mac ISO. usr.sbin/sysinstall/config.c - minor change to recognize partitions of type = "apple" for powerpc. There were a few other files which had useful-looking changes, but the changes have already been committed to HEAD. Also, there were quite a few files which had changes that had something to do with "spinlocks" vs "critical" areas. I didn't even want to think about pretending to figure those out... The build that I did used the sources from Dec 27th, plus the two updates you mentioned. That seems to be working okay, but I haven't pushed it too much. Sometime this week I'm going to try another build with an up-to-date snapshot of HEAD, the two updates you pointed at, and perhaps some of the others listed above. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu