diff mbox series

[meta-arago,master] conf: arago.conf: Set DEFAULTTUNE for armv7a to fix qtbase build issue

Message ID 20250520214610.17242-1-reatmon@ti.com
State New
Headers show
Series [meta-arago,master] conf: arago.conf: Set DEFAULTTUNE for armv7a to fix qtbase build issue | expand

Commit Message

Ryan Eatmon May 20, 2025, 9:46 p.m. UTC
There is a build issue with qtbase on armv7a platforms.  It looks like
th compiler is trying to create assembly calls that are missing ARM
registers:

{standard input}: Assembler messages:
{standard input}:7280: Error: ARM register expected -- `ldrex r1,[s16]'
{standard input}:7282: Error: ARM register expected -- `strex r2,r1,[s16]'

Changing the DEFAULTUNE to not use the neon extensions seems to fix the
issue.  We are going to temporarily carry an override for the amv7a
platforms to lower the tune.  We are working to recreate this issue on
poky so that we can submit bug reports to try and get this fixed.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 meta-arago-distro/conf/distro/arago.conf | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf
index 6287cc44..f74d13ad 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -142,3 +142,8 @@  SKIP_META_VIRT_SANITY_CHECK = "1"
 # included by default. If you enable any of those codecs you should check
 # if the below acceptance flags still work for your software distribution
 LICENSE_FLAGS_ACCEPTED = "commercial_ffmpeg commercial_gstreamer1.0-libav"
+
+# Temporary hack to fix a compile issue on Armv7 platforms with qtbase.
+# We are working to reproduce this error and submit bug reports for this
+# issue.
+DEFAULTTUNE:armv7a = "armv7athf"