Donate Share

TDM's GCC/MinGW32 Builds

Tracker: Bugs

5 internal compiler Segmentation fault - ID: 2896688
Last Update: Comment added ( )

Windows XP
Using built-in specs.
Target: mingw32
Configured with: ../../gcc-4.4.1/configure --prefix=/mingw --build=mingw32
--ena
ble-languages=c,ada,c++,fortran,objc,obj-c++ --disable-nls
--disable-win32-regis
try --enable-libgomp --enable-cxx-flags='-fno-function-sections
-fno-data-sectio
ns' --disable-werror --enable-threads --disable-symvers
--enable-version-specifi
c-runtime-libs --enable-fully-dynamic-string --with-pkgversion='TDM-2
mingw32' -
-enable-sjlj-exceptions
--with-bugurl=http://www.tdragon.net/recentgcc/bugs.php
Thread model: win32
gcc version 4.4.1 (TDM-2 mingw32)
GNU ld (GNU Binutils) 2.19.1
Windows shell

I get an internal compiler error: Segmentation fault when building Qt
4.6.0-Beta1 Technology Preview, see output below.
This is the 2nd system on which the exact same error occurred in the same
place so it should be reproducible.
Sorry not such a small test example though!

C:/Qt/4.6.0-beta1/bin/moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT
-DQDESIGNER_SDK_L
IBRARY -DQDESIGNER_EXTENSION_LIBRARY -DQDESIGNER_UILIB_LIBRARY
-DQDESIGNER_SHARE
D_LIBRARY -DQT_DESIGNER -DQT_DLL -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB
-DQT
_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore"
-I"..\
..\..\..\include\QtGui" -I"..\..\..\..\include\QtXml"
-I"..\..\..\..\include\QtS
cript" -I"..\..\..\..\include" -I"extension" -I"sdk" -I"uilib" -I"shared"
-I"..\
..\..\shared\qtpropertybrowser" -I"..\..\..\shared\deviceskin"
-I"..\..\..\..\sr
c\tools\rcc" -I"..\..\..\shared\findwidget"
-I"..\..\..\shared\qtgradienteditor"
-I"..\..\..\..\include\ActiveQt" -I"tmp\moc\release_shared" -I"."
-I"..\..\..\.
.\mkspecs\win32-g++" -D__GNUC__ -DWIN32
..\..\..\shared\qtpropertybrowser\qtvari
antproperty.h -o tmp\moc\release_shared\moc_qtvariantproperty.cpp
g++ -c -include tmp\obj\release_shared\lib_pch.h -O2 -frtti -fexceptions
-mthrea
ds -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQDESIGNER_SDK_LIBRARY
-DQDESIGNER_EX
TENSION_LIBRARY -DQDESIGNER_UILIB_LIBRARY -DQDESIGNER_SHARED_LIBRARY
-DQT_DESIGN
ER -DQT_DLL -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB
-DQT_CORE_LI
B -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore"
-I"..\..\..\..\include\QtGu
i" -I"..\..\..\..\include\QtXml" -I"..\..\..\..\include\QtScript"
-I"..\..\..\..
\include" -I"extension" -I"sdk" -I"uilib" -I"shared"
-I"..\..\..\shared\qtproper
tybrowser" -I"..\..\..\shared\deviceskin" -I"..\..\..\..\src\tools\rcc"
-I"..\..
\..\shared\findwidget" -I"..\..\..\shared\qtgradienteditor"
-I"..\..\..\..\inclu
de\ActiveQt" -I"tmp\moc\release_shared" -I"."
-I"..\..\..\..\mkspecs\win32-g++"
-o tmp\obj\release_shared\qtvariantproperty.o
..\..\..\shared\qtpropertybrowser\
qtvariantproperty.cpp
..\..\..\shared\qtpropertybrowser\qtvariantproperty.cpp: In constructor
'QtVaria
ntEditorFactory::QtVariantEditorFactory(QObject*)':
..\..\..\shared\qtpropertybrowser\qtvariantproperty.cpp:1927: internal
compiler
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://www.tdragon.net/recentgcc/bugs.php> for instructions.
mingw32-make[5]: *** [tmp/obj/release_shared/qtvariantproperty.o] Error 1
mingw32-make[5]: Leaving directory
`C:/Qt/4.6.0-beta1/tools/designer/src/lib'

Regards
David Robinsion


Dave Red ( davered ) - 2009-11-12 15:39

5

Open

None

Nobody/Anonymous

GCC

GCC 4.4.x

Public


Comment ( 1 )




Date: 2009-12-15 07:50
Sender: Arjan

This bug can be worked around by not using PCH. The -include
tmp\obj\release_shared\lib_pch.h argument to g++ is the offending argument.
Removing it (by hand) for this single file also completes the Qt build.


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.