[Milkymist-devel] Qt4

Sébastien Bourdeauducq sebastien.bourdeauducq at lekernel.net
Sun Jan 31 11:20:15 PST 2010


Hi,

I tried running Qt 4.5.0 demo and examples applications on Milkymist lately. 
It makes a good stress-test to run such complex pieces of software.
Patches for Blackfin (that I used as a base) are available at:
http://blackfin.uclinux.org/git/?p=readonly-mirrors/uclinux-
dist.git;a=tree;f=lib/qt-
embedded/patches;h=f995a8b1dff62a931a23e3c23de30d2296c5a8db;hb=refs/heads/trunk

It does not work and exposes several problems in the Linux port:
* As Theo de Raadt would say, Theobroma's executable loader sucks dead whale 
farts through the finest chemistry pipette's. C++ seems to emit (undocumented, 
but that's another problem) R_LM32_16_GOT relocations that crash it. It is 
broken, really. We do need uClinux/GCC/binutils/uClibc experts to write a 
proper loader from scratch.
* Most of the (big) produced binaries do not start at all because the nommu 
allocator fails to find a chunk of memory which is large enough for them. Have 
to check how Blackfin Linux deals with that.
* GCC runs into an endless loop while trying to compile one file related to 
Webkit. I was using version 4.2.1, let's hope that newer versions work better.

The good news, however, is that most of it compiles.

Sébastien


More information about the Devel mailing list