Subject: Problem building x11/qt4-libs
To: None <tech-pkg@netbsd.org>
From: None <cngo@nmsu.edu>
List: tech-pkg
Date: 11/29/2007 13:28:43
Hi,

I get this error, while building the qt4-libs-4.3.2 package on NetBSD 3.1.

*******
....

libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include
-DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2
-I/usr/X11R6/include -g -I/usr/pkg/include -I/usr/include
-I/usr/pkg/include/freetype2 -I/usr/X11R6/include -fno-exceptions
-D_REENTRANT -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT_44_API_QSQLQUERY_FINISH -DQT3_SUPPORT
-DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE_MMX -DQT_HAVE_SSE
-DQT_HAVE_MMXEXT -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/netbsd-g++ -I. -I../../include/QtCore
-I../../include/QtCore -I../../include -I../../include/QtGui
-I/usr/pkg/include/freetype2 -I/usr/X11R6/include/freetype2
-I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared
-I/usr/X11R6/include -I.uic/release-shared -I/usr/pkg/include -o
.obj/release-shared/qdrawhelper.lo painting/qdrawhelper.cpp
painting/qdrawhelper.cpp: In function `uint detectCPUFeatures()':
painting/qdrawhelper.cpp:5129: error: can't find a register in class `Q_REGS'
   while reloading `asm'
gmake[1]: *** [.obj/release-shared/qdrawhelper.lo] Error 1
gmake[1]: Leaving directory
`/pkg_comp/obj/pkgsrc/x11/qt4-libs/work.pkg_comp/qt-x11-opensource-src-4.3.2/src/gui'
gmake: *** [sub-gui-sub_src_target_ordered] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/qt4-libs
*** Error code 1

*************
Any idea how to fix it would be highly appreciated,

Co