public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/50507] New: Huge amount of memory used while building GCC4
@ 2011-09-24 15:41 fzvqedi at v dot mintemail.com
2011-09-25 12:33 ` [Bug c/50507] " rguenth at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: fzvqedi at v dot mintemail.com @ 2011-09-24 15:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50507
Bug #: 50507
Summary: Huge amount of memory used while building GCC4
Classification: Unclassified
Product: gcc
Version: 4.5.3
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: fzvqedi@v.mintemail.com
when compiling GCC 4.5.3 core (C only), at some point there's a memory
requirement of more than 1 GB RAM.
this happens during the link stage of some object files.
after i set my virtual machine to have 1.2 GB RAM, it worked.
this is a major showstopper, you can only build GCC on restricted platforms
such as an ARM netbook by using swap-memory, which makes the build much slower
as it already is. Additionally this swap memory is usually on flash memory
device on such a system, decreasing its lifetime.
for comparison, GCC 3.4.6 builds well on a virtual machine with just 128 MB
RAM.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/50507] Huge amount of memory used while building GCC4
2011-09-24 15:41 [Bug c/50507] New: Huge amount of memory used while building GCC4 fzvqedi at v dot mintemail.com
@ 2011-09-25 12:33 ` rguenth at gcc dot gnu.org
2011-09-25 19:59 ` fzvqedi at v dot mintemail.com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-09-25 12:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50507
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2011-09-25
Ever Confirmed|0 |1
Severity|critical |normal
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-09-25 12:27:10 UTC ---
If it happens during the link stage then it's an issue with the linker, not
GCC.
Please provide information on how you configured GCC, and which host compiler
and
linker you use and what host platform you are working on.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/50507] Huge amount of memory used while building GCC4
2011-09-24 15:41 [Bug c/50507] New: Huge amount of memory used while building GCC4 fzvqedi at v dot mintemail.com
2011-09-25 12:33 ` [Bug c/50507] " rguenth at gcc dot gnu.org
@ 2011-09-25 19:59 ` fzvqedi at v dot mintemail.com
2011-10-14 19:13 ` jason at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: fzvqedi at v dot mintemail.com @ 2011-09-25 19:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50507
--- Comment #2 from Roger Meyer <fzvqedi at v dot mintemail.com> 2011-09-25 19:03:05 UTC ---
(In reply to comment #1)
i'm using the stock gcc 4.4 that comes with debian 6 i386
compiling gcc 4.5.3 with the following options
./configure --with-newlib --with-headers=no --prefix=/ \
--disable-multilib --disable-nls --disable-shared --disable-mudflap \
--disable-libmudflap --disable-libssp --disable-libgomp \
--libdir=/lib --libexecdir=/lib --mandir=/share/man --infodir=/share/info
i basically just set up a VM (without swap) using debian 6 netboot iso and
installed make, gcc via apt-get, then tried to build from source.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/50507] Huge amount of memory used while building GCC4
2011-09-24 15:41 [Bug c/50507] New: Huge amount of memory used while building GCC4 fzvqedi at v dot mintemail.com
2011-09-25 12:33 ` [Bug c/50507] " rguenth at gcc dot gnu.org
2011-09-25 19:59 ` fzvqedi at v dot mintemail.com
@ 2011-10-14 19:13 ` jason at gcc dot gnu.org
2011-10-14 19:25 ` jason at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2011-10-14 19:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50507
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-14 19:12:52 UTC ---
Author: jason
Date: Fri Oct 14 19:12:45 2011
New Revision: 180002
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180002
Log:
PR c++/50507
* method.c (walk_field_subobs): Check for NSDMI before
complaining about uninitialized fields.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi-const1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/method.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/50507] Huge amount of memory used while building GCC4
2011-09-24 15:41 [Bug c/50507] New: Huge amount of memory used while building GCC4 fzvqedi at v dot mintemail.com
` (2 preceding siblings ...)
2011-10-14 19:13 ` jason at gcc dot gnu.org
@ 2011-10-14 19:25 ` jason at gcc dot gnu.org
2012-02-22 13:09 ` xiaoyuanbo at yeah dot net
2014-03-25 20:17 ` mpolacek at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2011-10-14 19:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50507
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-14 19:24:16 UTC ---
(In reply to comment #3)
> PR c++/50507
> * method.c (walk_field_subobs): Check for NSDMI before
> complaining about uninitialized fields.
Oops, that was actually for bug 50707.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/50507] Huge amount of memory used while building GCC4
2011-09-24 15:41 [Bug c/50507] New: Huge amount of memory used while building GCC4 fzvqedi at v dot mintemail.com
` (3 preceding siblings ...)
2011-10-14 19:25 ` jason at gcc dot gnu.org
@ 2012-02-22 13:09 ` xiaoyuanbo at yeah dot net
2014-03-25 20:17 ` mpolacek at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: xiaoyuanbo at yeah dot net @ 2012-02-22 13:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50507
xiaoyuanbo <xiaoyuanbo at yeah dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xiaoyuanbo at yeah dot net
--- Comment #5 from xiaoyuanbo <xiaoyuanbo at yeah dot net> 2012-02-22 12:46:54 UTC ---
you need a comment
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/50507] Huge amount of memory used while building GCC4
2011-09-24 15:41 [Bug c/50507] New: Huge amount of memory used while building GCC4 fzvqedi at v dot mintemail.com
` (4 preceding siblings ...)
2012-02-22 13:09 ` xiaoyuanbo at yeah dot net
@ 2014-03-25 20:17 ` mpolacek at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-03-25 20:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50507
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
CC| |mpolacek at gcc dot gnu.org
Resolution|--- |WONTFIX
--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
We hardly can do anything about gcc 4.4/4.5 now.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-03-25 20:17 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-24 15:41 [Bug c/50507] New: Huge amount of memory used while building GCC4 fzvqedi at v dot mintemail.com
2011-09-25 12:33 ` [Bug c/50507] " rguenth at gcc dot gnu.org
2011-09-25 19:59 ` fzvqedi at v dot mintemail.com
2011-10-14 19:13 ` jason at gcc dot gnu.org
2011-10-14 19:25 ` jason at gcc dot gnu.org
2012-02-22 13:09 ` xiaoyuanbo at yeah dot net
2014-03-25 20:17 ` mpolacek at gcc dot gnu.org
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).