summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-16 20:52:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-18 10:56:55 +0100
commitb580a51baa4f2d402d5e88646cc5f327b39f74e4 (patch)
tree3b9ee6c8796d78930390d3c83819481468c3c681
parent7e8056d96ebe85d72bc4cb961e5766968db2ece2 (diff)
downloadpoky-b580a51baa4f2d402d5e88646cc5f327b39f74e4.tar.gz
libgcc/gcc-runtime: Disable thumb mode on armv6
Without this the build fails for armv6t targets due to invalid assembler instructions in thumb mode. [YOCTO #12929] (From OE-Core rev: 801141be68e5c754f2cd1d80d13982f037fc03e5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime_8.2.bb2
-rw-r--r--meta/recipes-devtools/gcc/libgcc-initial_8.2.bb3
-rw-r--r--meta/recipes-devtools/gcc/libgcc_8.2.bb3
3 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_8.2.bb b/meta/recipes-devtools/gcc/gcc-runtime_8.2.bb
index fe787174e8..a1c7a76d0b 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_8.2.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_8.2.bb
@@ -8,3 +8,5 @@ FILES_libgomp-dev += "\
8 ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/openacc.h \ 8 ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/openacc.h \
9" 9"
10 10
11# Building with thumb enabled on armv6t fails
12ARM_INSTRUCTION_SET_armv6 = "arm"
diff --git a/meta/recipes-devtools/gcc/libgcc-initial_8.2.bb b/meta/recipes-devtools/gcc/libgcc-initial_8.2.bb
index 19f253fce8..0c698c26ec 100644
--- a/meta/recipes-devtools/gcc/libgcc-initial_8.2.bb
+++ b/meta/recipes-devtools/gcc/libgcc-initial_8.2.bb
@@ -1,2 +1,5 @@
1require recipes-devtools/gcc/gcc-${PV}.inc 1require recipes-devtools/gcc/gcc-${PV}.inc
2require libgcc-initial.inc 2require libgcc-initial.inc
3
4# Building with thumb enabled on armv6t fails
5ARM_INSTRUCTION_SET_armv6 = "arm"
diff --git a/meta/recipes-devtools/gcc/libgcc_8.2.bb b/meta/recipes-devtools/gcc/libgcc_8.2.bb
index a5152f28e9..ea210a1130 100644
--- a/meta/recipes-devtools/gcc/libgcc_8.2.bb
+++ b/meta/recipes-devtools/gcc/libgcc_8.2.bb
@@ -1,2 +1,5 @@
1require recipes-devtools/gcc/gcc-${PV}.inc 1require recipes-devtools/gcc/gcc-${PV}.inc
2require libgcc.inc 2require libgcc.inc
3
4# Building with thumb enabled on armv6t fails
5ARM_INSTRUCTION_SET_armv6 = "arm"