- Info
| Report type | Bug |
Status? | Closed |
Resolution? | Won't fix |
| Product | Qt |
Functional area | Other |
Version found | 4.3.0-beta1 |
| Priority? | 3 |
Scheduled for? | Some future release |
Description
On a debian linux amd64 box using gcc 3.4.6 Qt doesn't compile:
./configure -release
...
g++ -c -include .pch/release-shared/QtGui -m64 -pipe -g -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_EDITION=QT_EDITION_DESKTOP -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_SSE2 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-64 -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtGui -I/usr/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I/usr/X11R6/include -I.uic/release-shared -o .obj/release-shared/qdialogbuttonbox.o widgets/qdialogbuttonbox.cpp
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h: In member function `virtual QRect QStyleSheetStyle::subElementRect(QStyle::SubElement, const QStyleOption*, const QWidget*) const':
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:103: error: inconsistent operand constraints in an `asm'
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:103: error: inconsistent operand constraints in an `asm'
make[1]: *** [.obj/release-shared/qstylesheetstyle.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/anders/dev/qt-x11-commercial-src-4.3.0rc1/src/gui'
make: *** [sub-gui-make_default] Error 2
Debug and gcc 4 builds are okay.
Update:
To work around this bug, recompile qstylesheetstyle.cpp with removing -O2, or add the -fno-gcse compiler option.
History
2007-05-09 21:31 - Entry created
2007-05-10 06:39 - Version for fix set to 'Not scheduled'
2007-05-10 06:39 - Priority changed to 'No Priority'
2007-05-10 08:12 - Version for fix set to '4.3.1'
2007-05-10 08:12 - Priority changed to '2'
2007-05-10 08:20 - Version for fix set to 'Some future release'
2007-05-10 08:20 - Priority changed to '3'
2007-05-10 08:51 - Task status changed to 'Closed'
2007-05-10 08:51 - Resolution set to 'Won't fix'