Mac mini and FreeBSD - buildworld
Garance A Drosihn
drosih at rpi.edu
Sun Jan 30 22:27:31 PST 2005
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 at gilead.netel.rpi.edu
Senior Systems Programmer or gad at freebsd.org
Rensselaer Polytechnic Institute or drosih at rpi.edu
More information about the freebsd-ppc
mailing list