The mingw compiler error "qvector.h:569: error: unable to find a register to spill in class 'FLOAT_REGS' "

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone:
When I use ccpentium compiler to build a qvector class, it appears the following error:
../../include/QtCore/../../src/corelib/tools/qvector.h:569: error: unable to find a register to spill in class 'FLOAT_REGS'

Could anyone give me some solutions or suggestions about that? The full compiler outout and error as the following:
#################
ccpentium -c -mtune=pentium4 -march=pentium4 -nostdlib -fno-builtin -fno-defer-pop -fno-implicit-fp -ansi -MD -MP -DCPU=_VX_PENTIUM4 -DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -D_VSB_CONFIG_FILE='<../lib/h/config/vsbConfig.h>' -IC:\WindRiver\vxworks-6.8/target/h -IC:\WindRiver\vxworks-6.8/target/h/wrn/coreip -IC:\WindRiver\components/windml-5.3/h -IC:\WindRiver\components/windml-5.3/src/include/vxworks-6.8 -D__WORDSIZE=32 -O2 -Wall -W -D_REENTRANT -DVXWORKS -DVXWORKS_DKM -DVXWORKS_DISPLAY -DQT_QWS_SHARE_FONTS -DQT_EDITION=QT_EDITION_DESKTOP -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_USE_BUNDLED_LIBPNG -DPNG_NO_ASSEMBLER_CODE -DMNG_BUILD_SO -DMNG_NO_INCLUDE_JNG -DQT_NO_FONTCONFIG -DFT2_BUILD_LIBRARY -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_CDE -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_PLASTIQUE -DQT_NO_STYLE_GTK -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -I../../mkspecs/qws/vxworks-Pentium4dkm-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -Itmp/rcc/release_static -Iimage -I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/libjpeg -I../3rdparty/libmng -I../3rdparty/zlib -I../3rdparty/libtiff/libtiff -I../3rdparty/zlib -I../3rdparty/zlib -I../3rdparty/freetype/builds/unix -I../3rdparty/freetype/src -I../3rdparty/freetype/include -I../3rdparty/harfbuzz/src -Idialogs -Itmp/moc/release_static -I. -o tmp/obj/release_static/qpaintengine_pic.o image/qpaintengine_pic.cpp
../../include/QtCore/../../src/corelib/tools/qvector.h: In member function 'void QVector<T>::append(const T&) [with T = QPointF]':
../../include/QtCore/../../src/corelib/tools/qvector.h:569: error: unable to find a register to spill in class 'FLOAT_REGS'
../../include/QtCore/../../src/corelib/tools/qvector.h:569: error: this is the insn:
(insn:HI 25 23 26 2 (set (reg:DF 60 [ copy$yp ])
        (mem/s:DF (plus:SI (reg/v/f:SI 4 si [orig:69 t ] [69])
                (const_int 8 [0x8])) [13 <variable>.yp+0 S8 A32])) 63 {*movdf_nointeger} (nil)
    (nil))
../../include/QtCore/../../src/corelib/tools/qvector.h:569: confused by earlier errors, bailing out
make[1]: *** [tmp/obj/release_static/qpaintengine_pic.o] Error 1
make[1]: Leaving directory `C:/WindRiver/workspace/qtp4dkm/src/gui'
make: *** [sub-gui-make_default-ordered] Error 2
######################

The compiler version as the following:
###############
C:\WindRiver\workspace>ccpentium  -v
Using built-in specs.
Target: i586-wrs-vxworks
Configured with: /scratch/nathan/vxworks-4.1-dwarf/src/gcc-4.1/configure --build=i686-pc-linux-gnu --host=i686-mingw32 --target=i586-wrs-vxworks --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --disable-hosted-libstdcxx --enable-version-specific-runtime-libs --disable-sjlj-exceptions --disable-symvers --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --enable-shared --disable-hosted-libstdcxx --with-cxxabi=/scratch/nathan/vxworks-4.1-dwarf/src/dinkum-20021215/include --with-pkgversion='Wind River VxWorks G++ DWARF-EH 4.1-131' --with-bugurl=support@xxxxxxxxxxxxx --disable-nls --prefix=/opt/codesourcery --exec-prefix='/x86-win32' --libdir='/lib' --program-transform-name='s,^gcc$,cc,;s,$,pentium,' --with-libiconv-prefix=/scratch/nathan/vxworks-4.1-dwarf/obj/4.1-i586-wrs-vxworks-dwarfeh/host-libs-4.1-131-i586-wrs-vxworks-i686-mingw32/usr --with-gxx-include-dir=''\''/'\''include/c++/4.1' --disable-libgomp --with-license=/scratch/nathan/vxworks-4.1-dwarf/obj/4.1-i586-wrs-vxworks-dwarfeh/host-libs-4.1-131-i586-wrs-vxworks-i686-mingw32/usr --with-csl-license-version=20080918 --with-csl-license-feature=gcc_IA32_VxWorks --enable-poison-system-directories
Thread model: vxworks
gcc version 4.1.2 (Wind River VxWorks G++ DWARF-EH 4.1-131)
Compiler SPR fixes: cq107091 cq111298 cq111124 cq111139 cq111312 cq111576 cq113600 cq118973 cq126167 cq127961 cq128197 cq130491
Library SPR fixes: cq111256 cq113595 cq116847 cq117584 cq123955
###################

-- yuan




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux