[oe] Qt and detecting iWMMXT

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Sat Sep 25 14:21:36 UTC 2010


Holger Freyther <holger+oe at freyther.de> writes:

> when building for XScale one could pass -iwmmxt to the configure
> script. 

I would avoid -march=iwmmxt because

a) there seems to be kernel bug which does not restore IWMMXT state on
   ELF loading[1]

b) gcc 4.4.4 is bugged for this architecture (both ICE and generation of
   inefficent code) and fails e.g. to bootstrap itself or glibc


When you really need iwmmxt support, I recommend to add '.arch iwmmxt'
to (inline) assembler instead of using -march=iwmmxt.


Enrico

Footnotes: 
[1]  http://article.gmane.org/gmane.linux.ports.arm.general/11795




More information about the Openembedded-devel mailing list