Do not generate NEON code for qt-4.6.2 embedded
PATCH 1/1 Do not generate NEON code for qt-4.6.2 embedded
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(-)
recipes/qt4/qt4-embedded_4.6.2.bb +2 -0
@@ -2,5 +2,7 @@ require qt4-embedded.inc PR = "${INC_PR}.0" +QT_CONFIG_FLAGS_append_armv6 = " -no-neon " + require qt-${PV}.inc
Signature · 1 line
1.6.3.3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 7 lines · Valentin Longchamp
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.
Thanks for looking into this, could you please redo this patch with a PR increase so distributions get the update automatically?
regards,
Koen
Quoted 9 lines
--- recipes/qt4/qt4-embedded_4.6.2.bb | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)recipes/qt4/qt4-embedded_4.6.2.bb +0
-0
recipes/qt4/qt4-embedded_4.6.2.bb require qt4-embedded.inc · line 8
Quoted 7 lines
recipes/qt4/qt4-embedded_4.6.2.bb +2
-0@@ -2,5 +2,7 @@ require qt4-embedded.inc PR = "${INC_PR}.0" +QT_CONFIG_FLAGS_append_armv6 = " -no-neon " + require qt-${PV}.inc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLmm9ZMkyGM64RGpERAnhkAJ4juTtN1P8CFWLeAjgQ0Mweon/WGQCgrhvN vxsU6USZPP5CTP6ka7TTXDQ=
=Nf3F
-----END PGP SIGNATURE-----
PATCH 1/1 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.
--- recipes/qt4/qt4-embedded_4.6.2.bb | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
recipes/qt4/qt4-embedded_4.6.2.bb +3 -1
@@ -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
Signature · 1 line
1.6.3.3
Koen Kooi
AppliedRe: [PATCH] Do not generate NEON code for qt-4.6.2 embedded on armv6
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
thanks, applied
Quoted 17 lines · Valentin Longchamp
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(-)recipes/qt4/qt4-embedded_4.6.2.bb +0
-0
recipes/qt4/qt4-embedded_4.6.2.bb line 8
Quoted 9 lines
recipes/qt4/qt4-embedded_4.6.2.bb +3
-1@@ -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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLnmscMkyGM64RGpERAickAJ9VD453KacoX2EDcQWeFgZG2vDPIgCfWjL6 oYTOJp08SjqM/PFpJBWkplM=
=ge+P
-----END PGP SIGNATURE-----
Re: [PATCH] Do not generate NEON code for qt-4.6.2 embedded on armv6
In reply to Valentin LongchampQuoted 8 lines · On Monday 15 March 2010 18:04:04 Valentin Longchamp wrote:
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.
Well... then maybe this should be fixed differently then?
Re: [PATCH] Do not generate NEON code for qt-4.6.2 embedded on armv6
Quoted 11 lines · Holger Hans Peter Freyther
Quoted 8 lines · On Monday 15 March 2010 18:04:04 Valentin Longchamp wrote:
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.
Well... then maybe this should be fixed differently then?
probably disable neon by default in qt build system and only enable it for architectures that support
neon will make it work better with default option set for older arms. One could also ask compiler
at build time but then it would be autoconf like :)
-Khem
Quoted 7 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel