This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the EGCS project.
Intermittant "Internal compiler error"
- To: gcc-bugs@gcc.gnu.org
- Subject: Intermittant "Internal compiler error"
- From: Steve Baker <sjbaker1@airmail.net>
- Date: Sat, 24 Jul 1999 15:24:13 -0500
- Organization: Steve at Home
- Reply-To: sjbaker1@airmail.net
gcc --version :
egcs-2.91.66
System type:
AMD K6-2 CPU, SuSE 6.1 distribution installed fresh from the box.
Options passed to gcc:
c++ -DPACKAGE=\"tux_aqfh\" -DVERSION=\"1.0.7\" -DHAVE_LIBGL=1
-DHAVE_LIBGLU=1 -DHAVE_LIBGLUT=1 -DSTDC_HEADERS=1
-DHAVE_GL_GL_H=1 -DHAVE_GL_GLUT_H=1 -DLINUX_JOYSTICK_IS_PRESENT=1
-I. -I. -I/usr/local/plib/include -g -O2 -O6 -Wall
-c gfx.cxx
Preprocessed output of the source file that caused the compiler error
I have been unable to trap this (see below).
Explanation:
I'm maintaining a freeware game "Tux the Penguin - A Quest for
Herring",
and I find that in the course of compiling the 100 or so source files,
one
or more will throw up:
/usr/local/plib/include/ssgKeyFlier.h: In method `void
ssgKeyFlier::set_velocity(struct sgCoord *)':
In file included from tux.h:21,
from gfx.cxx:2:
/usr/local/plib/include/ssgKeyFlier.h:127: Internal compiler error.
/usr/local/plib/include/ssgKeyFlier.h:127: Please submit a full bug
report to
`egcs-bugs@egcs.cygnus.com'.
/usr/local/plib/include/ssgKeyFlier.h:127: See
<URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
make[1]: *** [gfx.o] Error 1
...the error comes up at least a couple of times - in those 100 or so
compilation steps - but never on the same set of files. Re-running the
compile always seems to fix the problem, so typing 'make' a half dozen
times seems to get everything done.
You should be able to reproduce this by grabbing the PLIB libraries
here:
http://www.woodsoup.org/projs/plib
...and doing a standard rebuild:
./configure ; make
There is of course a small probability that it'll make it all the
way through without hitting the error...but it's unlikely.
Also: Since I upgraded from SuSE 6.0 to 6.1, the final link has been
complaining:
/usr/local/plib/lib/libpu.a(puPopupMenu.o): warning: multiple
common of `puPopup type_info node'
/usr/local/plib/lib/libpu.a(puMenuBar.o): warning: previous
common is here
This is a terribly incomprehensible warning message - could
you give me a clue as to what it means in the context of a
C++ program?
Thanks in advance for any help you can offer - and keep up the
good work. Compiler writers are definitely the unsung heroes of
the OpenSource world...and I want to know that your work is
certainly appreciated.
--
Steve Baker http://web2.airmail.net/sjbaker1
sjbaker1@airmail.net (home) http://www.woodsoup.org/~sbaker
sjbaker@hti.com (work)