Subject: Re: building -current userland
To: None <hockey@dialectronics.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-macppc
Date: 05/03/2005 02:12:16
In article <l03102806be9c074166d1@[192.168.10.99]>
hockey@dialectronics.com wrote:
> ./build.sh -O /usr/obj -D /usr/NetBSD-new-build -T /usr/tools build
>
> with variations of -j
>
> ./build.sh -j 2 -O /usr/obj -D /usr/NetBSD-new-build -T /usr/tools build
> ./build.sh -j 8 -O /usr/obj -D /usr/NetBSD-new-build -T /usr/tools build
Does the problem also happen without -j or not?
> The most recent error occured with -j 8 and a 2.99.10 kernel, the most
> recent I could find that would reliably run. Previously I had run all
> three -j variations with 3.99.3, none successfully. Maybe the logs will
> have something more informative. The message I posted was from the
> terminal.
Are you sure you have enough memory and swap on your host?
(Aren't there any kernel messages in /var/log/messages?)
It requires a bunch of memory to compile icache.c and semantics.c
which are generated under gdb/sim/ppc.
---
% ls -l sim/ppc/obj.macppc/icache.c
-rw-r--r-- 1 root wheel 3546470 May 3 00:48 sim/ppc/obj.macppc/icache.c
% ls -l sim/ppc/obj.macppc/semantics.c
-rw-r--r-- 1 root wheel 2187998 May 3 00:48 sim/ppc/obj.macppc/semantics.c
---
Izumi Tsutsui