public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34882]  New: g++: Internal error: Killed (program cc1plus)
@ 2008-01-20  7:54 myway dot cn at gmail dot com
  2008-01-20 13:39 ` [Bug middle-end/34882] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: myway dot cn at gmail dot com @ 2008-01-20  7:54 UTC (permalink / raw)
  To: gcc-bugs

MYNAS:/home/src/trunk/rtorrent-0.7.9# gcc -v
Using built-in specs.
Target: arm-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --disable-libssp
--enable-checking=release --build=arm-linux-gnu --host=arm-linux-gnu
--target=arm-linux-gnu
Thread model: posix
gcc version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)


MYNAS:/home/src/trunk/rtorrent-0.7.9/src# g++ -v -save-temps -DHAVE_CONFIG_H
-I. -I. -I..     -O2 -Wall -g -DDEBUG -I/usr/local/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include   -I/usr/local/include 
-MT command_download.o -MD -MP -MF ".deps/command_download.Tpo" -c -o
command_download.o command_download.cc
Using built-in specs.
Target: arm-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --disable-libssp
--enable-checking=release --build=arm-linux-gnu --host=arm-linux-gnu
--target=arm-linux-gnu
Thread model: posix
gcc version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)
 /usr/lib/gcc/arm-linux-gnu/4.2.3/cc1plus -E -quiet -v -I. -I. -I..
-I/usr/local/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
-I/usr/local/include -MD command_download.d -MF .deps/command_download.Tpo -MP
-MT command_download.o -MQ command_download.o -D_GNU_SOURCE -DHAVE_CONFIG_H
-DDEBUG command_download.cc -Wall -fworking-directory -O2 -fpch-preprocess -o
command_download.ii
ignoring nonexistent directory "/usr/local/include/arm-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/arm-linux-gnu/4.2.3/../../../../arm-linux-gnu/include"
ignoring nonexistent directory "/usr/include/arm-linux-gnu"
ignoring duplicate directory "."
ignoring duplicate directory "/usr/local/include"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "/usr/local/include"
  as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
 .
 ..
 /usr/include/sigc++-2.0
 /usr/lib/sigc++-2.0/include
 /usr/include/c++/4.2
 /usr/include/c++/4.2/arm-linux-gnu
 /usr/include/c++/4.2/backward
 /usr/local/include
 /usr/lib/gcc/arm-linux-gnu/4.2.3/include
 /usr/include
End of search list.
 /usr/lib/gcc/arm-linux-gnu/4.2.3/cc1plus -fpreprocessed command_download.ii
-quiet -dumpbase command_download.cc -auxbase-strip command_download.o -g -O2
-Wall -version -o command_download.s
GNU C++ version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4) (arm-linux-gnu)
        compiled by GNU C version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4).
GGC heuristics: --param ggc-min-expand=32 --param ggc-min-heapsize=4096
Compiler executable checksum: 9b6e74d25828d50e2e999d49ab297c3a
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 bug reporting instructions, see
<URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.


-- 
           Summary: g++: Internal error: Killed (program cc1plus)
           Product: gcc
           Version: 4.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: myway dot cn at gmail dot com


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


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

* [Bug middle-end/34882] g++: Internal error: Killed (program cc1plus)
  2008-01-20  7:54 [Bug c++/34882] New: g++: Internal error: Killed (program cc1plus) myway dot cn at gmail dot com
@ 2008-01-20 13:39 ` pinskia at gcc dot gnu dot org
  2008-01-23 10:44 ` myway dot cn at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-01-20 13:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-01-20 12:21 -------
>g++: Internal error: Killed (program cc1plus)

How much memory do you have?  How much swap space do you have?


Can you attach command_download.ii?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |middle-end
           Keywords|                            |memory-hog


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


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

* [Bug middle-end/34882] g++: Internal error: Killed (program cc1plus)
  2008-01-20  7:54 [Bug c++/34882] New: g++: Internal error: Killed (program cc1plus) myway dot cn at gmail dot com
  2008-01-20 13:39 ` [Bug middle-end/34882] " pinskia at gcc dot gnu dot org
@ 2008-01-23 10:44 ` myway dot cn at gmail dot com
  2008-01-23 10:48 ` myway dot cn at gmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: myway dot cn at gmail dot com @ 2008-01-23 10:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from myway dot cn at gmail dot com  2008-01-23 10:40 -------
Created an attachment (id=15006)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15006&action=view)
source file


-- 


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


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

* [Bug middle-end/34882] g++: Internal error: Killed (program cc1plus)
  2008-01-20  7:54 [Bug c++/34882] New: g++: Internal error: Killed (program cc1plus) myway dot cn at gmail dot com
  2008-01-20 13:39 ` [Bug middle-end/34882] " pinskia at gcc dot gnu dot org
  2008-01-23 10:44 ` myway dot cn at gmail dot com
@ 2008-01-23 10:48 ` myway dot cn at gmail dot com
  2008-01-26 13:43 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: myway dot cn at gmail dot com @ 2008-01-23 10:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from myway dot cn at gmail dot com  2008-01-23 10:41 -------
(In reply to comment #1)
> >g++: Internal error: Killed (program cc1plus)
> How much memory do you have?  How much swap space do you have?
> Can you attach command_download.ii?

32M RAM of NSLU2
200MB swap space 


-- 


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


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

* [Bug middle-end/34882] g++: Internal error: Killed (program cc1plus)
  2008-01-20  7:54 [Bug c++/34882] New: g++: Internal error: Killed (program cc1plus) myway dot cn at gmail dot com
                   ` (2 preceding siblings ...)
  2008-01-23 10:48 ` myway dot cn at gmail dot com
@ 2008-01-26 13:43 ` pinskia at gcc dot gnu dot org
  2008-01-27  0:14 ` tbm at cyrius dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-01-26 13:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2008-01-26 12:51 -------
Can you add -save-temps and attach the resulting .ii file ?


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug middle-end/34882] g++: Internal error: Killed (program cc1plus)
  2008-01-20  7:54 [Bug c++/34882] New: g++: Internal error: Killed (program cc1plus) myway dot cn at gmail dot com
                   ` (3 preceding siblings ...)
  2008-01-26 13:43 ` pinskia at gcc dot gnu dot org
@ 2008-01-27  0:14 ` tbm at cyrius dot com
  2008-01-27 13:35 ` rguenth at gcc dot gnu dot org
  2008-02-02 12:06 ` myway dot cn at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: tbm at cyrius dot com @ 2008-01-27  0:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from tbm at cyrius dot com  2008-01-26 23:16 -------
This is simply a host without enough RAM, not a gcc problem.


-- 


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


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

* [Bug middle-end/34882] g++: Internal error: Killed (program cc1plus)
  2008-01-20  7:54 [Bug c++/34882] New: g++: Internal error: Killed (program cc1plus) myway dot cn at gmail dot com
                   ` (4 preceding siblings ...)
  2008-01-27  0:14 ` tbm at cyrius dot com
@ 2008-01-27 13:35 ` rguenth at gcc dot gnu dot org
  2008-02-02 12:06 ` myway dot cn at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-27 13:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2008-01-27 12:50 -------
The initialize_command_download() exposes the usual memory-hungriness of GCC
with repetitive C++ initializers.  We have plenty of bugreports with testcases
for this, closing as invalid.  And yes, 32MB + 200MB swap will never make
you happy with C++ and gcc.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

* [Bug middle-end/34882] g++: Internal error: Killed (program cc1plus)
  2008-01-20  7:54 [Bug c++/34882] New: g++: Internal error: Killed (program cc1plus) myway dot cn at gmail dot com
                   ` (5 preceding siblings ...)
  2008-01-27 13:35 ` rguenth at gcc dot gnu dot org
@ 2008-02-02 12:06 ` myway dot cn at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: myway dot cn at gmail dot com @ 2008-02-02 12:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from myway dot cn at gmail dot com  2008-02-02 12:06 -------
(In reply to comment #6)
> The initialize_command_download() exposes the usual memory-hungriness of GCC
> with repetitive C++ initializers.  We have plenty of bugreports with testcases
> for this, closing as invalid.  And yes, 32MB + 200MB swap will never make
> you happy with C++ and gcc.
> 

However, it's not the 1st time that i compiled rtorrent on NSLU2 Debian etch
platform.
Therefore, why this gcc version 4.2.3 cause this issues?


-- 


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


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

end of thread, other threads:[~2008-02-02 12:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-20  7:54 [Bug c++/34882] New: g++: Internal error: Killed (program cc1plus) myway dot cn at gmail dot com
2008-01-20 13:39 ` [Bug middle-end/34882] " pinskia at gcc dot gnu dot org
2008-01-23 10:44 ` myway dot cn at gmail dot com
2008-01-23 10:48 ` myway dot cn at gmail dot com
2008-01-26 13:43 ` pinskia at gcc dot gnu dot org
2008-01-27  0:14 ` tbm at cyrius dot com
2008-01-27 13:35 ` rguenth at gcc dot gnu dot org
2008-02-02 12:06 ` myway dot cn at gmail dot com

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).