Qt source build fails (4.8.) on Pixman



  • building qt 4.8.6 on ubuntu 12.04.4 lts with configure:
    ./configure -platform linux-g++ -arch arm -xplatform qws/linux-arm-g++ -prefix /usr/local/arm -platform linux-g++ -little-endian -armfpa -no-sm -qt-mouse-tslib -fast -no-qt3support -opensource -confirm-license

    I'm using:
    QMAKE_CXXFLAGS_DEBUG += -march=armv7 -mtune=cortex-a9

    tools work, but compile fails:

    /usr/local/arm/4.7/bin/arm-linux-gnueabihf-gcc -c -pipe -O2 -march=armv7 -mtune=cortex-a9 -fvisibility=hidden -Wall -W -march=armv7 -mtune=cortex-a9 -D_REENTRANT -march=armv7 -mtune=cortex-a9 -fPIC -march=armv7 -mtune=cortex-a9 -DQT_SHARED -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 -DFT2_BUILD_LIBRARY -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_HAVE_NEON -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -mfpu=neon -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -I../3rdparty/xorg -Iimage -I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/zlib -I../3rdparty/freetype/builds/unix -I../3rdparty/freetype/src -I../3rdparty/freetype/include -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I.uic/release-shared -I/usr/local/tslib/include ../3rdparty/pixman/pixman-
    arm-neon-asm.S -o .obj/release-shared/pixman-arm-neon-asm.o
    ../3rdparty/pixman/pixman-arm-neon-asm.h: Assembler messages:
    ../3rdparty/pixman/pixman-arm-neon-asm.h:497: Error: invalid register list to push/pop instruction -- push {r4-r12,lr}' ../3rdparty/pixman/pixman-arm-neon-asm.h:565: Error: only lo regs allowed with immediate --mov PF_X,#0'
    ../3rdparty/pixman/pixman-arm-neon-asm.h:565: Error: shifts in CMP/MOV instructions are only supported in unified syntax -- mov PF_CTL,H,lsl#4' ../3rdparty/pixman/pixman-arm-neon-asm.h:565: Error: lo register required --add PF_CTL,#(5-0x10)'

    It looks like the code is not armv7 compatible?
    Any help/pointers would be appreciated.

    Thank you,


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.