Date: Mon, 7 Jan 2019 22:41:16 +0100 From: Bernd Walter <ticso@cicely7.cicely.de> To: Victor <vdemart@gmail.com> Cc: freebsd-arm@freebsd.org Subject: Re: make buildworld error while compiling 12.0-releng for RPI2 Message-ID: <20190107214116.GB30472@cicely7.cicely.de> In-Reply-To: <290CC356-180C-405C-B1D1-1CD5F96BA905@gmail.com> References: <897D5769-58A0-4349-9FA4-1C4551F3A5A6@gmail.com> <E1ggUXq-00CNCk-As@smtp.hs-karlsruhe.de> <290CC356-180C-405C-B1D1-1CD5F96BA905@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 07, 2019 at 02:59:22PM +0100, Victor wrote: > Thank you, Ralf. > As a matter of fact I issued > > make buildword > > NOT > > make -j4 buildworld > > The compilation problem is still there. Anyways - this is an out of memory problem. dmesg will show you why the process was killed. You have to add more swap space. Unfortunately compilers get more and more CPU and memory hungry. These days I use memory sticks capable of high random load as temporarys swap space or NFS space - later mostly for obj and src, not as swap so much. For me SanDisk Extreme Go 3.1 and Ultra USB 3.0 worked great. That said, I havn't build FreeBSD12 on any ARM myself yet and this is only a general experience. > Il giorno 07/gen/2019, alle ore 14:02, Ralf Wenk ha scritto: > > > On 2019-01-07 10:57 +0100 Victor wrote: > >> I'm trying to compile release 12.0 (with 4 CPUs) on my raspberry pi 2 on which 11.2-RELEASE is installed. > >> Via svnlite I downloaded the source code under /usr/src and then I started, as the handbook says > >> > >> make -j4 buildworld > > > > From my experience the raspberry pi 2 is not equipped with enough RAM to > > use four parallel jobs during buildworld. > > A CURRENT from last week build successfully with -j2 buildworld and > > -j3 buildkernel. > > I did not try adding any swap space. > > > >> But, unfortunately it spos with the following error: > >> [...] > >> > >> I don't understand this error. What should I do? > > > > Ralf > > -- B.Walter <bernd@bwct.de> http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190107214116.GB30472>