Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, June 2007
QT 4.3 Compile Error


Message 1 in thread

Hi every  body
Any help will be appreciated.
When I try to compile QT4.3 on RHEL4 I get the following error.

g++ -c -include .pch/release-shared/QtGui -m64 -pipe -g -pthread 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -Wall -W 
-D_REENTRANT -fPIC -DQT_SHARED -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/qstylesheetstyle.o styles/qstylesheetstyle.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:105: error: 
inconsistent operand constraints in an `asm'
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:105: error: 
inconsistent operand constraints in an `asm'
make[1]: *** [.obj/release-shared/qstylesheetstyle.o] Error 1
make[1]: Leaving directory 
`/home/chr/Downloads/tars/qt-x11-opensource-src-4.3.0/src/gui'
make: *** [sub-gui-make_default-ordered] Error 2

--
 [ signature omitted ] 

Message 2 in thread

On Friday 08 June 2007 10:28:50 Chris wrote:
> Hi every  body
> Any help will be appreciated.
> When I try to compile QT4.3 on RHEL4 I get the following error.

You've hit a compiler bug:

http://trolltech.com/developer/task-tracker/index_html?id=161994&method=entry

-- 
 [ signature omitted ] 

Message 3 in thread

On Friday 08 June 2007 10:36, Bradley T Hughes wrote:
> On Friday 08 June 2007 10:28:50 Chris wrote:
> > Hi every  body
> > Any help will be appreciated.
> > When I try to compile QT4.3 on RHEL4 I get the following error.
>
> You've hit a compiler bug:
>
> http://trolltech.com/developer/task-tracker/index_html?id=161994&method=ent
>ry

Hi Bradley Thank you for the reply

Chris

--
 [ signature omitted ] 

Message 4 in thread

On Friday 08 June 2007 11:20:12 Chris wrote:
> On Friday 08 June 2007 10:36, Bradley T Hughes wrote:
> > On Friday 08 June 2007 10:28:50 Chris wrote:
> > > Hi every  body
> > > Any help will be appreciated.
> > > When I try to compile QT4.3 on RHEL4 I get the following error.
> >
> > You've hit a compiler bug:
> >
> > http://trolltech.com/developer/task-tracker/index_html?id=161994&method=e
> >nt ry
>
> Hi Bradley Thank you for the reply

No problem. :) Unfortunately, I've not been able to "fix" this so that people 
using RHEL4 won't see this, because I don't want to disable optimizations for 
everyone just because of this one compile error. I've been considering trying 
to autodetect the gcc version and only then enabling some sort of workaround.

-- 
 [ signature omitted ]