In the past I've seen these sorts of errors and behavior caused by both memory problems and CPU overheating. I would be surprised if it wasn't some sort of hardware problem.
Curt. Clarence Bakirtzidis writes: > Hi all... > > I hope this is not a repetitive question (I tried looking through some > of the archives and found a similar question, but the answer didn't help > me). > > When I try compiling either plib, simgear, metakit, or flightgear I > keep getting "Internal compiler error" at seemingly random points. > If I re-run the make, sometimes it successfully compiles the file it failed > on and then fails again on a different file. Occassionally it takes up to 10 > reties before a file will compile. On one occassion I managed to build > everything using this tedious approach but flightgear would not run, it > kept generating segmentation faults. When I download the pre-built > binaries for flightgear it runs without any problems. > > The strange thing is I get the "Internal compiler error" when compiling > under Windows 2000/Cygwin and under Red Hat Linux 7.3! Does this > mean it is a hardware-related problem? I have no problems running any > other software. My setup is Pentium III 600EB 512MB PC133 SDRAM > 60GB HDD, Leadtek GeForce 2 64MB, SBLive. > > Here is a sample run in plib which generates the "Internal compiler error" > > ---- SAMPLE RUN START ---- > > Administrator@ZELIOS-PENTIUM3 /usr/local/plib-1.4.2 > $ make > Making all in src > make[1]: Entering directory `/usr/local/plib-1.4.2/src' > Making all in util > make[2]: Entering directory `/usr/local/plib-1.4.2/src/util' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/usr/local/plib-1.4.2/src/util' > Making all in js > make[2]: Entering directory `/usr/local/plib-1.4.2/src/js' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/usr/local/plib-1.4.2/src/js' > Making all in sl > make[2]: Entering directory `/usr/local/plib-1.4.2/src/sl' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/usr/local/plib-1.4.2/src/sl' > Making all in pui > make[2]: Entering directory `/usr/local/plib-1.4.2/src/pui' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/usr/local/plib-1.4.2/src/pui' > Making all in sg > make[2]: Entering directory `/usr/local/plib-1.4.2/src/sg' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/usr/local/plib-1.4.2/src/sg' > Making all in ssg > make[2]: Entering directory `/usr/local/plib-1.4.2/src/ssg' > c++ -DPACKAGE=\"plib\" -DVERSION=\"1.4.2\" -DWIN32=1 -DSTDC_HEADERS=1 -DHAVE_GL_ > GL_H=1 -DHAVE_GL_GLU_H=1 -DWIN32=1 -DGLUT_IS_PRESENT=1 -I. -I. -I../../src/sg > -I../../src/util -I/usr/local/include -g -O2 -O6 -Wall -malign-double -I/usr/ > local/include -L/usr/local/lib -c ssgSimpleState.cxx > ssgSimpleState.cxx: In method `void ssgSimpleState::setTexture(char *, int = 1, > int = 1, int = 1)': > ssgSimpleState.cxx:632: Internal compiler error. > ssgSimpleState.cxx:632: Please submit a full bug report. > ssgSimpleState.cxx:632: See <URL:http://www.gnu.org/software/gcc/bugs.html> for > instructions. > make[2]: *** [ssgSimpleState.o] Error 1 > make[2]: Leaving directory `/usr/local/plib-1.4.2/src/ssg' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/plib-1.4.2/src' > make: *** [all-recursive] Error 1 > > Administrator@ZELIOS-PENTIUM3 /usr/local/plib-1.4.2 > $ > > ---- SAMPLE RUN END ---- > > I have tried several things to get this error to go away, including: > > * Removing the -O optimisation flags > * Removing the -g debug option > * Using -O3 -fomit-frame-pointer -DNDEBUG for CXXFLAGS as suggested in an old post > > Sometimes even ./configure abort and generates "Signal 11". > > The code versions I am using are: > > plib-1.4.2 > SimGear-0.0.18 > FlightGear-0.7.10 > > Any help would be greatly appreciated as I am trying to make some small > modifications to FlightGear for a university project. I have been trying to > compile flightgear on and off for a few weeks now. I have managed to get it > to compile on Windows 2000/Cygwin on my PC at work without any problems, it's > just my home PC which has this problem. > > Regards, > > Clarence. > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <HTML><HEAD> > <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type> > <META content="MSHTML 5.00.3315.2870" name=GENERATOR> > <STYLE></STYLE> > </HEAD> > <BODY bgColor=#ffffff> > <DIV><FONT face=Arial size=2>Hi all...</FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=Arial size=2>I hope this is not a repetitive question (I tried > looking through some</FONT></DIV> > <DIV><FONT face=Arial size=2>of the archives and found a similar question, but > the answer didn't help</FONT></DIV> > <DIV><FONT face=Arial size=2>me).</FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=Arial size=2>When I try compiling either plib, simgear, metakit, > or flightgear I</FONT></DIV> > <DIV><FONT face=Arial size=2>keep getting "Internal compiler error" at seemingly > random points.</FONT></DIV> > <DIV><FONT face=Arial size=2>If I re-run the make, sometimes it successfully > compiles the file it failed</FONT></DIV> > <DIV><FONT face=Arial size=2>on and then fails again on a different file. > Occassionally it takes up to 10</FONT></DIV> > <DIV><FONT face=Arial size=2>reties before a file will compile. On one > occassion I managed to build</FONT></DIV> > <DIV><FONT face=Arial size=2>everything using this tedious approach but > flightgear would not run, it</FONT></DIV> > <DIV><FONT face=Arial size=2>kept generating segmentation faults. When I > download the pre-built</FONT></DIV> > <DIV><FONT face=Arial size=2>binaries for flightgear it runs without any > problems.</FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=Arial size=2>The strange thing is I get the "Internal compiler > error" when compiling</FONT></DIV> > <DIV><FONT face=Arial size=2>under Windows 2000/Cygwin and under Red Hat Linux > 7.3! Does this</FONT></DIV> > <DIV><FONT face=Arial size=2>mean it is a hardware-related problem? I have > no problems running any</FONT></DIV> > <DIV><FONT face=Arial size=2>other software. My setup is Pentium III 600EB > 512MB PC133 SDRAM</FONT></DIV> > <DIV><FONT face=Arial size=2>60GB HDD, Leadtek GeForce 2 64MB, > SBLive.</FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=Arial size=2>Here is a sample run in plib which generates the > "Internal compiler error"</FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=Arial size=2>---- SAMPLE RUN START ----</FONT></DIV> > <DIV><FONT face=Arial size=2></FONT> </DIV> > <DIV><FONT face=Arial size=2>Administrator@ZELIOS-PENTIUM3 > /usr/local/plib-1.4.2<BR>$ make<BR>Making all in src<BR>make[1]: Entering > directory `/usr/local/plib-1.4.2/src'<BR>Making all in util<BR>make[2]: Entering > directory `/usr/local/plib-1.4.2/src/util'<BR>make[2]: Nothing to be done for > `all'.<BR>make[2]: Leaving directory `/usr/local/plib-1.4.2/src/util'<BR>Making > all in js<BR>make[2]: Entering directory > `/usr/local/plib-1.4.2/src/js'<BR>make[2]: Nothing to be done for > `all'.<BR>make[2]: Leaving directory `/usr/local/plib-1.4.2/src/js'<BR>Making > all in sl<BR>make[2]: Entering directory > `/usr/local/plib-1.4.2/src/sl'<BR>make[2]: Nothing to be done for > `all'.<BR>make[2]: Leaving directory `/usr/local/plib-1.4.2/src/sl'<BR>Making > all in pui<BR>make[2]: Entering directory > `/usr/local/plib-1.4.2/src/pui'<BR>make[2]: Nothing to be done for > `all'.<BR>make[2]: Leaving directory `/usr/local/plib-1.4.2/src/pui'<BR>Making > all in sg<BR>make[2]: Entering directory > `/usr/local/plib-1.4.2/src/sg'<BR>make[2]: Nothing to be done for > `all'.<BR>make[2]: Leaving directory `/usr/local/plib-1.4.2/src/sg'<BR>Making > all in ssg<BR>make[2]: Entering directory `/usr/local/plib-1.4.2/src/ssg'<BR>c++ > -DPACKAGE=\"plib\" -DVERSION=\"1.4.2\" -DWIN32=1 -DSTDC_HEADERS=1 > -DHAVE_GL_<BR>GL_H=1 -DHAVE_GL_GLU_H=1 -DWIN32=1 -DGLUT_IS_PRESENT=1 -I. > -I. -I../../src/sg<BR>-I../../src/util -I/usr/local/include -g > -O2 -O6 -Wall -malign-double -I/usr/<BR>local/include -L/usr/local/lib -c > ssgSimpleState.cxx<BR>ssgSimpleState.cxx: In method `void > ssgSimpleState::setTexture(char *, int = 1,<BR>int = 1, int = > 1)':<BR>ssgSimpleState.cxx:632: Internal compiler > error.<BR>ssgSimpleState.cxx:632: Please submit a full bug > report.<BR>ssgSimpleState.cxx:632: See <<A > >href="http://www.gnu.org/software/gcc/bugs.html">URL:http://www.gnu.org/software/gcc/bugs.html</A>> > > for<BR>instructions.<BR>make[2]: *** [ssgSimpleState.o] Error 1<BR>make[2]: > Leaving directory `/usr/local/plib-1.4.2/src/ssg'<BR>make[1]: *** > [all-recursive] Error 1<BR>make[1]: Leaving directory > `/usr/local/plib-1.4.2/src'<BR>make: *** [all-recursive] Error 1</FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=Arial size=2>Administrator@ZELIOS-PENTIUM3 > /usr/local/plib-1.4.2<BR>$</FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=Arial size=2><FONT face=Arial size=2>---- SAMPLE RUN END > ----</FONT></FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=Arial size=2>I have tried several things to get this error to go > away, including:</FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=Arial size=2>* Removing the -O optimisation flags</FONT></DIV> > <DIV><FONT face=Arial size=2>* Removing the -g debug option</FONT></DIV> > <DIV><FONT face=Arial size=2>* Using -O3 -fomit-frame-pointer -DNDEBUG for > CXXFLAGS as suggested in an old post</FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=Arial size=2>Sometimes even ./configure abort and generates > "Signal 11".</FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=Arial size=2>The code versions I am using are:</FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=Arial size=2>plib-1.4.2</FONT></DIV> > <DIV><FONT face=Arial size=2>SimGear-0.0.18</FONT></DIV> > <DIV><FONT face=Arial size=2>FlightGear-0.7.10</FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=Arial size=2>Any help would be greatly appreciated as I am > trying to make some small</FONT></DIV> > <DIV><FONT face=Arial size=2>modifications to FlightGear for a university > project. I have been trying to</FONT></DIV> > <DIV><FONT face=Arial size=2>compile flightgear on and off for a few weeks > now. I have managed to get it</FONT></DIV> > <DIV><FONT face=Arial size=2>to compile on Windows 2000/Cygwin on my PC at work > without any problems, it's</FONT></DIV> > <DIV><FONT face=Arial size=2>just my home PC which has this > problem.</FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=Arial size=2>Regards,</FONT></DIV> > <DIV> </DIV> > <DIV><FONT face=Arial size=2>Clarence.</FONT></DIV> > <DIV> </DIV></BODY></HTML> -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Cities [EMAIL PROTECTED] [EMAIL PROTECTED] Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel