public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: pfeifer@dbai.tuwien.ac dot@(Gerald Pfeifer) To: gcc-gnats@gcc.gnu.org Subject: middle-end/3973: GCC fails to bootstrap with 80+160MB memory / optimization Date: Thu, 09 Aug 2001 07:16:00 -0000 [thread overview] Message-ID: <200108091406.QAA19663@venus.dbai.tuwien.ac.at> (raw) >Number: 3973 >Category: middle-end >Synopsis: GCC fails to bootstrap with 80+160MB memory / optimization >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Aug 09 07:16:02 PDT 2001 >Closed-Date: >Last-Modified: >Originator: >Release: 3.1 20010808 (experimental) >Organization: >Environment: System: SunOS hostname 5.6 Generic_105181-28 sun4m sparc sun4m Architecture: sun4 host: sparc-sun-solaris2.6 build: sparc-sun-solaris2.6 target: sparc-sun-solaris2.6 configured with: /sw/test/gcc/cvs/configure --prefix=/sw/test/gcc/SunOS --enable-languages=c,c++,objc,java >Description: Bootstrap on a sparc-sun-solaris2.6 box with 80MB of main memory plus 160MB of swap fails with "out of memory": stage2/xgcc -Bstage2/ -B/sw/test/gcc/SunOS/sparc-sun-solaris2.6/bin/ -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -Ijava -I/sw/test/gcc/cvs/gcc -I/sw/test/gcc/cvs/gcc/java -I/sw/test/gcc/cvs/gcc/config -I/sw/test/gcc/cvs/gcc/../include /sw/test/gcc/cvs/gcc/java/parse.c -o java/parse.o cc1: Cannot allocate 8744016 bytes after allocating 27115520 bytes gmake[2]: *** [java/parse.o] Error 1 gmake[2]: Leaving directory `/tmp/OBJ-0808-0716/gcc' gmake[1]: *** [stage3_build] Error 2 gmake[1]: Leaving directory `/tmp/OBJ-0808-0716/gcc' gmake: *** [bootstrap-lean] Error 2 This is a regression from GCC 2.95.x and even GCC 3.0. Probably memory leaks and inefficient/too expensive optimizations. >How-To-Repeat: mkdir objdir ; cd objdir $GCC_SOURCE/configure --enable-languages=c,c++,objc,java make bootstrap >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2001-08-09 7:16 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-08-09 7:16 pfeifer [this message] 2002-12-10 16:19 bangerth 2002-12-27 11:56 Gerald Pfeifer 2003-01-06 22:46 Wolfgang Bangerth 2003-01-06 23:56 Gerald Pfeifer 2003-01-07 0:06 bangerth 2003-01-07 0:16 Wolfgang Bangerth
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200108091406.QAA19663@venus.dbai.tuwien.ac.at \ --to=pfeifer@dbai.tuwien.ac \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).