[oe] [PATCH] Do not generate NEON code for qt-4.6.2 embedded on armv6

Valentin Longchamp valentin.longchamp at epfl.ch
Mon Mar 15 17:04:04 UTC 2010


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.
---
 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
 
-- 
1.6.3.3





More information about the Openembedded-devel mailing list