------- Comment #31 from t66667 at gmail dot com 2009-09-09 09:08 ------- Sorry about the delayed testing. With the same gcc revision (without patch applied) and with "-Wl,--stack=0x20000000" as suggested by Danny. cc1plus.exe still crashed while running the following command.
g++ -c -include tmp\obj\release_static\qt_gui_pch.h -pipe -O0 -m64 -Wl,--stack=0x20000000 -Wall -frtti -fno-exceptions -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -D_USE_MATH_DEFINES -DQT_NO_DIRECTDRAW -DPNG_NO_ASSEMBLER_CODE -DQT_RASTER_IMAGEENGINE -DQT_RASTER_PAINTENGINE -DQT_NO_CUPS -DQT_NO_LPR -DQT_HAVE_MMX -DQT_NO_FREETYPE -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -I"..\..\include\QtCore" -I"..\..\include" -I"..\..\include\QtGui" -I"tmp\rcc\release_static" -I"tmp" -I"..\3rdparty\wintab" -I"..\3rdparty\libpng" -I"..\3rdparty\zlib" -I"..\3rdparty\harfbuzz\src" -I"dialogs" -I"..\..\include\ActiveQt" -I"tmp\moc\release_static" -I"." -I"..\..\mkspecs\win32-g++" -o tmp\obj\release_static\qwidget.o kernel\qwidget.cpp So in conclusion, qt4 library compilation complete with -O0 and "fix-fld-recursion" patch applied to gcc. With -O the compiled qmake.exe will run crash, comment #14. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41254