[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#136045: Unable to compile large source trees



Package: g++-2.95

Hi,
when I try to compile for example qt-x11 (with debian/rules binary-arch)
after some time the build process stops with an error message like:
g++ -D_REENTRANT -DQT_THREAD_SUPPORT -c -I/usr/X11R6/include
-I/usr/src/qt-x11-2.3.1/include -I/usr/X11R6/include -pipe -fno-exceptions
-O3 -march=k6 -Wpointer-arith -Wwrite-strings -Wmissing-prototypes
-DQT_BUILTIN_GIF_READER=1 -DQT_XFT   -o kernel/qimage.o kernel/qimage.cpp
kernel/qimage.cpp: In method `bool QImage::operator ==(const QImage &)
const':
kernel/qimage.cpp:5288: Internal compiler error.
kernel/qimage.cpp:5288: Please submit a full bug report.
kernel/qimage.cpp:5288: Internal compiler error:
kernel/qimage.cpp:5288: See <URL:http://www.gnu.org/software/gcc/bugs.html>
for instructions.
make[3]: *** [kernel/qimage.o] Fehler 1
make[3]: Leaving directory `/usr/src/qt-x11-2.3.1/src'
make[2]: *** [src-mt] Fehler 2
make[2]: Leaving directory `/usr/src/qt-x11-2.3.1'
make[1]: *** [src-mt] Fehler 2
make[1]: Leaving directory `/usr/src/qt-x11-2.3.1'
make: *** [static-stamp] Fehler 2

or:

g++  -c -I/usr/X11R6/include -I/usr/src/qt-x11-2.3.1/include
-I/usr/X11R6/include -pipe -fno-exceptions -O3 -march=k6 -Wpointer-arith
-Wwrite-strings -Wmissing-prototypes  -DQT_BUILTIN_GIF_READER=1 -DQT_XFT
-o kernel/qfontdatabase.o kernel/qfontdatabase.cpp
kernel/qfontdatabase.cpp: In method `const class QStringList &
QFontDatabasePrivate::families(bool) const':
kernel/qfontdatabase.cpp:904: Internal compiler error:
kernel/qfontdatabase.cpp:904: internal error--unrecognizable insn:
(insn/i 3943 3941 3944 ((null)) -1 (nil)
    (nil))
cpp0: output pipe has been closed
make[2]: *** [kernel/qfontdatabase.o] Fehler 1
make[2]: Leaving directory `/usr/src/qt-x11-2.3.1/src'
make[1]: *** [sub-src] Fehler 2
make[1]: Leaving directory `/usr/src/qt-x11-2.3.1'
make: *** [init] Fehler 2

or:

g++ -D_REENTRANT -DQT_THREAD_SUPPORT -c -I/usr/X11R6/include
-I/usr/src/qt-x11-2.3.1/include -I/usr/X11R6/include -pipe -fno-exceptions
-O3 -march=k6 -Wpointer-arith -Wwrite-strings -Wmissing-prototypes
-DQT_BUILTIN_GIF_READER=1 -DQT_XFT   -o kernel/qrichtext.o
kernel/qrichtext.cpp
kernel/qrichtext.cpp: In method `bool QRichText::parse(QTextParagraph *,
const QStyleSheetItem *, QTextParagraph *, QTextCharFormat, const QString
&, int &, QStyleSheetItem::WhiteSpaceMode =
QStyleSheetItem::WhiteSpaceNormal)':
kernel/qrichtext.cpp:694: Internal compiler error:
kernel/qrichtext.cpp:694: virtual memory exhausted
cpp0: output pipe has been closed
make[3]: *** [kernel/qrichtext.o] Fehler 1
make[3]: Leaving directory `/usr/src/qt-x11-2.3.1/src'
make[2]: *** [src-mt] Fehler 2
make[2]: Leaving directory `/usr/src/qt-x11-2.3.1'
make[1]: *** [src-mt] Fehler 2
make[1]: Leaving directory `/usr/src/qt-x11-2.3.1'
make: *** [init] Fehler 2

or:

g++ -D_REENTRANT -DQT_THREAD_SUPPORT -c -I/usr/X11R6/include
-I/usr/src/qt-x11-2.3.1/include -I/usr/X11R6/include -pipe -fno-exceptions
-O3 -march=k6 -Wpointer-arith -Wwrite-strings -Wmissing-prototypes
-DQT_BUILTIN_GIF_READER=1 -DQT_XFT   -o widgets/moc_qtoolbutton.o
widgets/moc_qtoolbutton.cpp
g++: Internal compiler error: program cpp0 got fatal signal 11
make[3]: *** [widgets/moc_qtoolbutton.o] Fehler 1
make[3]: Leaving directory `/usr/src/qt-x11-2.3.1/src'
make[2]: *** [src-mt] Fehler 2
make[2]: Leaving directory `/usr/src/qt-x11-2.3.1'
make[1]: *** [src-mt] Fehler 2
make[1]: Leaving directory `/usr/src/qt-x11-2.3.1'
make: *** [init] Fehler 2

Because when I execute make again the compilation process continues where
it stops before, I think there _might_ be no error with the compiler itself
but with something else.

How can I solve the problem?

Here are the versions of some installed packets (i386 on a k6-300 with 128
MB RAM):
bash      2.05a-3
cpp       2.95.4-8
cpp-2.95  2.95.4-0.011006
fileutils 4.1-9
gcc       2.95.4-8
gcc-2.95  2.95.4-0.011006
g++       2.95.4-8
g++-2.95  2.95.4-0.011006
libc6     2.2.4-7
make      3.79.1-11

self compiled kernel 2.2.20




Reply to: