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 1P3lOw-0002MN-NM for garchives@archives.gentoo.org; Thu, 07 Oct 2010 08:00:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16181E076E; Thu, 7 Oct 2010 08:00:06 +0000 (UTC) Received: from outbound.icp-qv1-irony-out6.iinet.net.au (outbound.icp-qv1-irony-out6.iinet.net.au [203.59.1.109]) by pigeon.gentoo.org (Postfix) with ESMTP id 45EE6E076E for ; Thu, 7 Oct 2010 08:00:04 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnsFAFYbrUx8qSp9/2dsb2JhbACURo4IccNAhUcEhE+IcxY X-IronPort-AV: E=Sophos;i="4.57,296,1283702400"; d="scan'208";a="159331826" Received: from unknown (HELO moriah.localdomain) ([124.169.42.125]) by outbound.icp-qv1-irony-out6.iinet.net.au with ESMTP; 07 Oct 2010 15:59:47 +0800 Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id D74E41E55FF0 for ; Thu, 7 Oct 2010 15:59:46 +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 94+l1G3oIo33 for ; Thu, 7 Oct 2010 15:59:42 +0800 (WST) Received: from [192.168.44.2] (rattus [192.168.44.2]) by moriah.localdomain (Postfix) with ESMTP id A80C31E55FDE for ; Thu, 7 Oct 2010 15:59:42 +0800 (WST) Subject: Re: [gentoo-user] Re: firefox-bin optimizations? From: William Kenworthy To: gentoo-user@lists.gentoo.org In-Reply-To: <1286437948.25943.59.camel@rattus> References: <4CA47BEE.8050906@gmx.de> <20101005054908.GA22391@waltdnes.org> <20101006032754.GA23672@waltdnes.org> <20101007045548.GA17511@waltdnes.org> <1286437948.25943.59.camel@rattus> Content-Type: text/plain; charset="ISO-8859-1" Organization: Home in Perth! Date: Thu, 07 Oct 2010 15:59:42 +0800 Message-ID: <1286438382.25943.61.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: f5e33654-d97b-4c71-b4eb-f4379b2d7eb7 X-Archives-Hash: 927046470862622f57896ab5a974b525 To clarify, building everything except gcc works fine - its gcc itself thats problematic BillK On Thu, 2010-10-07 at 15:52 +0800, William Kenworthy wrote: > 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!