|
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.
|
- Re: [Flightgear-devel] Internal compiler error Clarence Bakirtzidis
- Re: [Flightgear-devel] Internal compiler error Curtis L. Olson
- RE: [Flightgear-devel] Internal compiler error Richard Bytheway
- Re: [Flightgear-devel] Internal compiler err... Andy Ross
- Re: [Flightgear-devel] Internal compiler... Julian Foad
- Re: [Flightgear-devel] Internal compiler err... Clarence Bakirtzidis
