Comment 31 for bug 705689

Revision history for this message
Jammy Zhou (jammy-zhou) wrote :

I think I met a similar problem as mentioned in this thread.
What I do:
- use linaro image with toolchain Ubuntu/Linaro 4.5.2-3ubuntu2 on imx51
- apply the IT patch, and build latest mainline qt locally on imx51 with gles2 enabled ("-opengl es2")
- when run qtdemo and some other qt examples, segfault happens (not all qt application crashed, such as hellogl_es2)

But after I replace some qt libraries with debug version (libQtCore, libQtGui, libQtNetwork and libQtScript), the crash disappeared. So I compared the release version and debug version libraries, it seems that there is unpredictable branch in the IT block for release version, but debug version doesn't have that, which is quite strange for me. Take libQtScript for example:

For release version:
root@localhost:/mnt/qt-kde# objdump -d libQtScript.so.4.8.0 |grep unpredictable
   c6cfc: 4770 bxle lr ; unpredictable branch in IT block
   cf608: bf48 it mi ; unpredictable <IT:hi>

For debug version: (with "-debug" configure option when build qt)
root@localhost:/mnt/qt-kde/build/lib# objdump -d libQtScript.so.4.8.0 |grep unpredictable
root@localhost:/mnt/qt-kde/build/lib#