Problems Building 7.0-Beta3 with -Os

Jan Lentfer Jan.Lentfer at web.de
Wed Dec 5 22:15:09 PST 2007


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




More information about the freebsd-current mailing list