Bug Report : egcs internal compiler error

John Connor jaconnorcz@hotmail.com
Tue May 23 05:59:00 GMT 2000

Problem: egcs internal compiler error
Background: While attempting to compile Qt 2.1.0 (free version)
the make stopped while compiling src/widgets/qmainwindow.cpp
with error number 550 - internal compiler error.  Screen output is
shown below:

cd src/moc; make
make[1]: Entering directory `/usr/local/qt-2.1.0/src/moc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/qt-2.1.0/src/moc'
mkdir bin
mkdir: cannot make directory `bin': File exists
make: [moc] Error 1 (ignored)
rm -f bin/moc
cp src/moc/moc bin/moc
cd src; make
make[1]: Entering directory `/usr/local/qt-2.1.0/src'
g++ -c -I/usr/local/qt/include -I/usr/X11R6/include -pipe -O2 -fPIC
-I/usr/local/qt/src/3rdparty/zlib -I/usr/local/qt/src/3rdparty/libpng
   -o widgets/qmainwindow.o widgets/qmainwindow.cpp
widgets/qmainwindow.cpp: In method
`int QToolLayout::layoutItems(const class QRect &, bool = FALSE)':
widgets/qmainwindow.cpp:550: Internal compiler error.
Please submit a full bug report to `egcs-bugs@cygnus.com'.
cpp: output pipe has been closed
make[1]: *** [widgets/qmainwindow.o] Error 1
make[1]: Leaving directory `/usr/local/qt-2.1.0/src'
make: *** [src] Error 2

This was obtained by running make again after the initial failure

Other background: I was using these versions of gcc, egcs and Linux;

gcc version
egcs-2.90.29 980515 (egcs-1.0.3 release)
(fails on egcs-1.0.2 release as well)
Red Hat Linux release 5.1 (Manhattan)
Kernel 2.0.33pl1 on a m68k

Amiga with Blizzard 2060 68060 50MHz accelerator, 32Mb RAM

Compiler was installed from the Red Hat m68k binary RPMs,
  I don't know how it is configured (it usually works...)
I have made no changes to compiler source or any config files
for the compiler. Everything is exactly as I received it on the

The error is repeatable, happens on 1st attempt to make Qt 2.1.0
and on subsequent attempts.  Occurs with both 1.0.2 and 1.0.3
releases of egcs.  Same symptoms using 2.2.10 kernel.

I include a copy of qmainwindow.cpp as an attachment - sorry that I
can`t include standalone version.

Any suggestions?

Regards, John Connor

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

More information about the Gcc-bugs mailing list