From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1P3lHr-0001pl-BF for garchives@archives.gentoo.org; Thu, 07 Oct 2010 07:53:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 953C3E076B; Thu, 7 Oct 2010 07:52:38 +0000 (UTC) Received: from outbound.icp-qv1-irony-out1.iinet.net.au (outbound.icp-qv1-irony-out1.iinet.net.au [203.59.1.106]) by pigeon.gentoo.org (Postfix) with ESMTP id CCD3BE076B for ; Thu, 7 Oct 2010 07:52:37 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnsFAMIYrUx8qSp9/2dsb2JhbACURo4JccNShUcEhE+IcxY X-IronPort-AV: E=Sophos;i="4.57,296,1283702400"; d="scan'208";a="720810258" Received: from unknown (HELO moriah.localdomain) ([124.169.42.125]) by outbound.icp-qv1-irony-out1.iinet.net.au with ESMTP; 07 Oct 2010 15:52:35 +0800 Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id 1109B1D149B3 for ; Thu, 7 Oct 2010 15:52:34 +0800 (WST) X-Virus-Scanned: amavisd-new at localdomain Received: from moriah.localdomain ([127.0.0.1]) by localhost (moriah.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rTIEjggvE3UQ for ; Thu, 7 Oct 2010 15:52:29 +0800 (WST) Received: from [192.168.44.2] (rattus [192.168.44.2]) by moriah.localdomain (Postfix) with ESMTP id 5010F1D1359A for ; Thu, 7 Oct 2010 15:52:29 +0800 (WST) Subject: Re: [gentoo-user] Re: firefox-bin optimizations? From: William Kenworthy To: gentoo-user@lists.gentoo.org In-Reply-To: <20101007045548.GA17511@waltdnes.org> References: <4CA47BEE.8050906@gmx.de> <20101005054908.GA22391@waltdnes.org> <20101006032754.GA23672@waltdnes.org> <20101007045548.GA17511@waltdnes.org> Content-Type: text/plain; charset="ISO-8859-1" Organization: Home in Perth! Date: Thu, 07 Oct 2010 15:52:28 +0800 Message-ID: <1286437948.25943.59.camel@rattus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: 1e68f26b-69bd-445b-a737-accb2d48c0e6 X-Archives-Hash: eb0768056b63fb1f0b600fbc13b42323 In /etc/fstab I have (this is a diskless atom based PXE system): shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 tmpfs /tmp tmpfs size=1250M,mode=1777,noatime,auto 0 0 tmpfs /var/lock tmpfs size=10m,noatime,auto 0 0 tmpfs /var/run tmpfs size=10m,noatime,auto 0 0 tmpfs /var/cache/hald tmpfs size=10m,noatime,auto 0 0 and in /etc/conf.d/local.start: mkdir /tmp/portage mkdir /tmp/portage/tmp mkdir /tmp/portage/distfiles and it /etc/make.conf DISTDIR="/tmp/portage/distfiles" PORTAGE_TMPDIR='/tmp/portage/tmp' PORTDIR='/tmp/portage/' PORTDIR_OVERLAY="/usr/local/portage" PORTAGE_BINHOST="http://tinderbox.dev.gentoo.org/default-linux/amd64/" PKGDIR="/tmp/portage/packages/" It works fine except for gcc where with 3G of ram, everything in tmpfs and swap over nfs works randomly due to running out of ram. BillK On Thu, 2010-10-07 at 00:55 -0400, Walter Dnes wrote: > On Tue, Oct 05, 2010 at 11:27:54PM -0400, Walter Dnes wrote > > > Looks like I can tweak stuff in the ebuild via "mozconfig_annotate" > > lines, and then... > > > > ebuild firefox-3.6.9.ebuild manifest > > emerge firefox > > Something isn't working. I put in > mozconfig_annotate '' --disable-pango > mozconfig_annotate '' --disable-oji --disable-mathml > > into the ebuild (a copy in my local overlay) and ebuild-manifested it. > Portage said it was building from the overlay, but "about:buildconfig" > shows them as being enabled. I have been able to > --disable-necko-wifi (WTF is *THAT* in a browser, fercryingoutloud?). > > Any ideas? A long time ago, in a place far away, I used to build > Mozilla 0.9x "the hard way", because the downloadable binary was > painfully slow on my machine. And later on Phoenix 0.9x (remember > that?). I've forgotten most of what I learned, but I can follow the > instructions at https://developer.mozilla.org/En/Simple_Firefox_build > I have a couple of questions before proceeding... > 1) what do I have to set to force all files to be installed in /opt or > in /usr/local ? > 2) I've got 8 gigs of ram. How do I force the compiler to use /dev/shm > as the scratch directory ? > -- William Kenworthy Home in Perth!