From owner-freebsd-ports@FreeBSD.ORG Wed Dec 29 15:54:27 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36DF11065670 for ; Wed, 29 Dec 2010 15:54:27 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id E457E8FC13 for ; Wed, 29 Dec 2010 15:54:26 +0000 (UTC) Received: by qwj9 with SMTP id 9so9912396qwj.13 for ; Wed, 29 Dec 2010 07:54:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:message-id:user-agent:mime-version:content-type; bh=GOwMvC2eJU/em/xvhDn59zTpXUwZVmPFHMfP388Wd5Q=; b=IE2b9Gycq4Uac8UYzNqUor6EcbzT8tNvQnGUgHedmGnKe/IZb9/Qkl/D5fAPxtweBj YMarGr2qm685SGNI488qsTZJUW7FlRAetI19MSja+CJNCjvuUMrPMmulHP8EsPSPPiPS hrqxsBnGPC1X1iUMV3Vijw2b0rhrDwpb1c9r4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; b=tQ8waNg1b0OFt+euL8JeowoDfx8WyuoYGochgPzeLp2M0M3AV7U7aFlqGDW3NmLh13 6aA/Y9jfJlVESYozu0vpKu8MBg0wyCrzOXib3GX7nitegxfHDbnLMdSFIyS0suIi0ci+ Vwe7I19sBN7bVmOYUUSFStLyZ7lXlOEoguAPs= Received: by 10.224.80.198 with SMTP id u6mr14254660qak.113.1293636243946; Wed, 29 Dec 2010 07:24:03 -0800 (PST) Received: from localhost (anonymizer6.torservers.net [174.36.199.203]) by mx.google.com with ESMTPS id nb15sm7560366qcb.2.2010.12.29.07.24.01 (version=SSLv3 cipher=RC4-MD5); Wed, 29 Dec 2010 07:24:03 -0800 (PST) From: Anonymous To: Da Rock References: <4D1B044F.6050903@herveybayaustralia.com.au> Date: Wed, 29 Dec 2010 18:23:39 +0300 Message-ID: <86fwtgob5w.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-ports@freebsd.org Subject: Re: libxul build hit the roof! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2010 15:54:27 -0000 Da Rock writes: > I was doing an update of my system, and I hit these errors and skipped > builds all over the place; so I've been eliminating them one by one > and making the skipped list smaller. > > In the process of these investigations I noticed that my system > practically froze several times and I spotted multiple pfaults through > top. Try building with -Wl,--no-keep-memory in CFLAGS/LDFLAGS. My guess is that you don't have enough memory to keep linking process from being swapped out. > I also ran a lone run of just libxul as it was one in the list > with an error: new compiler error. > > I then basically shut every app I was running down and ran it again > with just top showing. I found that at least one part hit the roof of > my system, with nsCharacter... something or rather running at 1430M+ > in swap, and 520M+ resident when compiling. > > Does anyone else think it might be wise to put a warning during build > saying that this could take over 2G+ of memory to compile, and rebuild > with no apps running if it fails? No need to kill (inactive) apps, they'd be swapped out during build.