Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2008 08:48:40 +0100
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Ruben Lara <bermejator@hotmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 6.3 to 7.0 release out of memory allocating error
Message-ID:  <47D63958.3040706@FreeBSD.org>
In-Reply-To: <BLU118-W1508EF1F2E3BDE8313E564D00F0@phx.gbl>
References:  <BLU118-W1508EF1F2E3BDE8313E564D00F0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
Ruben Lara wrote:
> Hi all!
> 
> I'm trying to buildworld from 6.3 release to 7.0.
> 
> All ok, but when system is building world, i get cc1: out of memory allocating 97582896 bytes error
> I goolge it and get response in a forum:
>> Check /etc/make.conf for CFLAGS, and if present remove it. 
> 
> O remove CFLAGS ande installation can continue a seconds more, but then:
> cc1: out of memory allocating 15133360 bytes
> 
> I don't know what can i do

Set CFLAGS=-O (i.e. reduce optimization level, which has high memory 
requirements with gcc 4.x).

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47D63958.3040706>