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

Valentin Longchamp valentin.longchamp at epfl.ch
Fri Mar 12 15:29:57 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.
---
 recipes/qt4/qt4-embedded_4.6.2.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/recipes/qt4/qt4-embedded_4.6.2.bb b/recipes/qt4/qt4-embedded_4.6.2.bb
index 94ecd01..2d59609 100644
--- a/recipes/qt4/qt4-embedded_4.6.2.bb
+++ b/recipes/qt4/qt4-embedded_4.6.2.bb
@@ -2,5 +2,7 @@ require qt4-embedded.inc
 
 PR = "${INC_PR}.0"
 
+QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
+
 require qt-${PV}.inc
 
-- 
1.6.3.3





More information about the Openembedded-devel mailing list