Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Dec 2007 07:14:32 +0100
From:      Jan Lentfer <Jan.Lentfer@web.de>
To:        freebsd-current@freebsd.org, ntarmos@ceid.upatras.gr
Subject:   Re: Problems Building 7.0-Beta3 with -Os
Message-ID:  <47579348.3090709@web.de>
In-Reply-To: <20071206020033.GB83604@ace.netcins.ceid.upatras.gr>
References:  <4756BAD3.4060905@web.de> <20071206020033.GB83604@ace.netcins.ceid.upatras.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
Nikos Ntarmos schrieb:
> On Wed, Dec 05, 2007 at 03:50:59PM +0100, Jan Lentfer wrote:
> > Dear List,
>
> > I am having problems compiling 7.0-Beta3 on my VIA C7 system with 1
> GIG of RAM.
> > The problem seems to be the memory consumption so I turned off all
> larger processes. This is what happens:
>
> > ===> gnu/usr.bin/cc/libdecnumber (all)
> > ===> gnu/usr.bin/cc/cc_int (all)
> > cc -Os -pipe -DIN_GCC -DHAVE_CONFIG_H
> -DPREFIX=\"/usr/obj/usr/RELENG_7/src/tmp/usr\"
> -I/usr/obj/usr/RELENG_7/src/tmp/usr/RELENG_7/src/gnu/usr.bin/cc/cc_int/../cc_tools
>
> > -I/usr/RELENG_7/src/gnu/usr.bin/cc/cc_int/../cc_tools
> -I/usr/RELENG_7/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
> >
> -I/usr/RELENG_7/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
> -I/usr/RELENG_7/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include
>
> >
> -I/usr/RELENG_7/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include
> -I/usr/RELENG_7/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber
>
> > -I/usr/obj/usr/RELENG_7/src/tmp/legacy/usr/include -c
> ../cc_tools/insn-attrtab.c
>
> > cc1: out of memory allocating 136475392 bytes
> > *** Error code 1
>
> Have you changed any of the limits in /etc/login.conf? What is the
> output of 'ulimit -a'?
>
> \n\n
Hi Nikos,

[root@epia /usr/RELENG_7/src]# ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) 524288
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 11095
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 65536
cpu time (seconds, -t) unlimited
max user processes (-u) 5547
virtual memory (kbytes, -v) unlimited

I haven't changed anything there from the defaults. Memory is unlimited.


Regards,

Jan





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