Trolltech Home | Qtopia-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qtopia-interest Archive, April 2007
Qtopia 4.3 Beta - Bug report - consistent compiler error with -iwmmxt configure option


Message 1 in thread

I get a consistent compiler error when trying to build Qtopia 4.3 Beta
with -wmmxt enabled using the following compilers:


arm-iwmmx-linux-gnueabi
gcc-4.2-20070207-glibc-2.5-kernel-2.6.18
gcc-4.1.2-glibc-2.5-kernel-2.6.18
gcc-4.1.1-glibc-2.5-kernel-2.6.18

arm-xscale-linux-gnueabi
gcc-4.1.1-glibc-2.5-kernel-2.6.18

Here is an example configuration:

./configure -no-accessibility -no-qt3support -embedded arm -qvfb
-qt-gfx-vnc --prefix=/usr/local/Trolltech/Qtopia-iwmmxt -iwmmxt
-little-endian -xplatform qws/linux-iwmmx-linux-gnueabi-g++
-qt-mouse-tslib -I/home/sean/tslib/ -L/home/sean/tslib/

Here is the error - note I get this error every time if -iwmmxt is turned on

make[1]: Entering directory
`/home/sean/Build/iw/qtopia-core-opensource-src-4.3.0beta/src/gui'
/home/sean/Build/iw/qtopia-core-opensource-src-4.3.0beta/bin/uic
dialogs/qprintdialog.ui -o
.uic/release-shared-emb-arm/ui_qprintdialog.h
/home/sean/Build/iw/qtopia-core-opensource-src-4.3.0beta/bin/uic
dialogs/qprintpropertiesdialog.ui -o
.uic/release-shared-emb-arm/ui_qprintpropertiesdialog.h
arm-xscale-linux-gnueabi-g++ -c -mcpu=iwmmxt -pipe -I/home/sean/tslib/
-fno-exceptions -O2 -fvisibility=hidden -fvisibility-inlines-hidden
-Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
-DQT_RASTER_IMAGEENGINE -DQT_RASTER_PAINTENGINE -DQT_HAVE_IWMMXT
-DQT_NO_FONTCONFIG -DFT2_BUILD_LIBRARY -DFT_CONFIG_OPTION_SYSTEM_ZLIB
-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/qws/linux-xscale-linux-gnueabi-g++ -I.
-I../../include/QtCore -I../../include/QtCore -I../../include
-I../../include/QtGui -I../3rdparty/libpng -I../3rdparty/zlib
-I../3rdparty/freetype/src -I../3rdparty/freetype/include
-I../3rdparty/freetype/builds/unix -I../3rdparty/harfbuzz/src
-I../../include/QtNetwork -I.moc/release-shared-emb-arm
-I.uic/release-shared-emb-arm -I../../include/QtCore
-I../../include/QtCore -I../../include -I../../include/QtGui
-I../3rdparty/libpng -I../3rdparty/zlib -I../3rdparty/freetype/src
-I../3rdparty/freetype/include -I../3rdparty/freetype/builds/unix
-I../3rdparty/harfbuzz/src -I../../include/QtNetwork
-I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm
painting/qdrawhelper_x86.cpp -o
.obj/release-shared-emb-arm/qdrawhelper_x86.o
/opt/OSELAS.Toolchain-1.1.0/arm-xscale-linux-gnueabi/gcc-4.1.1-glibc-2.5-kernel-2.6.18/lib/gcc/arm-xscale-linux-gnueabi/4.1.1/include/mmintrin.h:
In function 'void comp_func_solid_Clear(uint*, int, uint, uint)':
/opt/OSELAS.Toolchain-1.1.0/arm-xscale-linux-gnueabi/gcc-4.1.1-glibc-2.5-kernel-2.6.18/lib/gcc/arm-xscale-linux-gnueabi/4.1.1/include/mmintrin.h:529:
internal compiler error: in arm_expand_binop_builtin, at
config/arm/arm.c:12543
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [.obj/release-shared-emb-arm/qdrawhelper_x86.o] Error 1
make[1]: Leaving directory
`/home/sean/Build/iw/qtopia-core-opensource-src-4.3.0beta/src/gui'
make: *** [sub-gui-make_default-ordered] Error 2


Sean

--
 [ signature omitted ] 

Message 2 in thread

Am 02.04.2007 um 07:49 schrieb Sean Kelley:

> I get a consistent compiler error when trying to build Qtopia 4.3 Beta
> with -wmmxt enabled using the following compilers:
>
>
> arm-iwmmx-linux-gnueabi
> gcc-4.2-20070207-glibc-2.5-kernel-2.6.18
> gcc-4.1.2-glibc-2.5-kernel-2.6.18
> gcc-4.1.1-glibc-2.5-kernel-2.6.18
>
> arm-xscale-linux-gnueabi
> gcc-4.1.1-glibc-2.5-kernel-2.6.18
>
> Here is an example configuration:
>
> ./configure -no-accessibility -no-qt3support -embedded arm -qvfb
> -qt-gfx-vnc --prefix=/usr/local/Trolltech/Qtopia-iwmmxt -iwmmxt
> -little-endian -xplatform qws/linux-iwmmx-linux-gnueabi-g++
> -qt-mouse-tslib -I/home/sean/tslib/ -L/home/sean/tslib/
>
> Here is the error - note I get this error every time if -iwmmxt is  
> turned on

Hi,

try using an EABI toolchain generated from OE, or try using -Os or - 
O0 instead of -O2 and see if it compiles then. Afterwards try to  
write a minimal test case and file a bug report at http://gcc.gnu.org/ 
bugs.html.


z.

--
 [ signature omitted ]