Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, January 2008
compilation failure for SH4 target


Message 1 in thread

Hi,

I am trying out the QtopiaCore 4.4.0-tp1 release (as a static library)
and it successfully compiles for x86 targets. I am now trying to cross
compile for SH4 (I have got 4.3.3 working without any problems).

Configuration
./configure -embedded sh4 -I
/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include/directfb -I
/opt/STM/STLinux-2.2/devkit/sh4/target/usr/include -no-qt3support
-no-qdbus -nomake examples -nomake demos -depths 32,24,16,8 -prefix
/usr/local/Trolltech/QtopiaCore-4.4.0-tp1-sh4-static -static -debug

Compilation
<snip>
cd src/gui/ && gmake -f Makefile
/home/richard/work/stlinux-2.2/rpm/BUILD/qtopia-core-preview-opensource-src-4.4.0-tp1/bin/qmake
-spec ../../mkspecs/qws/linux-sh4-g++ -unix -o Makefile gui.pro
/home/richard/work/stlinux-2.2/rpm/BUILD/qtopia-core-preview-opensource-src-4.4.0-tp1/bin/uic
dialogs/qprintsettingsoutput.ui -o
.uic/debug-static-emb-sh4/ui_qprintsettingsoutput.h
Warning: name verticalSpacer is already used
'duplex' isn't a valid widget
/home/richard/work/stlinux-2.2/rpm/BUILD/qtopia-core-preview-opensource-src-4.4.0-tp1/bin/uic
dialogs/qprintwidget.ui -o .uic/debug-static-emb-sh4/ui_qprintwidget.h
/home/richard/work/stlinux-2.2/rpm/BUILD/qtopia-core-preview-opensource-src-4.4.0-tp1/bin/uic
dialogs/qpagesetupwidget.ui -o
.uic/debug-static-emb-sh4/ui_qpagesetupwidget.h
gmake[1]: *** [.uic/debug-static-emb-sh4/ui_qpagesetupwidget.h]
Segmentation fault
gmake[1]: *** Deleting file `.uic/debug-static-emb-sh4/ui_qpagesetupwidget.h'
gmake: *** [sub-gui-make_default-ordered] Error 2

Richard

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 2 in thread

Hello,

On Jan 7, 2008, at 18:10 , Richard Marsh wrote:

> Hi,
>
> I am trying out the QtopiaCore 4.4.0-tp1 release (as a static library)
> and it successfully compiles for x86 targets. I am now trying to cross
> compile for SH4 (I have got 4.3.3 working without any problems).
>
> Configuration
> ./configure -embedded sh4 -I
> /opt/STM/STLinux-2.2/devkit/sh4/target/usr/include/directfb -I
> /opt/STM/STLinux-2.2/devkit/sh4/target/usr/include -no-qt3support
> -no-qdbus -nomake examples -nomake demos -depths 32,24,16,8 -prefix
> /usr/local/Trolltech/QtopiaCore-4.4.0-tp1-sh4-static -static -debug
>
> Compilation
> <snip>
> cd src/gui/ && gmake -f Makefile
> /home/richard/work/stlinux-2.2/rpm/BUILD/qtopia-core-preview- 
> opensource-src-4.4.0-tp1/bin/qmake
> -spec ../../mkspecs/qws/linux-sh4-g++ -unix -o Makefile gui.pro
> /home/richard/work/stlinux-2.2/rpm/BUILD/qtopia-core-preview- 
> opensource-src-4.4.0-tp1/bin/uic
> dialogs/qprintsettingsoutput.ui -o
> .uic/debug-static-emb-sh4/ui_qprintsettingsoutput.h
> Warning: name verticalSpacer is already used
> 'duplex' isn't a valid widget
> /home/richard/work/stlinux-2.2/rpm/BUILD/qtopia-core-preview- 
> opensource-src-4.4.0-tp1/bin/uic
> dialogs/qprintwidget.ui -o .uic/debug-static-emb-sh4/ui_qprintwidget.h
> /home/richard/work/stlinux-2.2/rpm/BUILD/qtopia-core-preview- 
> opensource-src-4.4.0-tp1/bin/uic
> dialogs/qpagesetupwidget.ui -o
> .uic/debug-static-emb-sh4/ui_qpagesetupwidget.h
> gmake[1]: *** [.uic/debug-static-emb-sh4/ui_qpagesetupwidget.h]
> Segmentation fault
> gmake[1]: *** Deleting file `.uic/debug-static-emb-sh4/ 
> ui_qpagesetupwidget.h'
> gmake: *** [sub-gui-make_default-ordered] Error 2

it looks like uic is crashing, it seems to be unrelated to the SH4  
target since uic is bootstrapped to run on the host.

I suggest you run uic in gdb and post a backtrace to this list:

cd /path/to/where/uic/crashed
gdb /home/richard/work/stlinux-2.2/rpm/BUILD/qtopia-core-preview- 
opensource-src-4.4.0-tp1/bin/uic

and then

r dialogs/qpagesetupwidget.ui

after it crashes, type "bt" to get a backtrace.

Best regards,
Harald

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx