Bug 38133 - xgcc: Internal error: Killed (program cc1) by compiling gcc 4.3.2
Summary: xgcc: Internal error: Killed (program cc1) by compiling gcc 4.3.2
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.3.2
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-15 15:54 UTC by Jan
Modified: 2009-04-29 17:37 UTC (History)
1 user (show)

See Also:
Host:
Target: arm-linux-gnu(NSLU2 with Debian4.0r3)
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan 2008-11-15 15:54:20 UTC
Hello,

I have a problem by compiling gcc 4.3.2. 

If I use the package with all, I get the message: xgcc: Internal error: Killed (program cc1plus)
If I use only the core-package, I get the massage: xgcc: Internal error: Killed (program cc1).

What can I do???

Infomation:
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 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release arm-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

configure: ./configure --libdir=/usr/lib --includedir=/usr/include
Comment 1 Richard Biener 2008-11-15 20:29:38 UTC
You are running out of memory.
Comment 2 Jan 2008-11-16 10:17:47 UTC
/proc/swaps:

Filename				Type		Size	Used	Priority
/dev/sda1                               partition	1052216	x	-1
/usr/local/swap.file                    file		1048568	0	-2
Comment 3 Jan 2008-11-18 16:24:05 UTC
By compile doxygen, came this error:

g++ -c -pipe -fno-exceptions -fno-rtti -Wall -W -fno-exceptions -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/doxygen.o doxygen.cpp
{standard input}: Assembler messages:
{standard input}:17108: Warning: partial line at end of file ignored
{standard input}:16898: Error: undefined local label `.L2645'
{standard input}:16922: Error: undefined local label `.L2645'
{standard input}:16944: Error: undefined local label `.L2645'
{standard input}:16967: Error: undefined local label `.L2645'
{standard input}:16979: Error: undefined local label `.L2645'
{standard input}:16995: Error: undefined local label `.L2645'
{standard input}:17007: Error: undefined local label `.L2645'
{standard input}:17033: Error: undefined local label `.L2645'
{standard input}:17044: Error: undefined local label `.L2645'
{standard input}:17061: Error: undefined local label `.L2645'
{standard input}:17073: Error: undefined local label `.L2645'
{standard input}:17085: Error: undefined local label `.L2645'
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
make[2]: *** [../objects/doxygen.o] Error 1
make[2]: Leaving directory `/home/Download/Xorg/doxygen-1.5.7.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/Download/Xorg/doxygen-1.5.7.1/src'
make: *** [all] Error 2
Comment 4 Ramana Radhakrishnan 2009-04-29 17:37:34 UTC
(In reply to comment #3)
> By compile doxygen, came this error:
> 
> g++ -c -pipe -fno-exceptions -fno-rtti -Wall -W -fno-exceptions -O2 -I../qtools
> -I../libpng -I../libmd5 -o ../objects/doxygen.o doxygen.cpp
> {standard input}: Assembler messages:
> {standard input}:17108: Warning: partial line at end of file ignored
> {standard input}:16898: Error: undefined local label `.L2645'
> {standard input}:16922: Error: undefined local label `.L2645'
> {standard input}:16944: Error: undefined local label `.L2645'
> {standard input}:16967: Error: undefined local label `.L2645'
> {standard input}:16979: Error: undefined local label `.L2645'
> {standard input}:16995: Error: undefined local label `.L2645'
> {standard input}:17007: Error: undefined local label `.L2645'
> {standard input}:17033: Error: undefined local label `.L2645'
> {standard input}:17044: Error: undefined local label `.L2645'
> {standard input}:17061: Error: undefined local label `.L2645'
> {standard input}:17073: Error: undefined local label `.L2645'
> {standard input}:17085: Error: undefined local label `.L2645'
> g++: Internal error: Killed (program cc1plus)
> Please submit a full bug report.
> See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
> make[2]: *** [../objects/doxygen.o] Error 1
> make[2]: Leaving directory `/home/Download/Xorg/doxygen-1.5.7.1/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/Download/Xorg/doxygen-1.5.7.1/src'
> make: *** [all] Error 2
> 

This is probably a different bug to what you mention in comment #1 . We need more information . Please read the bug submitting guidelines and submit a proper bug report for this case. http://gcc.gnu.org/bugs.html#report