public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/14414] New: insn-attr tab build runs out of memory
@ 2004-03-03 20:16 ak at muc dot de
2004-03-03 20:20 ` [Bug bootstrap/14414] " ebotcazou at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 11+ messages in thread
From: ak at muc dot de @ 2004-03-03 20:16 UTC (permalink / raw)
To: gcc-bugs
While doing a bootstrap of today's compiler on x86-64:
make[2]: Entering directory `/home/andi/gcc/obj-head/gcc'
stage1/xgcc -Bstage1/
-B/home/ak/src/gcc-head-040303/x86_64-unknown-linux-gnu/bin/ -g -O2 -DIN_GCC
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Wold-style-definition -Wno-variadic-macros -Werror
-DHAVE_CONFIG_H -I. -I. -I/averell/src/src/gcc-head/gcc/gcc
-I/averell/src/src/gcc-head/gcc/gcc/.
-I/averell/src/src/gcc-head/gcc/gcc/../include -c insn-attrtab.c \
-o insn-attrtab.o
xxgcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
The Kill was an Out Of Memory kill because the compilation needed more than
1.5GB or so.
--
Summary: insn-attr tab build runs out of memory
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ak at muc dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: x86_64-linux
GCC target triplet: x86_64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14414
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/14414] insn-attr tab build runs out of memory
2004-03-03 20:16 [Bug bootstrap/14414] New: insn-attr tab build runs out of memory ak at muc dot de
@ 2004-03-03 20:20 ` ebotcazou at gcc dot gnu dot org
2004-03-03 23:49 ` ak at muc dot de
` (7 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-03-03 20:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-03-03 20:20 -------
Yep, I just saw it on x86. Note that fold-const.c is also affected, albeit less
severly.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-03-03 20:20:21
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14414
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/14414] insn-attr tab build runs out of memory
2004-03-03 20:16 [Bug bootstrap/14414] New: insn-attr tab build runs out of memory ak at muc dot de
2004-03-03 20:20 ` [Bug bootstrap/14414] " ebotcazou at gcc dot gnu dot org
@ 2004-03-03 23:49 ` ak at muc dot de
2004-03-04 1:19 ` [Bug bootstrap/14414] [3.5 regression] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: ak at muc dot de @ 2004-03-03 23:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ak at muc dot de 2004-03-03 23:49 -------
I did a search now. The problem starts with this patch:
2004-03-03 Jan Hubicka <jh@suse.cz>
* cselib.c (hash_table): Remove GTY marker.
(reg_values): Turn into array.
(used_regs): Likewise.
(n_used_regs): New static variable.
(reg_values_old): Kill.
(clear_table): Update uses of arrays.
(cselib_lookup): Likewise.
(cselib_record_set): Likewise.
(cselib_init): Likewise.
(cselib_finish): Likewise.
(cselib_udpate_varray_sizes): Kill.
* cselib.h (cselib_update_varray_sizes): Kill.
With just that it actually gets out of memory killed while compiling
insn-extract.c
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jh at suse dot cz
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14414
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/14414] [3.5 regression] insn-attr tab build runs out of memory
2004-03-03 20:16 [Bug bootstrap/14414] New: insn-attr tab build runs out of memory ak at muc dot de
2004-03-03 20:20 ` [Bug bootstrap/14414] " ebotcazou at gcc dot gnu dot org
2004-03-03 23:49 ` ak at muc dot de
@ 2004-03-04 1:19 ` pinskia at gcc dot gnu dot org
2004-03-04 1:43 ` ak at muc dot de
` (5 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-04 1:19 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Keywords| |build, ice-on-valid-code
Summary|insn-attr tab build runs out|[3.5 regression] insn-attr
|of memory |tab build runs out of memory
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14414
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/14414] [3.5 regression] insn-attr tab build runs out of memory
2004-03-03 20:16 [Bug bootstrap/14414] New: insn-attr tab build runs out of memory ak at muc dot de
` (2 preceding siblings ...)
2004-03-04 1:19 ` [Bug bootstrap/14414] [3.5 regression] " pinskia at gcc dot gnu dot org
@ 2004-03-04 1:43 ` ak at muc dot de
2004-03-04 2:06 ` Jan Hubicka
2004-03-04 2:07 ` hubicka at ucw dot cz
` (4 subsequent siblings)
8 siblings, 1 reply; 11+ messages in thread
From: ak at muc dot de @ 2004-03-04 1:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ak at muc dot de 2004-03-04 01:43 -------
JFYI
2004-03-04 Jan Hubicka <jh@suse.cz>
* cselib.c (cselib_finish): Fix miss-application of my previous
patch.
did _not_ fix it here.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14414
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Bug bootstrap/14414] [3.5 regression] insn-attr tab build runs out of memory
2004-03-04 1:43 ` ak at muc dot de
@ 2004-03-04 2:06 ` Jan Hubicka
0 siblings, 0 replies; 11+ messages in thread
From: Jan Hubicka @ 2004-03-04 2:06 UTC (permalink / raw)
To: ak at muc dot de; +Cc: gcc-bugs
>
> ------- Additional Comments From ak at muc dot de 2004-03-04 01:43 -------
> JFYI
>
> 2004-03-04 Jan Hubicka <jh@suse.cz>
>
> * cselib.c (cselib_finish): Fix miss-application of my previous
> patch.
>
>
> did _not_ fix it here.
I actually managed to screw up merging the rejected hunk twice. Now it
seems to work nicelly.
Honza
>
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14414
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/14414] [3.5 regression] insn-attr tab build runs out of memory
2004-03-03 20:16 [Bug bootstrap/14414] New: insn-attr tab build runs out of memory ak at muc dot de
` (3 preceding siblings ...)
2004-03-04 1:43 ` ak at muc dot de
@ 2004-03-04 2:07 ` hubicka at ucw dot cz
2004-03-04 2:10 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: hubicka at ucw dot cz @ 2004-03-04 2:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hubicka at ucw dot cz 2004-03-04 02:06 -------
Subject: Re: [3.5 regression] insn-attr tab build runs out of memory
>
> ------- Additional Comments From ak at muc dot de 2004-03-04 01:43 -------
> JFYI
>
> 2004-03-04 Jan Hubicka <jh@suse.cz>
>
> * cselib.c (cselib_finish): Fix miss-application of my previous
> patch.
>
>
> did _not_ fix it here.
I actually managed to screw up merging the rejected hunk twice. Now it
seems to work nicelly.
Honza
>
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14414
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14414
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/14414] [3.5 regression] insn-attr tab build runs out of memory
2004-03-03 20:16 [Bug bootstrap/14414] New: insn-attr tab build runs out of memory ak at muc dot de
` (4 preceding siblings ...)
2004-03-04 2:07 ` hubicka at ucw dot cz
@ 2004-03-04 2:10 ` pinskia at gcc dot gnu dot org
2004-03-04 2:20 ` jh at suse dot cz
` (2 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-04 2:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-04 02:10 -------
Did Jan's newly fixed stuff fixes the bootstrap?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14414
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/14414] [3.5 regression] insn-attr tab build runs out of memory
2004-03-03 20:16 [Bug bootstrap/14414] New: insn-attr tab build runs out of memory ak at muc dot de
` (5 preceding siblings ...)
2004-03-04 2:10 ` pinskia at gcc dot gnu dot org
@ 2004-03-04 2:20 ` jh at suse dot cz
2004-03-04 10:39 ` ebotcazou at gcc dot gnu dot org
2004-03-04 16:45 ` ak at muc dot de
8 siblings, 0 replies; 11+ messages in thread
From: jh at suse dot cz @ 2004-03-04 2:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jh at suse dot cz 2004-03-04 02:19 -------
Subject: Re: [3.5 regression] insn-attr tab build runs out of memory
On enable checking bootstrap I got roughtly 76MB peak memory usage on
insn-attrtab on x86-64.
Sorry for messing things up considerably. At least we got demonstration
on how much that code stressed GGC.
Honza
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14414
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/14414] [3.5 regression] insn-attr tab build runs out of memory
2004-03-03 20:16 [Bug bootstrap/14414] New: insn-attr tab build runs out of memory ak at muc dot de
` (6 preceding siblings ...)
2004-03-04 2:20 ` jh at suse dot cz
@ 2004-03-04 10:39 ` ebotcazou at gcc dot gnu dot org
2004-03-04 16:45 ` ak at muc dot de
8 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-03-04 10:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-03-04 10:39 -------
Now I get a memory explosion on ada/ada.ads with the stage2 compiler, but not
with the stage1 compiler.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14414
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug bootstrap/14414] [3.5 regression] insn-attr tab build runs out of memory
2004-03-03 20:16 [Bug bootstrap/14414] New: insn-attr tab build runs out of memory ak at muc dot de
` (7 preceding siblings ...)
2004-03-04 10:39 ` ebotcazou at gcc dot gnu dot org
@ 2004-03-04 16:45 ` ak at muc dot de
8 siblings, 0 replies; 11+ messages in thread
From: ak at muc dot de @ 2004-03-04 16:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ak at muc dot de 2004-03-04 16:45 -------
mainline compiles fine again. Thanks.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14414
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2004-03-04 16:45 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-03 20:16 [Bug bootstrap/14414] New: insn-attr tab build runs out of memory ak at muc dot de
2004-03-03 20:20 ` [Bug bootstrap/14414] " ebotcazou at gcc dot gnu dot org
2004-03-03 23:49 ` ak at muc dot de
2004-03-04 1:19 ` [Bug bootstrap/14414] [3.5 regression] " pinskia at gcc dot gnu dot org
2004-03-04 1:43 ` ak at muc dot de
2004-03-04 2:06 ` Jan Hubicka
2004-03-04 2:07 ` hubicka at ucw dot cz
2004-03-04 2:10 ` pinskia at gcc dot gnu dot org
2004-03-04 2:20 ` jh at suse dot cz
2004-03-04 10:39 ` ebotcazou at gcc dot gnu dot org
2004-03-04 16:45 ` ak at muc dot de
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).