[oe-commits] Valentin Longchamp : Do not generate NEON code for qt-4.6. 2 embedded on armv6

git version control git at git.openembedded.org
Mon Mar 15 19:26:53 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: ebac0f7b1b6287ca0d6315176a6070b013836032
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ebac0f7b1b6287ca0d6315176a6070b013836032

Author: Valentin Longchamp <valentin.longchamp at epfl.ch>
Date:   Mon Mar 15 07:04:04 2010 +0000

Do not generate NEON code for qt-4.6.2 embedded on armv6

http://bugreports.qt.nokia.com/browse/QTBUG-8749
Neon code is generated for armv6 processor, where it should be armv7 only.
This results in illegal instructions with some of the qt4 libraries.

The current solution is not optimal, I just needed a quick fix for my arch
and I don't have the needed knowledge in OE to fix it cleanly, but I wanted
to point this issue out. But at least other arch (armv5 and armv4) should have
the same problem and receive the same fix.

Signed-off-by: Koen Kooi <koen at openembedded.org>

---

 recipes/qt4/qt4-embedded_4.6.2.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/qt4/qt4-embedded_4.6.2.bb b/recipes/qt4/qt4-embedded_4.6.2.bb
index 94ecd01..8583752 100644
--- a/recipes/qt4/qt4-embedded_4.6.2.bb
+++ b/recipes/qt4/qt4-embedded_4.6.2.bb
@@ -1,6 +1,8 @@
 require qt4-embedded.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
+
+QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
 
 require qt-${PV}.inc
 





More information about the Openembedded-commits mailing list