public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13074] New: Stops with message: g++: Internal error: Killed (program cc1plus)
@ 2003-11-16 13:51 paul dot huygen at huygen dot nl
  2003-11-16 13:54 ` [Bug c++/13074] " falk at debian dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: paul dot huygen at huygen dot nl @ 2003-11-16 13:51 UTC (permalink / raw)
  To: gcc-bugs

I tried to compile a program called rcsoccersim. The makefile stopped with the
message: g++: Internal error: Killed (program cc1plus), and requested to file a
bug report.

I have made a file coach_lang_par.ii, as you requested, but I don't know how to
send it to you.

Thank you for maintaining gcc.

Paul Huygen

-- 
           Summary: Stops with message: 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: paul dot huygen at huygen dot nl
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: 3.3.2


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


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

* [Bug c++/13074] Stops with message: g++: Internal error: Killed (program cc1plus)
  2003-11-16 13:51 [Bug c++/13074] New: Stops with message: g++: Internal error: Killed (program cc1plus) paul dot huygen at huygen dot nl
@ 2003-11-16 13:54 ` falk at debian dot org
  2003-11-29 15:24 ` mirco at matfyz dot cz
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: falk at debian dot org @ 2003-11-16 13:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From falk at debian dot org  2003-11-16 13:54 -------
(In reply to comment #0)
> I have made a file coach_lang_par.ii, as you requested, but I don't know how to
> send it to you.

Attach it at the URL given below.

Please also tell us how much memory you have, and the output of g++ -v.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug c++/13074] Stops with message: g++: Internal error: Killed (program cc1plus)
  2003-11-16 13:51 [Bug c++/13074] New: Stops with message: g++: Internal error: Killed (program cc1plus) paul dot huygen at huygen dot nl
  2003-11-16 13:54 ` [Bug c++/13074] " falk at debian dot org
@ 2003-11-29 15:24 ` mirco at matfyz dot cz
  2003-11-30  9:57 ` mirco at matfyz dot cz
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mirco at matfyz dot cz @ 2003-11-29 15:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mirco at matfyz dot cz  2003-11-29 15:24 -------
Same problem when compiling openh323.

openh323/src$ g++  -DP_LINUX  -ffunction-sections -fdata-sections -D_REENTRANT
-Wall  -fPIC -DPIC -pipe -DP_USE_PRAGMA -DPHAS_TEMPLATES
-I/usr/include/ptlib/unix -I/usr/include/pwlib -DPTRACING
-I/home/mirco/Anca/anca/openh323/include -DHAS_IXJ -DHAS_OSS -DPTRACING
-I/usr/share/pwlib//include -fPIC -DPIC -pipe -DP_USE_PRAGMA -Os -DNDEBUG  -x
c++ -c h323.cxx -o /home/mirco/Anca/anca/openh323/lib/obj_linux_x86_r/h323.o
-save-temps
g++: warning: -pipe ignored because -save-temps specified
g++: warning: -pipe ignored because -save-temps specified
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bugs,
please see /usr/share/doc/debian/bug-re gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.2/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib
--enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm
--enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.2 (Debian)
porting.txt.

 g++ -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.2/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib
--enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm
--enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.2 20030812 (Debian prerelease)

I have 256MB RAM, swap is around 128MB. Same problem with version 3.3.2 (Debian).

Preprocessed file: http://mirco.matfyz.cz/h323.ii (>2MB)

-- 


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


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

* [Bug c++/13074] Stops with message: g++: Internal error: Killed (program cc1plus)
  2003-11-16 13:51 [Bug c++/13074] New: Stops with message: g++: Internal error: Killed (program cc1plus) paul dot huygen at huygen dot nl
  2003-11-16 13:54 ` [Bug c++/13074] " falk at debian dot org
  2003-11-29 15:24 ` mirco at matfyz dot cz
@ 2003-11-30  9:57 ` mirco at matfyz dot cz
  2003-12-01  1:04 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mirco at matfyz dot cz @ 2003-11-30  9:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mirco at matfyz dot cz  2003-11-30 09:56 -------
Gcc version 2.95.4 20011002 (Debian prerelease) works fine.

-- 


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


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

* [Bug c++/13074] Stops with message: g++: Internal error: Killed (program cc1plus)
  2003-11-16 13:51 [Bug c++/13074] New: Stops with message: g++: Internal error: Killed (program cc1plus) paul dot huygen at huygen dot nl
                   ` (2 preceding siblings ...)
  2003-11-30  9:57 ` mirco at matfyz dot cz
@ 2003-12-01  1:04 ` pinskia at gcc dot gnu dot org
  2003-12-22  0:34 ` [Bug c++/13074] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-01  1:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-01 01:04 -------
Use gzip or bzip2 to compress the file down lower than the 2MB limit and attach it.

-- 


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


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

* [Bug c++/13074] [3.3/3.4 Regression] Stops with message: g++: Internal error: Killed (program cc1plus)
  2003-11-16 13:51 [Bug c++/13074] New: Stops with message: g++: Internal error: Killed (program cc1plus) paul dot huygen at huygen dot nl
                   ` (3 preceding siblings ...)
  2003-12-01  1:04 ` pinskia at gcc dot gnu dot org
@ 2003-12-22  0:34 ` pinskia at gcc dot gnu dot org
  2004-01-11 12:12 ` giovannibajo at libero dot it
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-22  0:34 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |memory-hog
   Last reconfirmed|0000-00-00 00:00:00         |2003-12-21 23:57:18
               date|                            |
            Summary|Stops with message: g++:    |[3.3/3.4 Regression] Stops
                   |Internal error: Killed      |with message: g++: Internal
                   |(program cc1plus)           |error: Killed (program
                   |                            |cc1plus)
   Target Milestone|---                         |3.5.0


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


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

* [Bug c++/13074] [3.3/3.4 Regression] Stops with message: g++: Internal error: Killed (program cc1plus)
  2003-11-16 13:51 [Bug c++/13074] New: Stops with message: g++: Internal error: Killed (program cc1plus) paul dot huygen at huygen dot nl
                   ` (4 preceding siblings ...)
  2003-12-22  0:34 ` [Bug c++/13074] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2004-01-11 12:12 ` giovannibajo at libero dot it
  2004-01-13  6:16 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: giovannibajo at libero dot it @ 2004-01-11 12:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-01-11 12:12 -------
Paul,

can you please try and generate a preprocessed source using GCC 3.4.0 (a recent 
snapshot of CVS)? There might even be precompiled snapshots around. If this is 
totally impossible to you, at least give us a link to where to download the 
program that didn't build so that we can try ourselves.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|2003-12-21 23:57:18         |2004-01-11 12:12:35
               date|                            |


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


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

* [Bug c++/13074] [3.3/3.4 Regression] Stops with message: g++: Internal error: Killed (program cc1plus)
  2003-11-16 13:51 [Bug c++/13074] New: Stops with message: g++: Internal error: Killed (program cc1plus) paul dot huygen at huygen dot nl
                   ` (5 preceding siblings ...)
  2004-01-11 12:12 ` giovannibajo at libero dot it
@ 2004-01-13  6:16 ` pinskia at gcc dot gnu dot org
  2004-01-13  7:36 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-13  6:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-13 06:16 -------
Pushing to 3.4 (I will post a 3.4 version of this code, I am used to fixing up 3.3's libstdc++ 
headers by now).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.5.0                       |3.4.0


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


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

* [Bug c++/13074] [3.3/3.4 Regression] Stops with message: g++: Internal error: Killed (program cc1plus)
  2003-11-16 13:51 [Bug c++/13074] New: Stops with message: g++: Internal error: Killed (program cc1plus) paul dot huygen at huygen dot nl
                   ` (6 preceding siblings ...)
  2004-01-13  6:16 ` pinskia at gcc dot gnu dot org
@ 2004-01-13  7:36 ` pinskia at gcc dot gnu dot org
  2004-01-24 16:30 ` [Bug c++/13074] [3.3/3.4/3.5 " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-13  7:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-13 07:36 -------
Okay I have the testcase for 3.4 if anyone wants it email me (if I upload it using IE, it will macbin it 
and I cannot upload it with safari for some reason), I will try to upload it with a different computer 
tommorrow where I can use safari.

-- 


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


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

* [Bug c++/13074] [3.3/3.4/3.5 Regression] Stops with message: g++: Internal error: Killed (program cc1plus)
  2003-11-16 13:51 [Bug c++/13074] New: Stops with message: g++: Internal error: Killed (program cc1plus) paul dot huygen at huygen dot nl
                   ` (7 preceding siblings ...)
  2004-01-13  7:36 ` pinskia at gcc dot gnu dot org
@ 2004-01-24 16:30 ` pinskia at gcc dot gnu dot org
  2004-01-31  4:54 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-24 16:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-24 16:30 -------
For 3.5, the memory usage is down to 118M.

-- 


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


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

* [Bug c++/13074] [3.3/3.4/3.5 Regression] Stops with message: g++: Internal error: Killed (program cc1plus)
  2003-11-16 13:51 [Bug c++/13074] New: Stops with message: g++: Internal error: Killed (program cc1plus) paul dot huygen at huygen dot nl
                   ` (8 preceding siblings ...)
  2004-01-24 16:30 ` [Bug c++/13074] [3.3/3.4/3.5 " pinskia at gcc dot gnu dot org
@ 2004-01-31  4:54 ` pinskia at gcc dot gnu dot org
  2004-01-31  5:13 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-31  4:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-31 04:54 -------
hmm, the problem is that the types reference each other by TREE_CHAIN which causes 
a lot of the functions bodies not to be freed (maybe after they emitted they need to be 
zeroed).

-- 


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


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

* [Bug c++/13074] [3.3/3.4/3.5 Regression] Stops with message: g++: Internal error: Killed (program cc1plus)
  2003-11-16 13:51 [Bug c++/13074] New: Stops with message: g++: Internal error: Killed (program cc1plus) paul dot huygen at huygen dot nl
                   ` (9 preceding siblings ...)
  2004-01-31  4:54 ` pinskia at gcc dot gnu dot org
@ 2004-01-31  5:13 ` pinskia at gcc dot gnu dot org
  2004-01-31 19:35 ` [Bug c++/13074] [3.3/3.4 " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-31  5:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-31 05:13 -------
The realy problem is that extern inline functions which are not emitted at all have their 
body saved for ever.

-- 


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


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

* [Bug c++/13074] [3.3/3.4 Regression] Stops with message: g++: Internal error: Killed (program cc1plus)
  2003-11-16 13:51 [Bug c++/13074] New: Stops with message: g++: Internal error: Killed (program cc1plus) paul dot huygen at huygen dot nl
                   ` (10 preceding siblings ...)
  2004-01-31  5:13 ` pinskia at gcc dot gnu dot org
@ 2004-01-31 19:35 ` pinskia at gcc dot gnu dot org
  2004-02-16  2:24 ` giovannibajo at libero dot it
  2004-03-01  1:35 ` mmitchel at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-31 19:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-31 19:35 -------
in 3.5.0, due to this patch:

	PR c++/12850
	* cgraph.c (cgraph_remove_node): Clear out saved/insns/arguments and
	initial pointers.
	* cgraphunit.c (cgraph_finalize_function): Clear out DECL_SAVED_INSNS
	for functions that will be only inlined.
	(cgraph_mark_function_to_output): Likewise.
	(cgraph_expand_function): Sanity check that DECL_DEFER_OUTPUT is clear;
	do not clear function body.
	* tree-optimize.c (clear_decl_rtl): Use decl_function_context.
	(tree_rest_of_compilation): Reorganize the logic releasing function

The memory usage is only 75M so it is much better already.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[3.3/3.4/3.5 Regression]    |[3.3/3.4 Regression] Stops
                   |Stops with message: g++:    |with message: g++: Internal
                   |Internal error: Killed      |error: Killed (program
                   |(program cc1plus)           |cc1plus)


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


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

* [Bug c++/13074] [3.3/3.4 Regression] Stops with message: g++: Internal error: Killed (program cc1plus)
  2003-11-16 13:51 [Bug c++/13074] New: Stops with message: g++: Internal error: Killed (program cc1plus) paul dot huygen at huygen dot nl
                   ` (11 preceding siblings ...)
  2004-01-31 19:35 ` [Bug c++/13074] [3.3/3.4 " pinskia at gcc dot gnu dot org
@ 2004-02-16  2:24 ` giovannibajo at libero dot it
  2004-03-01  1:35 ` mmitchel at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: giovannibajo at libero dot it @ 2004-02-16  2:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-02-16 02:24 -------
The patch was backported to 3.4. It would be great to have some figures of 
memory usage with 2.95 so that we have something to compare to. Otherwise, it's 
hard to see if it's still a regression or not.

-- 


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


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

* [Bug c++/13074] [3.3/3.4 Regression] Stops with message: g++: Internal error: Killed (program cc1plus)
  2003-11-16 13:51 [Bug c++/13074] New: Stops with message: g++: Internal error: Killed (program cc1plus) paul dot huygen at huygen dot nl
                   ` (12 preceding siblings ...)
  2004-02-16  2:24 ` giovannibajo at libero dot it
@ 2004-03-01  1:35 ` mmitchel at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-03-01  1:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-03-01 01:35 -------
Since the patch was backported, and there is no further information, I'm going
to call this fixed.

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


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


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

end of thread, other threads:[~2004-03-01  1:35 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-16 13:51 [Bug c++/13074] New: Stops with message: g++: Internal error: Killed (program cc1plus) paul dot huygen at huygen dot nl
2003-11-16 13:54 ` [Bug c++/13074] " falk at debian dot org
2003-11-29 15:24 ` mirco at matfyz dot cz
2003-11-30  9:57 ` mirco at matfyz dot cz
2003-12-01  1:04 ` pinskia at gcc dot gnu dot org
2003-12-22  0:34 ` [Bug c++/13074] [3.3/3.4 Regression] " pinskia at gcc dot gnu dot org
2004-01-11 12:12 ` giovannibajo at libero dot it
2004-01-13  6:16 ` pinskia at gcc dot gnu dot org
2004-01-13  7:36 ` pinskia at gcc dot gnu dot org
2004-01-24 16:30 ` [Bug c++/13074] [3.3/3.4/3.5 " pinskia at gcc dot gnu dot org
2004-01-31  4:54 ` pinskia at gcc dot gnu dot org
2004-01-31  5:13 ` pinskia at gcc dot gnu dot org
2004-01-31 19:35 ` [Bug c++/13074] [3.3/3.4 " pinskia at gcc dot gnu dot org
2004-02-16  2:24 ` giovannibajo at libero dot it
2004-03-01  1:35 ` mmitchel 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).