From owner-freebsd-stable@FreeBSD.ORG Thu Feb 28 01:46:40 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EFD991D3; Thu, 28 Feb 2013 01:46:40 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from onyx.glenbarber.us (onyx.glenbarber.us [IPv6:2607:fc50:1000:c200::face]) by mx1.freebsd.org (Postfix) with ESMTP id BAF65121; Thu, 28 Feb 2013 01:46:40 +0000 (UTC) Received: from glenbarber.us (kaos.glenbarber.us [71.224.221.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: gjb) by onyx.glenbarber.us (Postfix) with ESMTPSA id B053723F645; Wed, 27 Feb 2013 20:46:37 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.8.0 onyx.glenbarber.us B053723F645 Authentication-Results: onyx.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Wed, 27 Feb 2013 20:46:35 -0500 From: Glen Barber To: Darren Pilgrim Subject: Re: Building RELENG_9 (or RELENG_9_*) on a small machine? Message-ID: <20130228014635.GB70215@glenbarber.us> References: <512EB5BD.1020803@bluerosetech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nVMJ2NtxeReIH9PS" Content-Disposition: inline In-Reply-To: <512EB5BD.1020803@bluerosetech.com> X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2013 01:46:41 -0000 --nVMJ2NtxeReIH9PS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 27, 2013 at 05:41:17PM -0800, Darren Pilgrim wrote: > So I have this VM which only has 256 MB of memory and 9.1-R installed.=20 > I want to update it to RELENG_9, but buildworld swaps so bad it grinds=20 > nearly to a halt. Even make -j1 -B runs into very heavy swapping. So=20 > two questions: >=20 > 1. Is there anything I can do to set a limit on how much memory the=20 > compiler uses? >=20 You can disable building clang with this line in /etc/src.conf: WITHOUT_CLANG=3Dyes > 2. If I crossbuild for this machine, can I get away with doing=20 > buildworld on a buildbox, ship the obj tree, and do installworld and=20 > mergemaster on the VM? It's been a few enternities since I did a cross= =20 > build and back then it was crossbuilding releases. Yes, that should work. Glen --nVMJ2NtxeReIH9PS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBCAAGBQJRLrb7AAoJEFJPDDeguUaj3C8H/0GNosJftPFyahGAsDpxdRjx QEn9xXUwrCr0s5eVJno3rfch/KHeNMugizMO1jYeEI/Sh29QKoVAzajVNRMNgU7G Ai4g7OQDxtKu4lHkBpx/l+d4TPoHWuY0rF1+Hz/H/h39KcmPSCUzgkDatF47YGjQ +myQb9XWVC3+bD2cmZiPD8HReO+D8IdMUVck6F+xAI50YiGa/mcCFjtxS7BqmMAi NRM54HAt0aRbnrGQtfHczyvyR5TPsAuicRKI53Z8PSJmzxxf7nARgchVQ25WGJHj NPjdYwcL32MRMsFCS0JSo0dGyaLC6/J1q+yKD0yaFiC5hOqj/8U0WI23uk7WtKA= =pD1v -----END PGP SIGNATURE----- --nVMJ2NtxeReIH9PS--