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

Koen Kooi k.kooi at student.utwente.nl
Mon Mar 15 17:15:08 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

thanks, applied

On 15-03-10 18: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.
> ---
>  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
>  

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLnmscMkyGM64RGpERAickAJ9VD453KacoX2EDcQWeFgZG2vDPIgCfWjL6
oYTOJp08SjqM/PFpJBWkplM=
=ge+P
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list