Hi,I have trouble compiling a file with optimizations. Without -O2, it compiles. gcc 4.1 does compile it with -O2.
I have attached the preprocessed source. cd /localbuild/source/V9_UNICODE_RESTRUCTURE/3rdparty/Qt/src/script/ make -f Makefile_projectsg++ -c -mpowerpc -fpermissive -I/localbuild/source/V9_UNICODE_RESTRUCTURE/3rdparty/openssl/include -mminimal-toc -O2 -Wall -W -D_THREAD_SAFE -DQT_SHARED -DQT_EDITION=QT_EDITION_DESKTOP -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 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/aix-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtScript -I.moc/release-shared -I.uic/release-shared -o .obj/release-shared/qscriptcontext_p.o qscriptcontext_p.cpp
cc1plus: out of memory allocating 24969464 bytes after a total of 247167968 bytes
make: 1254-004 The error code from the last command is 1.
Attachment:
qscriptcontext_p.pp.gz
Description: GNU Zip compressed data