6.3 to 7.0 release out of memory allocating error

Kris Kennaway kris at FreeBSD.org
Tue Mar 11 07:48:41 UTC 2008


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


More information about the freebsd-stable mailing list