This is the mail archive of the
mailing list for the GCC project.
Re: Patch: *bsd & darwin support in libiberty/physmem.c
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: pinskia at physics dot uc dot edu
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 22 Feb 2003 12:21:00 -0500 (EST)
- Subject: Re: Patch: *bsd & darwin support in libiberty/physmem.c
- References: <151B078C-4688-11D7-9F87-000393A6D2F2@physics.uc.edu>
> From: Andrew Pinski <pinskia at physics dot uc dot edu>
> Except since this does not take into account the soft limits, I have a
> bootstrap failure:
> stage1/xgcc -Bstage1/
> -B/home/gates/pinskia/openbsd/i686-unknown-openbsd3.1/bin/ -c -g -O2
> -DIN_GCC -W -Wall -Wwrite-strings -Ws trict-prototypes
> -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
> -fno-common -Werror -DHAVE_CONFIG_H -I. -I. -I/hom
> -I/home/gates/pinskia/src/gnu/gcc/src/gcc/config -I/
> /home/gates/pinskia/src/gnu/gcc/src/gcc/expr.c -o expr.o
> cc1: out of memory allocating 65536 bytes after a total of 66253256
> Because my memory usage limit is less than what gets reported:
> memoryuse 478424 kbytes
> You can use getrlimit with RLIMIT_RSS.
Ok rlimits was next on my list.
However something seems strange here. Your Ram was ~512M. This
should have yielded a value of 64M for ggc-min-heapsize. Your
memoryuse is set to ~470M. And yet your compilation died allocation
up over 64M. Why is this?
Is there some other rlimit set lower than RSS? Can you show me all of
the rlimits on your system please? (Especially RLIMIT_DATA.)
Can you also please reissue the compile with -v and tell me what the
GC heuristics are?
Kaveh R. Ghazi ghazi at caip dot rutgers dot edu