From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx.insigma.com.cn ([115.236.48.170] helo=WX-Edge.insigma.com.cn) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RXMjU-0002Iq-G7 for openembedded-core@lists.openembedded.org; Mon, 05 Dec 2011 01:48:39 +0100 Received: from WX-ExchMB.insigma.com.cn (10.0.1.203) by WX-Edge.insigma.com.cn (10.0.1.205) with Microsoft SMTP Server (TLS) id 8.1.436.0; Mon, 5 Dec 2011 08:41:43 +0800 Received: from [192.168.0.98] (122.224.76.38) by WX-ExchMB.insigma.com.cn (10.0.1.203) with Microsoft SMTP Server id 8.1.240.5; Mon, 5 Dec 2011 08:41:41 +0800 Message-ID: <1323045619.1294.19.camel@localhost.localdomain> From: Ni Qingliang To: Patches and discussions about the oe-core layer Date: Mon, 5 Dec 2011 08:40:19 +0800 In-Reply-To: References: <4EC6B45A.9060107@intel.com> Organization: Insigma X-Mailer: Evolution 3.2.2 MIME-Version: 1.0 Subject: Re: qemu needs > 2 GB of RAM to build? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: niqingliang@insigma.com.cn, Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 00:48:39 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Do you mean it need the native-gcc on host to fix this bug? On Sun, 2011-12-04 at 04:03 +0800, Khem Raj wrote: > On Fri, Nov 18, 2011 at 11:39 AM, Scott Garman wrote: > > Hi all, > > > > I'm testing building core-image-minimal in a resource-constrained > > environment (a VirtualBox VM with 2300 MB of RAM allocated to it). With > > PARALLEL_MAKE set to -j4 (the VM does have two CPUs allocated), I'm finding > > that the build of qemu-native fails because the OOM killer steps in and > > kills gcc. This is happening during the linking phase of building qemu. > > > > If this is true, I assume it would pretty much mean that no one can build > > our images without more than 2 GB of RAM. Is this true? Is this something > > for us to be concerned about? > > > > I think this could be because of gcc bug > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48190 > that bug has now been fixed and backported to gcc-4.5 and gcc 4.6 > branches as well > however this fix has to go into the gcc in distro that you are running > on build host > we will get this fix into oe-core gcc as well but that may not help > with qemu-native > > -Khem > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core -- Yi Qingliang niqingliang@insigma.com.cn https://niqingliang2003.wordpress.com