Re: Problems Building 7.0-Beta3 with -Os

From: Jan Lentfer <Jan.Lentfer_at_web.de>
Date: Thu, 06 Dec 2007 07:14:32 +0100
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_at_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
Received on Thu Dec 06 2007 - 05:15:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:23 UTC