Date: Mon, 31 Jan 2005 01:27:28 -0500 From: Garance A Drosihn <drosih@rpi.edu> To: Peter Grehan <grehan@freebsd.org> Cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - buildworld Message-ID: <p06200765be2374402a2f@[128.113.24.47]> In-Reply-To: <41F8678A.5020005@freebsd.org> References: <41F170F1.2010701@finnovative.net> <p06200731be1731cf8ec8@[128.113.24.47]> <p06200732be184e814933@[128.113.24.47]> <41F3AFBD.60505@freebsd.org> <p06200737be19ffbdd478@[128.113.24.47]> <41F47300.3050406@freebsd.org> <p0620073abe1a23663046@[128.113.24.47]> <41F47C1C.2060608@freebsd.org> <p0620073cbe1a32f4d595@[128.113.24.47]> <41F48BBB.3080708@freebsd.org> <p06200744be1c8a745957@[128.113.24.47]> <41F8678A.5020005@freebsd.org>
index | next in thread | previous in thread | raw e-mail
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
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06200765be2374402a2f>
