Skip to contentSkip to conversation

qtbase: don't use thumb for armv[45]

PATCH New Martin Jansa 1 participant 1 message Jun 22, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qtbase: don't use thumb for armv[45]

* it fails when building with gcc8

---
 recipes-qt/qt5/qtbase_git.bb | 5 +++++
 1 file changed, 5 insertions(+)
recipes-qt/qt5/qtbase_git.bb +5 -0
index 01e5026..0d6d6da 100644
@@ -149,6 +149,11 @@ Prefix=..
 EOF
 }
 
+# Causes qdrawhelper.s: Error: unaligned opcodes detected in executable segment
+# when building qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0/git/src/gui/painting/qdrawhelper.cpp
+ARM_INSTRUCTION_SET_armv4 = "arm"
+ARM_INSTRUCTION_SET_armv5 = "arm"
+
 # qtbase is exception, we need to use mkspecs from ${S}
 QMAKE_MKSPEC_PATH = "${B}"
 
Signature · 1 line
2.17.1