Hallo,

This happens when compiling file src/script/qscriptcontext_p.cpp in trolltech's
qt 4.3.0 sources.

gcc -c -mpowerpc -mminimal-toc -O2 -Wall -W -D_THREAD_SAFE -DQT_SHARED
-DQT_BUILD_SCRIPT_LIB -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT
-DQ_SCRIPT_DIRECT_CODE -DQT_NO_DEBUG -DQT_CORE_LIB -I../../mkspecs/aix-g++ -I.
-I../../include/QtCore -I../../include/QtCore -I../../include
-I../../include/QtScript -I. -I. -o qscriptcontext_p.o qscriptcontext_p.cpp
qscriptcontext_p.cpp: In member function 'void
QScriptContextPrivate::execute(QScript::Code*)':
qscriptcontext_p.cpp:2097: internal compiler error: Illegal instruction

Using the -save-temps options causes "cc1plus: out of memory allocating", which
also occurred with gcc 4.2.2 which caused me to try 4.2.1:

[EMAIL PROTECTED] gcc -save-temps -c -mpowerpc -mminimal-toc -O2 -Wall -W
-D_THREAD_SAFE -DQT_SHARED -DQT_BUILD_SCRIPT_LIB
-DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQ_SCRIPT_DIRECT_CODE
-DQT_NO_DEBUG -DQT_CORE_LIB -I../../mkspecs/aix-g++ -I. -I../../include/QtCore
-I../../include/QtCore -I../../include -I../../include/QtScript -I. -I. -o
qscriptcontext_p.o qscriptcontext_p.cpp

cc1plus: out of memory allocating 24969464 bytes after a total of 247429368
bytes


[EMAIL PROTECTED] gcc -v
Using built-in specs.
Target: powerpc-ibm-aix5.2.0.0
Configured with: ../gcc-4.2.1/configure --enable-version-specific-runtime-libs
--enable-static --enable-shared --enable-threads --with-as=/usr/bin/as
--without-gnu-ld --with-ld=/usr/bin/ld --prefix=/opt/gcc-4.2.1 --disable-nls
--with-pic --disable-symvers --enable-symvers=no --enable-languages=c,c++,objc
Thread model: aix
gcc version 4.2.1

Where can I post the preprocessed source? It's somewhat big.

thomas


-- 
           Summary: gcc fails to compile a file in the trolltech qt 4.3.0
                    source tree. Internal compiler error or "cc1plus: out of
                    memory allocating"
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: T dot Mittelstaedt at cadenas dot de
 GCC build triplet: powerpc-ibm-aix5.2.0.
  GCC host triplet: powerpc-ibm-aix5.2.0.
GCC target triplet: powerpc-ibm-aix5.2.0.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34738

Reply via email to