Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80684 - xgcc: Internal error: Terminated (program cc1) - Warning: end of file not at end of a line; newline inserted
Summary: xgcc: Internal error: Terminated (program cc1) - Warning: end of file not at ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-04 02:15 UTC by John Plesmid
Modified: 2005-02-19 13:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Plesmid 2005-02-04 02:15:48 UTC
I am encountering this error whle compiling GCC-3.4.1-r3. I also encounter this error when compiling at least mozilla-firefox. Although for firefox it occurs doing a c++ compile. 

Reproducible: Always
Steps to Reproduce:
1. emerge gcc
2.
3.

Actual Results:  
       30 minimal DFA states,      63 minimal DFA arcs
      314 all insns          5 insn equivalence classes
   66 transition comb vector els,   150 trans table els: use simple vect
   66 state alts comb vector els,   150 state alts table els: use simple vect
  150 min delay table els, compression factor 1

Automaton `ppc603'
      368 NDFA states,           1368 NDFA arcs
      368 DFA states,            1368 DFA arcs
      368 minimal DFA states,    1368 minimal DFA arcs
      314 all insns         10 insn equivalence classes
 1571 transition comb vector els,  3680 trans table els: use simple vect
 1571 state alts comb vector els,  3680 state alts table els: use simple vect
 3680 min delay table els, compression factor 1

Automaton `ppc603fp'
       34 NDFA states,             72 NDFA arcs
       34 DFA states,              72 DFA arcs
       34 minimal DFA states,      72 minimal DFA arcs
      314 all insns          6 insn equivalence classes
   74 transition comb vector els,   204 trans table els: use comb vect
   74 state alts comb vector els,   204 state alts table els: use comb vect
  204 min delay table els, compression factor 1

Automaton `ppc6xx'
     1184 NDFA states,           5552 NDFA arcs
      888 DFA states,            3868 DFA arcs
      888 minimal DFA states,    3868 minimal DFA arcs
      314 all insns         13 insn equivalence classes
 4409 transition comb vector els, 11544 trans table els: use comb vect
 4409 state alts comb vector els, 11544 state alts table els: use comb vect
11544 min delay table els, compression factor 1

Automaton `ppc6xxfp'
       33 NDFA states,             70 NDFA arcs
       33 DFA states,              70 DFA arcs
       33 minimal DFA states,      70 minimal DFA arcs
      314 all insns          6 insn equivalence classes
   73 transition comb vector els,   198 trans table els: use comb vect
   73 state alts comb vector els,   198 state alts table els: use comb vect
  198 min delay table els, compression factor 1

Automaton `ppc6xxfp2'
      676 NDFA states,           1612 NDFA arcs
      351 DFA states,             832 DFA arcs
      351 minimal DFA states,     832 minimal DFA arcs
      314 all insns          7 insn equivalence classes
  837 transition comb vector els,  2457 trans table els: use comb vect
  837 state alts comb vector els,  2457 state alts table els: use comb vect
 2457 min delay table els, compression factor 1

Automaton `ppc7xx'
     2436 NDFA states,          13254 NDFA arcs
     1860 DFA states,            8416 DFA arcs
      690 minimal DFA states,    4697 minimal DFA arcs
      314 all insns         13 insn equivalence classes
 5475 transition comb vector els,  8970 trans table els: use simple vect
 5475 state alts comb vector els,  8970 state alts table els: use simple vect
 8970 min delay table els, compression factor 1

Automaton `ppc7xxfp'
       32 NDFA states,             68 NDFA arcs
       32 DFA states,              68 DFA arcs
       32 minimal DFA states,      68 minimal DFA arcs
      314 all insns          6 insn equivalence classes
   72 transition comb vector els,   192 trans table els: use comb vect
   72 state alts comb vector els,   192 state alts table els: use comb vect
  192 min delay table els, compression factor 1

Automaton `ppc7450'
     6954 NDFA states,          46727 NDFA arcs
     1698 DFA states,            6979 DFA arcs
     1274 minimal DFA states,    5901 minimal DFA arcs
      314 all insns         11 insn equivalence classes
 7029 transition comb vector els, 14014 trans table els: use simple vect
 7029 state alts comb vector els, 14014 state alts table els: use simple vect
14014 min delay table els, compression factor 1

Automaton `ppc7450fp'
       36 NDFA states,             75 NDFA arcs
       36 DFA states,              75 DFA arcs
       36 minimal DFA states,      75 minimal DFA arcs
      314 all insns          5 insn equivalence classes
   76 transition comb vector els,   180 trans table els: use simple vect
   76 state alts comb vector els,   180 state alts table els: use simple vect
  180 min delay table els, compression factor 1

Automaton `ppc7450vec'
       15 NDFA states,             62 NDFA arcs
       11 DFA states,              38 DFA arcs
        6 minimal DFA states,      28 minimal DFA arcs
      314 all insns          6 insn equivalence classes
   30 transition comb vector els,    36 trans table els: use simple vect
   30 state alts comb vector els,    36 state alts table els: use simple vect
   36 min delay table els, compression factor 8

Automaton `ppc8540_most'
       66 NDFA states,            237 NDFA arcs
       66 DFA states,             237 DFA arcs
        7 minimal DFA states,      45 minimal DFA arcs
      314 all insns          7 insn equivalence classes
   47 transition comb vector els,    49 trans table els: use simple vect
   47 state alts comb vector els,    49 state alts table els: use simple vect
   49 min delay table els, compression factor 8

Automaton `ppc8540_long'
       30 NDFA states,             62 NDFA arcs
       30 DFA states,              62 DFA arcs
       30 minimal DFA states,      62 minimal DFA arcs
      314 all insns          4 insn equivalence classes
   63 transition comb vector els,   120 trans table els: use simple vect
   63 state alts comb vector els,   120 state alts table els: use simple vect
  120 min delay table els, compression factor 1

Automaton `ppc8540_retire'
      162 NDFA states,            756 NDFA arcs
      162 DFA states,             756 DFA arcs
       81 minimal DFA states,     378 minimal DFA arcs
      314 all insns          6 insn equivalence classes
  440 transition comb vector els,   486 trans table els: use simple vect
  440 state alts comb vector els,   486 state alts table els: use simple vect
  486 min delay table els, compression factor 2

Automaton `power4iu'
     1568 NDFA states,          10538 NDFA arcs
     7495 DFA states,           67202 DFA arcs
     7153 minimal DFA states,   64999 minimal DFA arcs
      314 all insns         21 insn equivalence classes
90985 transition comb vector els, 150213 trans table els: use simple vect
90985 state alts comb vector els, 150213 state alts table els: use simple vect
150213 min delay table els, compression factor 1

Automaton `power4fpu'
     1600 NDFA states,           4960 NDFA arcs
     1148 DFA states,            4015 DFA arcs
     1148 minimal DFA states,    4015 minimal DFA arcs
      314 all insns          7 insn equivalence classes
 4037 transition comb vector els,  8036 trans table els: use simple vect
 4037 state alts comb vector els,  8036 state alts table els: use simple vect
 8036 min delay table els, compression factor 1

Automaton `power4vec'
       32 NDFA states,            160 NDFA arcs
       84 DFA states,             376 DFA arcs
       82 minimal DFA states,     369 minimal DFA arcs
      314 all insns          5 insn equivalence classes
  388 transition comb vector els,   410 trans table els: use simple vect
  388 state alts comb vector els,   410 state alts table els: use simple vect
  410 min delay table els, compression factor 4

Automaton `power4misc'
      970 NDFA states,           3432 NDFA arcs
     2005 DFA states,            7792 DFA arcs
      556 minimal DFA states,    3126 minimal DFA arcs
      314 all insns         16 insn equivalence classes
 3835 transition comb vector els,  8896 trans table els: use simple vect
 3835 state alts comb vector els,  8896 state alts table els: use simple vect
 8896 min delay table els, compression factor 2

Automaton `power5iu'
      947 NDFA states,           4818 NDFA arcs
     2166 DFA states,           13712 DFA arcs
     2065 minimal DFA states,   13252 minimal DFA arcs
      314 all insns         20 insn equivalence classes
16689 transition comb vector els, 41300 trans table els: use simple vect
16689 state alts comb vector els, 41300 state alts table els: use simple vect
41300 min delay table els, compression factor 1

Automaton `power5fpu'
     1600 NDFA states,           4800 NDFA arcs
     3125 DFA states,           10281 DFA arcs
     3010 minimal DFA states,    9879 minimal DFA arcs
      314 all insns          7 insn equivalence classes
10030 transition comb vector els, 21070 trans table els: use simple vect
10030 state alts comb vector els, 21070 state alts table els: use simple vect
21070 min delay table els, compression factor 1

Automaton `power5misc'
      970 NDFA states,           3287 NDFA arcs
     1713 DFA states,            6151 DFA arcs
      541 minimal DFA states,    2641 minimal DFA arcs
      314 all insns         15 insn equivalence classes
 3094 transition comb vector els,  8115 trans table els: use comb vect
 3094 state alts comb vector els,  8115 state alts table els: use comb vect
 8115 min delay table els, compression factor 2

44155 all allocated states,     211218 all allocated arcs
322885 all allocated alternative states
170609 all transition comb vector els, 340434 all trans table els
170609 all state alts comb vector els, 340434 all state alts table els
340434 all min delay table els
    0 locked states num

  transformation: 0.032994, building NDFA: 32.892003, NDFA -> DFA: 6.173060
  DFA minimization: 9.200605, making insn equivalence: 0.349944
 all automaton generation: 49.607459, output: 328.715027
/bin/sh /var/tmp/portage/gcc-3.4.1-r3/work/gcc-3.4.1/gcc/move-if-change tmp-
attrtab.c insn-attrtab.c
echo timestamp > s-attrtab
stage1/xgcc -Bstage1/ -B/usr/powerpc-unknown-linux-gnu/bin/   -pipe -mcpu=750 -
O2 -fprofile-generate -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition     -
DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.4.1-r3/work/gcc-3.4.1/gcc -I/
var/tmp/portage/gcc-3.4.1-r3/work/gcc-3.4.1/gcc/. -I/var/tmp/portage/gcc-3.4.1-
r3/work/gcc-3.4.1/gcc/../include  -c insn-attrtab.c \
  -o insn-attrtab.o
xgcc: Internal error: Terminated (program cc1)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [insn-attrtab.o] Error 1
{standard input}: Assembler messages:
{standard input}:688686: Warning: end of file not at end of a line; newline 
inserted
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.1-r3/work/build/gcc'
make[1]: *** [stageprofile_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.1-r3/work/build/gcc'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.1-r3 failed.
!!! Function src_compile, Line 696, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

macTux root #


Expected Results:  
Should have cleanly compiled GCC

I have an idea that this is a memory related problem. The machine is a NewWorld 
PPC G3 with 128M memory and a 512M swap partition. I believe the swap partition 
is valid and mounted and being used though, since it shows up in top.
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-12 14:22:13 UTC
gcc --version
emerge --info
Comment 2 John Plesmid 2005-02-19 12:37:09 UTC
Please close this bug.
I am no longer able to recreate.
I believe the problem was an incorrectly formatted or incorrectly mounted swap partition.
Since I originally reported this bug, I have completely repartitioned my HD to increase disk space and reinstalled Gentoo. In doing so, I know that I properly formated and mounted my swap space. Since then I have successfully compiled, GCC, mozilla-firefox and openoffice without problem. Prior to repartitioning my HD I was unable to compile any of these. They all failed with the same error as I reported in this bug.  
Thanks very much for your time.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-19 13:03:53 UTC
closing.