public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13027] New: g++: Internal error: Killed (program cc1plus)
@ 2003-11-12 20:18 albrecht dot dress at arcor dot de
  2003-11-12 20:19 ` [Bug c++/13027] " albrecht dot dress at arcor dot de
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: albrecht dot dress at arcor dot de @ 2003-11-12 20:18 UTC (permalink / raw)
  To: gcc-bugs

* System is a PowerMac running YellowDog Linux 3.0:
[albrecht@antares albrecht]$ uname -a
Linux antares.localdomain 2.4.22-ben2 #6 Sat Sep 20 20:55:10 CEST 2003 ppc ppc
ppc GNU/Linux

* libc version is glibc-2.3.1

* gcc-3.3.2 built using "gcc (GCC) 3.2.2 20030217 (Yellow Dog Linux 3.0 3.2.2-2a)"

* flags used for build:
CFLAGS=-O3 -mcpu=7450 -fsigned-char
CXXFLAGS=-O2 -mcpu=7450 -fsigned-char

* configure options for 3.3.2:
[albrecht@antares g332build]$ less config.status 
#!/bin/sh
# This file was generated automatically by configure.  Do not edit.
# This directory was configured as follows:
../gcc-3.3.2/configure
--with-gcc-version-trigger=/home/albrecht/gcc3-build/gcc-3.3.2/gcc/version.c
--host=powerpc-unknown-linux-gnu --prefix=/opt/gcc-3.3.2 --norecursion 
#  using "mt-frag"

* failed command (when compiling the LyX package):
[albrecht@antares qt2]$ /opt/gcc-3.3.2/bin/g++ -DHAVE_CONFIG_H -I. -I.
-I../../../src -I../../../src/ -I../../../src/frontends/ -I../../../images
-I./qt2 -I/usr/lib/qt-3.1//include -I../../../boost
-I../../../src/frontends/controllers -isystem /usr/X11R6/include
-DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION -O2 -mcpu=7450
-fsigned-char -c Dialogs.C -MT Dialogs.lo -MD -MP -MF .deps/Dialogs.TPlo -save-temps
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

NOTE: this file compiles without problems using gcc 3.2.2 and gcc 3.2.3.

* file "Dialogs.ii.bz2" - see below

-- 
           Summary: g++: Internal error: Killed (program cc1plus)
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: albrecht dot dress at arcor dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-unknown-linux
  GCC host triplet: powerpc-unknown-linux
GCC target triplet: powerpc-unknown-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13027


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug c++/13027] g++: Internal error: Killed (program cc1plus)
  2003-11-12 20:18 [Bug c++/13027] New: g++: Internal error: Killed (program cc1plus) albrecht dot dress at arcor dot de
@ 2003-11-12 20:19 ` albrecht dot dress at arcor dot de
  2003-11-12 21:20 ` falk at debian dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: albrecht dot dress at arcor dot de @ 2003-11-12 20:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From albrecht dot dress at arcor dot de  2003-11-12 20:19 -------
Created an attachment (id=5124)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5124&action=view)
file causing the error


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13027


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug c++/13027] g++: Internal error: Killed (program cc1plus)
  2003-11-12 20:18 [Bug c++/13027] New: g++: Internal error: Killed (program cc1plus) albrecht dot dress at arcor dot de
  2003-11-12 20:19 ` [Bug c++/13027] " albrecht dot dress at arcor dot de
@ 2003-11-12 21:20 ` falk at debian dot org
  2003-11-13 18:40 ` albrecht dot dress at arcor dot de
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: falk at debian dot org @ 2003-11-12 21:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From falk at debian dot org  2003-11-12 21:20 -------
"Killed" sounds like an out of memory problem. How much memory do you have? Can
you watch the memory usage with top or something?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13027


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug c++/13027] g++: Internal error: Killed (program cc1plus)
  2003-11-12 20:18 [Bug c++/13027] New: g++: Internal error: Killed (program cc1plus) albrecht dot dress at arcor dot de
  2003-11-12 20:19 ` [Bug c++/13027] " albrecht dot dress at arcor dot de
  2003-11-12 21:20 ` falk at debian dot org
@ 2003-11-13 18:40 ` albrecht dot dress at arcor dot de
  2003-11-13 18:43 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: albrecht dot dress at arcor dot de @ 2003-11-13 18:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From albrecht dot dress at arcor dot de  2003-11-13 18:40 -------
The machine has 256 MByte of RAM and 128 MB swap. I can indeed see (using a
Gnome applet showing mem usage and in top) that compiling the file eats more and
more memory before it gets killed.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13027


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug c++/13027] g++: Internal error: Killed (program cc1plus)
  2003-11-12 20:18 [Bug c++/13027] New: g++: Internal error: Killed (program cc1plus) albrecht dot dress at arcor dot de
                   ` (2 preceding siblings ...)
  2003-11-13 18:40 ` albrecht dot dress at arcor dot de
@ 2003-11-13 18:43 ` pinskia at gcc dot gnu dot org
  2003-11-21 15:56 ` [Bug optimization/13027] " pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-13 18:43 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |memory-hog


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13027


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug optimization/13027] g++: Internal error: Killed (program cc1plus)
  2003-11-12 20:18 [Bug c++/13027] New: g++: Internal error: Killed (program cc1plus) albrecht dot dress at arcor dot de
                   ` (3 preceding siblings ...)
  2003-11-13 18:43 ` pinskia at gcc dot gnu dot org
@ 2003-11-21 15:56 ` pinskia at gcc dot gnu dot org
  2003-11-26 12:03 ` reichelt at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-21 15:56 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |optimization


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13027


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug optimization/13027] g++: Internal error: Killed (program cc1plus)
  2003-11-12 20:18 [Bug c++/13027] New: g++: Internal error: Killed (program cc1plus) albrecht dot dress at arcor dot de
                   ` (4 preceding siblings ...)
  2003-11-21 15:56 ` [Bug optimization/13027] " pinskia at gcc dot gnu dot org
@ 2003-11-26 12:03 ` reichelt at gcc dot gnu dot org
  2003-11-26 15:26 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-11-26 12:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2003-11-26 12:03 -------
After I removed some inline assembler instruction I compiled this on
i686-pc-linux-gnu. The memory consumption peaks at about 400 MB which
is slightly more than you have available :-(

Could you please give it another try with gcc 3.2.3 to see how much this
version uses (the preprocessed version won't compile with 3.2.3)?
Maybe only a small increase in memory usage pushed you over the edge.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13027


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug optimization/13027] g++: Internal error: Killed (program cc1plus)
  2003-11-12 20:18 [Bug c++/13027] New: g++: Internal error: Killed (program cc1plus) albrecht dot dress at arcor dot de
                   ` (5 preceding siblings ...)
  2003-11-26 12:03 ` reichelt at gcc dot gnu dot org
@ 2003-11-26 15:26 ` pinskia at gcc dot gnu dot org
  2003-11-26 18:44 ` albrecht dot dress at arcor dot de
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-26 15:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-26 15:26 -------
First never have the VM be less than the memory size because Linux is stupid when 
comming to VM and will not be able to give programs more memory than that size.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13027


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug optimization/13027] g++: Internal error: Killed (program cc1plus)
  2003-11-12 20:18 [Bug c++/13027] New: g++: Internal error: Killed (program cc1plus) albrecht dot dress at arcor dot de
                   ` (6 preceding siblings ...)
  2003-11-26 15:26 ` pinskia at gcc dot gnu dot org
@ 2003-11-26 18:44 ` albrecht dot dress at arcor dot de
  2003-12-08  1:44 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: albrecht dot dress at arcor dot de @ 2003-11-26 18:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From albrecht dot dress at arcor dot de  2003-11-26 18:44 -------
With gcc-3.2.3, the peak mem load (as listed in top's RSS column) is about 67
MByte. gcc-3.3.2 ejects at a RSS mem usage of about 205 MByte (I have X and
several other stuff running...). The command line parameters for 3.2.3 are
exactly the same:

[albrecht@antares qt2]$ /opt/gcc-3.2.3/bin/g++-3.2.3 -DHAVE_CONFIG_H -I. -I.
-I../../../src -I../../../src/ -I../../../src/frontends/ -I../../../images
-I./qt2 -I/usr/lib/qt-3.1//include -I../../../boost
-I../../../src/frontends/controllers -isystem /usr/X11R6/include
-DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION -O2 -mcpu=7450
-fsigned-char -c Dialogs.C -MT Dialogs.lo -MD -MP -MF .deps/Dialogs.TPlo -save-temps

BTW, what does "resolved invalid" mean? Must I have a 1 GB machine to compile
this application?!? This can't be true!!!

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13027


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug optimization/13027] g++: Internal error: Killed (program cc1plus)
  2003-11-12 20:18 [Bug c++/13027] New: g++: Internal error: Killed (program cc1plus) albrecht dot dress at arcor dot de
                   ` (7 preceding siblings ...)
  2003-11-26 18:44 ` albrecht dot dress at arcor dot de
@ 2003-12-08  1:44 ` pinskia at gcc dot gnu dot org
  2003-12-08  7:24 ` [Bug optimization/13027] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-08  1:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-08 01:44 -------
reopening as 400MB is just too much for GCC to take.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13027


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug optimization/13027] [3.3/3.4 Regression] g++: Internal error: Killed (program cc1plus)
  2003-11-12 20:18 [Bug c++/13027] New: g++: Internal error: Killed (program cc1plus) albrecht dot dress at arcor dot de
                   ` (8 preceding siblings ...)
  2003-12-08  1:44 ` pinskia at gcc dot gnu dot org
@ 2003-12-08  7:24 ` pinskia at gcc dot gnu dot org
  2003-12-22 17:43 ` steven at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-08  7:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-08 07:24 -------
Confirmed a regression.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-12-08 07:24:00
               date|                            |
            Summary|g++: Internal error: Killed |[3.3/3.4 Regression] g++:
                   |(program cc1plus)           |Internal error: Killed
                   |                            |(program cc1plus)
   Target Milestone|---                         |3.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13027


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug optimization/13027] [3.3/3.4 Regression] g++: Internal error: Killed (program cc1plus)
  2003-11-12 20:18 [Bug c++/13027] New: g++: Internal error: Killed (program cc1plus) albrecht dot dress at arcor dot de
                   ` (9 preceding siblings ...)
  2003-12-08  7:24 ` [Bug optimization/13027] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2003-12-22 17:43 ` steven at gcc dot gnu dot org
  2003-12-23 13:00 ` albrecht dot dress at arcor dot de
  2003-12-24 20:14 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-12-22 17:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2003-12-22 16:58 -------
I'm pretty sure I've seen more complaints about this file (a piece of Lyx, if 
I recall correctly) on other targets, so this may not be a target specific 
issue. 
 
Can someone show some time/mem report for this? 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13027


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug optimization/13027] [3.3/3.4 Regression] g++: Internal error: Killed (program cc1plus)
  2003-11-12 20:18 [Bug c++/13027] New: g++: Internal error: Killed (program cc1plus) albrecht dot dress at arcor dot de
                   ` (10 preceding siblings ...)
  2003-12-22 17:43 ` steven at gcc dot gnu dot org
@ 2003-12-23 13:00 ` albrecht dot dress at arcor dot de
  2003-12-24 20:14 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: albrecht dot dress at arcor dot de @ 2003-12-23 13:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From albrecht dot dress at arcor dot de  2003-12-23 12:01 -------
Yes, it's a LyX file, and compiling it has always been a pain. It was possible,
though, to compile it on a 80 MB phys memory Mac running Linux using gcc 2.95.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13027


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug optimization/13027] [3.3/3.4 Regression] g++: Internal error: Killed (program cc1plus)
  2003-11-12 20:18 [Bug c++/13027] New: g++: Internal error: Killed (program cc1plus) albrecht dot dress at arcor dot de
                   ` (11 preceding siblings ...)
  2003-12-23 13:00 ` albrecht dot dress at arcor dot de
@ 2003-12-24 20:14 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-24 20:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-24 20:10 -------
This is a dup of bug 10160 (the problem is in the scheduler and there are other bugs 
about the scheduler).

*** This bug has been marked as a duplicate of 10160 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13027


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2003-12-24 20:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-12 20:18 [Bug c++/13027] New: g++: Internal error: Killed (program cc1plus) albrecht dot dress at arcor dot de
2003-11-12 20:19 ` [Bug c++/13027] " albrecht dot dress at arcor dot de
2003-11-12 21:20 ` falk at debian dot org
2003-11-13 18:40 ` albrecht dot dress at arcor dot de
2003-11-13 18:43 ` pinskia at gcc dot gnu dot org
2003-11-21 15:56 ` [Bug optimization/13027] " pinskia at gcc dot gnu dot org
2003-11-26 12:03 ` reichelt at gcc dot gnu dot org
2003-11-26 15:26 ` pinskia at gcc dot gnu dot org
2003-11-26 18:44 ` albrecht dot dress at arcor dot de
2003-12-08  1:44 ` pinskia at gcc dot gnu dot org
2003-12-08  7:24 ` [Bug optimization/13027] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
2003-12-22 17:43 ` steven at gcc dot gnu dot org
2003-12-23 13:00 ` albrecht dot dress at arcor dot de
2003-12-24 20:14 ` pinskia at gcc dot gnu dot 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).