summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-sanitizers_8.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-sanitizers_8.1.bb')
-rw-r--r--meta/recipes-devtools/gcc/gcc-sanitizers_8.1.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers_8.1.bb b/meta/recipes-devtools/gcc/gcc-sanitizers_8.1.bb
index 601f666023..f3c7058114 100644
--- a/meta/recipes-devtools/gcc/gcc-sanitizers_8.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-sanitizers_8.1.bb
@@ -1,2 +1,7 @@
require recipes-devtools/gcc/gcc-${PV}.inc
require gcc-sanitizers.inc
+
+# Building with thumb enabled on armv4t armv5t fails with
+# sanitizer_linux.s:5749: Error: lo register required -- `ldr ip,[sp],#8'
+ARM_INSTRUCTION_SET_armv4 = "arm"
+ARM_INSTRUCTION_SET_armv5 = "arm"