[tree-ssa] Bootstrap fails with enourmous memory usage

Andreas Jaeger aj@suse.de
Sun Nov 24 03:35:00 GMT 2002


I cannot compile the current tree-ssa branch from CVS on my Athlon
systems the usual way:

top shows an enourmous amount of used memory:

  PID USER     PRI  NI  SIZE SWAP SHARE STAT %CPU %MEM   TIME COMMAND
12244 aj        25   0 1591M 1872   884 R    97.8 78.7  43:21 stage1/cc1 -quiet

while running:
stage1/xgcc -Bstage1/ -B/opt/gcc/tree-ssa-20020619-branch/i686-pc-linux-gnu/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -fno-common -DHAVE_CONFIG_H -I. -I. -I/cvs/gcc-tree-ssa-20020619-branch/gcc -I/cvs/gcc-tree-ssa-20020619-branch/gcc/. -I/cvs/gcc-tree-ssa-20020619-branch/gcc/config -I/cvs/gcc-tree-ssa-20020619-branch/gcc/../include -c insn-extract.c -o insn-extract.o

It finally fails when allocating more than 2 GB with:
virtual memory exhausted: Cannot allocate memory

config.status reports:

/cvs/gcc-tree-ssa-20020619-branch/configure --with-gcc-version-trigger=/cvs/gcc-tree-ssa-20020619-branch/gcc/version.c --host=i686-pc-linux-gnu --prefix=/opt/gcc/tree-ssa-20020619-branch --disable-nls --enable-threads=posix --enable-clocale=gnu --enable-__cxa_atexit --enable-shared --enable-languages=c,c++,f77,java,objc --enable-checking=misc,tree,rtl,gc,rtlflag --with-system-zlib --norecursion 

If I compile without adding the --enable-checking, bootstrap passes
this place,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Gcc-bugs mailing list